/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest11.java | 57 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts() 84 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 118 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 126 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 153 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts() 176 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts_unpinOthers() 185 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts_unpinOthers() 217 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_cacheShortcuts() 246 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_cacheShortcuts_alreadyCached() 279 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_uncacheShortcuts() [all …]
|
H A D | ShortcutManagerTest8.java | 276 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinShortcut() 351 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_explicitTargetActivity() 433 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_noTargetActivity_noMainActivity() 495 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_dynamicExists() 550 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_manifestExists() 602 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinned() 631 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinned() 680 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinned() 711 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinned() 762 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_wasDynamic_alreadyPinned() [all …]
|
H A D | ShortcutManagerTest10.java | 57 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_validResult() 63 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_validResult() 76 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned() 86 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned() 99 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 110 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 128 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges() 134 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges() 143 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges() 164 runWithCaller(LAUNCHER_1, USER_0, () -> in testStartConfigActivity_defaultLauncher() [all …]
|
H A D | ShortcutManagerTest7.java | 131 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling() 134 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling() 141 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling() 152 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 169 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 180 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running() 193 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running() 204 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetAllThrottling() 214 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetAllThrottling() 292 runWithCaller(LAUNCHER_1, USER_10, () -> { in testClearShortcuts() [all …]
|
H A D | ShortcutManagerTest1.java | 522 runWithCaller(LAUNCHER_1, USER_0, () -> { in testPushDynamicShortcut() 1488 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutManagerGetShortcuts_shortcutTypes() 1494 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutManagerGetShortcuts_shortcutTypes() 1572 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts() 1578 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts() 1607 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts() 1616 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts() 1622 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts() 1630 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts() 1655 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts_accessShortcutsPermission() [all …]
|
H A D | ShortcutManagerTest2.java | 1758 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1761 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { 1764 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { 1767 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> { 1779 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1786 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1796 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1815 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testThrottling_foreground() 1818 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground() 1821 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { in testThrottling_foreground() [all …]
|
H A D | ShortcutManagerTest12.java | 34 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> in testGetShortcutIntents_ReturnsMutablePendingIntents() 38 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcutIntents_ReturnsMutablePendingIntents()
|
H A D | ShortcutManagerTest9.java | 93 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testNotForeground() 111 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in checkRequestPinAppWidget() 120 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinAppWidget()
|
H A D | ShortcutManagerTest4.java | 117 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters() 128 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
|
H A D | BaseShortcutManagerTest.java | 2271 runWithCaller(launcher, userId, () -> { 2445 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 2450 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { 2455 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { 2460 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> { 2474 runWithCaller(LAUNCHER_1, USER_0, () -> { 2481 runWithCaller(LAUNCHER_2, USER_0, () -> { 2490 runWithCaller(LAUNCHER_3, USER_0, () -> { 2497 runWithCaller(LAUNCHER_4, USER_0, () -> { 2505 runWithCaller(LAUNCHER_1, USER_P0, () -> { [all …]
|
H A D | ShortcutManagerTest3.java | 299 runWithCaller(LAUNCHER_1, USER_0, () -> { in testUpdateShortcuts_noManifestShortcuts() 408 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDeleteDynamicShortcuts_noManifestShortcuts() 483 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDisableShortcuts_noManifestShortcuts()
|