Home
last modified time | relevance | path

Searched refs:USER_P0 (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java88 assertEquals(USER_0, mService.getParentOrSelfUserId(USER_P0)); in testGetParentOrSelfUserId()
113 actual = mProcessor.getRequestPinConfirmationActivity(USER_P0, in testIsRequestPinShortcutSupported()
130 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testIsRequestPinShortcutSupported()
150 assertNull(mProcessor.getRequestPinConfirmationActivity(USER_P0, in testIsRequestPinShortcutSupported()
163 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testIsRequestPinShortcutSupported()
200 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testRequestPinShortcut_notSupported()
225 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testNotForeground()
257 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in checkRequestPinShortcut()
311 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in checkRequestPinShortcut()
338 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testRequestPinShortcut_explicitTargetActivity()
[all …]
DShortcutManagerTest10.java55 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_noDefaultLauncher()
64 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_validResult()
79 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned()
87 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned()
101 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
111 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
127 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
DShortcutManagerTest9.java93 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testNotForeground()
98 null /* extras */, null /* resultIntent= */, USER_P0); in testNotForeground()
111 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in checkRequestPinAppWidget()
115 resultIntent == null ? null : resultIntent.getIntentSender(), USER_P0)); in checkRequestPinAppWidget()
DShortcutManagerTest1.java652 setCaller(CALLING_PACKAGE_1, USER_P0); in testIcons()
691 list(getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "res32x32", USER_P0))), in testIcons()
694 list(getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "bmp32x32", USER_P0))), in testIcons()
736 getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "res32x32", USER_P0))); in testIcons()
739 getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "bmp32x32", USER_P0))); in testIcons()
1494 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testGetShortcuts_resolveStrings()
2243 runWithCaller(LAUNCHER_1, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2251 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2333 runWithCaller(LAUNCHER_1, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2381 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
[all …]
DBaseShortcutManagerTest.java649 protected static final int USER_P0 = 20; // profile of user 0 (MANAGED_PROFILE *not* set) field in BaseShortcutManagerTest
655 protected static final UserHandle HANDLE_USER_P0 = UserHandle.of(USER_P0);
677 new UserInfo(USER_P0, "userP0", UserInfo.FLAG_INITIALIZED), 0);
807 mUserInfos.put(USER_P0, USER_INFO_P0); in setUp()
862 mRunningUsers.put(USER_P0, true); in setUp()
869 mUnlockedUsers.put(USER_P0, true); in setUp()
2010 for (int userId : list(USER_0, USER_P0)) {
2054 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> {
2096 runWithCaller(LAUNCHER_1, USER_P0, () -> {
2127 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> {
DShortcutManagerTest2.java1582 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> {
1639 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground()
1663 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground()
1687 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground()
1717 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground()
1750 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground()
1813 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground()
1858 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_resetByInternalCall()
1881 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_resetByInternalCall()
1902 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_resetByInternalCall()
[all …]