/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest10.java | 55 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_noDefaultLauncher() 64 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_validResult() 70 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_validResult() 79 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned() 83 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned() 87 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinned() 93 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned() 101 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 106 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 111 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 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 | 124 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling() 127 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling() 134 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling() 137 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling() 145 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 148 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_not_running() 162 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 165 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_not_running() 173 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running() 176 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_running() [all …]
|
D | ShortcutManagerTest1.java | 311 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testSetDynamicShortcuts() 359 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testAddDynamicShortcuts() 369 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity() 473 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity_noMainActivityInPackage() 726 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testCleanupDanglingBitmaps() 737 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testCleanupDanglingBitmaps() 748 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { in testCleanupDanglingBitmaps() 756 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testCleanupDanglingBitmaps() 763 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testCleanupDanglingBitmaps() 770 runWithCaller(CALLING_PACKAGE_3, USER_10, () -> { in testCleanupDanglingBitmaps() [all …]
|
D | ShortcutManagerTest2.java | 1507 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1510 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { 1513 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { 1516 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> { 1519 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 1522 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { 1528 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1535 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1545 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1564 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testThrottling_foreground() [all …]
|
D | ShortcutManagerTest4.java | 106 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters() 117 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
|
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 | BaseShortcutManagerTest.java | 1225 protected void runWithCaller(String packageName, int userId, Runnable r) { in runWithCaller() method in BaseShortcutManagerTest 1759 runWithCaller(launcher, userId, () -> { 1930 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1935 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { 1940 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { 1945 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> { 1948 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 1953 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { 1959 runWithCaller(LAUNCHER_1, USER_0, () -> { 1966 runWithCaller(LAUNCHER_2, USER_0, () -> { [all …]
|
D | ShortcutManagerTest3.java | 292 runWithCaller(LAUNCHER_1, USER_0, () -> { in testUpdateShortcuts_noManifestShortcuts() 401 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDeleteDynamicShortcuts_noManifestShortcuts() 476 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDisableShortcuts_noManifestShortcuts()
|