Home
last modified time | relevance | path

Searched refs:runWithCaller (Results 1 – 11 of 11) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest11.java57 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 DShortcutManagerTest8.java276 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 DShortcutManagerTest10.java57 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 DShortcutManagerTest7.java131 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 DShortcutManagerTest1.java522 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 DShortcutManagerTest2.java1758 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 DShortcutManagerTest12.java34 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> in testGetShortcutIntents_ReturnsMutablePendingIntents()
38 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcutIntents_ReturnsMutablePendingIntents()
H A DShortcutManagerTest9.java93 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 DShortcutManagerTest4.java117 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
128 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
H A DBaseShortcutManagerTest.java2271 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 DShortcutManagerTest3.java299 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()