/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest8.java | 88 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 …]
|
D | ShortcutManagerTest10.java | 57 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_validResult() 72 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned() 80 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned() 94 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 104 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 120 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
|
D | ShortcutManagerTest9.java | 93 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()
|
D | ShortcutManagerTest1.java | 833 setCaller(CALLING_PACKAGE_1, USER_P0); in testIcons() 884 list(getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "res32x32", USER_P0))), in testIcons() 887 list(getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "bmp32x32", USER_P0))), in testIcons() 929 getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "res32x32", USER_P0))); in testIcons() 932 getShortcutInfoAsLauncher(CALLING_PACKAGE_1, "bmp32x32", USER_P0))); in testIcons() 2067 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testGetShortcuts_resolveStrings() 2863 runWithCaller(LAUNCHER_1, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() 2871 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() 2953 runWithCaller(LAUNCHER_1, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() 3001 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() [all …]
|
D | ShortcutManagerTest2.java | 1770 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 1827 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground() 1852 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground() 1877 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground() 1910 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground() 1945 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground() 2009 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_foreground() 2054 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_resetByInternalCall() 2077 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_resetByInternalCall() 2098 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testThrottling_resetByInternalCall() [all …]
|
D | BaseShortcutManagerTest.java | 992 protected static final int USER_P0 = 20; // profile of user 0 (MANAGED_PROFILE *not* set) field in BaseShortcutManagerTest 998 protected static final UserHandle HANDLE_USER_P0 = UserHandle.of(USER_P0); 1020 new UserInfo(USER_P0, "userP0", UserInfo.FLAG_INITIALIZED), 0); 1160 mUserInfos.put(USER_P0, USER_INFO_P0); in setUp() 1215 mRunningUsers.put(USER_P0, true); in setUp() 1222 mUnlockedUsers.put(USER_P0, true); in setUp() 2417 for (int userId : list(USER_0, USER_P0)) { 2463 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 2505 runWithCaller(LAUNCHER_1, USER_P0, () -> { 2536 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> {
|