/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest11.java | 57 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts() 62 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts() 79 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 84 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 89 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 113 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 118 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 126 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 131 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() 148 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts() [all …]
|
D | ShortcutManagerTest10.java | 57 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_validResult() 63 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_validResult() 72 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned() 76 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned() 80 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned() 86 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned() 94 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 99 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 104 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 110 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() [all …]
|
D | ShortcutManagerTest8.java | 121 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testIsRequestPinShortcutSupported() 124 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testIsRequestPinShortcutSupported() 127 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testIsRequestPinShortcutSupported() 130 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testIsRequestPinShortcutSupported() 154 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testIsRequestPinShortcutSupported() 157 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testIsRequestPinShortcutSupported() 160 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testIsRequestPinShortcutSupported() 163 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testIsRequestPinShortcutSupported() 176 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testRequestPinShortcut_notSupported() 188 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testRequestPinShortcut_notSupported() [all …]
|
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() 144 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling() 152 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 155 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_not_running() 169 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 172 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_not_running() 180 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running() 183 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_running() [all …]
|
D | ShortcutManagerTest1.java | 347 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testSetDynamicShortcuts() 395 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testAddDynamicShortcuts() 522 runWithCaller(LAUNCHER_1, USER_0, () -> { in testPushDynamicShortcut() 577 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity() 681 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity_noMainActivityInPackage() 989 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testCleanupDanglingBitmaps() 1000 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testCleanupDanglingBitmaps() 1011 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { in testCleanupDanglingBitmaps() 1019 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testCleanupDanglingBitmaps() 1026 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testCleanupDanglingBitmaps() [all …]
|
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, () -> { 1770 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 1773 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { 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() [all …]
|
D | ShortcutManagerTest12.java | 34 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> in testGetShortcutIntents_ReturnsMutablePendingIntents() 38 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcutIntents_ReturnsMutablePendingIntents()
|
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()
|
D | ShortcutManagerTest4.java | 117 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters() 128 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
|
D | BaseShortcutManagerTest.java | 1644 protected void runWithCaller(String packageName, int userId, Runnable r) { in runWithCaller() method in BaseShortcutManagerTest 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, () -> { 2463 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 2468 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { 2474 runWithCaller(LAUNCHER_1, USER_0, () -> { 2481 runWithCaller(LAUNCHER_2, USER_0, () -> { [all …]
|
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()
|