/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
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 | 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 | ShortcutManagerTest7.java | 125 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling() 128 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling() 135 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling() 138 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling() 146 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 149 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_not_running() 163 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running() 166 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_not_running() 174 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running() 177 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling_user_running() [all …]
|
D | ShortcutManagerTest1.java | 328 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testSetDynamicShortcuts() 376 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testAddDynamicShortcuts() 417 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity() 521 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testPublishWithNoActivity_noMainActivityInPackage() 774 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testCleanupDanglingBitmaps() 785 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testCleanupDanglingBitmaps() 796 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { in testCleanupDanglingBitmaps() 804 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testCleanupDanglingBitmaps() 811 runWithCaller(CALLING_PACKAGE_2, USER_10, () -> { in testCleanupDanglingBitmaps() 818 runWithCaller(CALLING_PACKAGE_3, USER_10, () -> { in testCleanupDanglingBitmaps() [all …]
|
D | ShortcutManagerTest2.java | 1570 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1573 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { 1576 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { 1579 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> { 1582 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 1585 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { 1591 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1598 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1608 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 1627 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 | 1288 protected void runWithCaller(String packageName, int userId, Runnable r) { in runWithCaller() method in BaseShortcutManagerTest 1865 runWithCaller(launcher, userId, () -> { 2036 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { 2041 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { 2046 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { 2051 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> { 2054 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { 2059 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { 2065 runWithCaller(LAUNCHER_1, USER_0, () -> { 2072 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()
|