Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest11.java59 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts()
86 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
120 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
128 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
155 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts()
178 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts_unpinOthers()
187 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_pinShortcuts_unpinOthers()
219 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_cacheShortcuts()
248 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
281 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutChangeCallback_uncacheShortcuts()
[all …]
H A DShortcutManagerTest8.java279 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinShortcut()
356 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_explicitTargetActivity()
438 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_noTargetActivity_noMainActivity()
500 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_dynamicExists()
555 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_manifestExists()
607 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinned()
636 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinned()
685 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinned()
716 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinned()
767 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_wasDynamic_alreadyPinned()
[all …]
H A DShortcutManagerTest10.java61 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testCreateShortcutResult_validResult()
67 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_validResult()
80 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned()
90 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned()
103 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
114 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
132 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
138 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
147 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
168 runWithCaller(LAUNCHER_1, USER_0, () -> in testStartConfigActivity_defaultLauncher()
[all …]
H A DShortcutManagerTest7.java134 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling()
137 runWithCaller(CALLING_PACKAGE_1, USER_10, () -> { in testResetThrottling()
144 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling()
155 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running()
172 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_not_running()
183 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running()
196 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetThrottling_user_running()
207 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetAllThrottling()
217 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testResetAllThrottling()
295 runWithCaller(LAUNCHER_1, USER_10, () -> { in testClearShortcuts()
[all …]
H A DShortcutManagerTest1.java527 runWithCaller(LAUNCHER_1, USER_0, () -> { in testPushDynamicShortcut()
1493 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutManagerGetShortcuts_shortcutTypes()
1499 runWithCaller(LAUNCHER_1, USER_0, () -> { in testShortcutManagerGetShortcuts_shortcutTypes()
1577 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts()
1583 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts()
1612 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts()
1621 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts()
1627 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts()
1635 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts()
1660 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCachedShortcuts_accessShortcutsPermission()
[all …]
H A DShortcutManagerTest2.java1807 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> {
1810 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> {
1813 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> {
1816 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> {
1828 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> {
1835 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> {
1845 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> {
1864 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testThrottling_foreground()
1867 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> { in testThrottling_foreground()
1870 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> { in testThrottling_foreground()
[all …]
H A DShortcutManagerTest9.java96 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in testNotForeground()
114 runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> { in checkRequestPinAppWidget()
123 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinAppWidget()
H A DShortcutManagerTest4.java119 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
130 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> { in testPersistingWeirdCharacters()
H A DBaseShortcutManagerTest.java2057 runWithCaller(launcher, userId, () -> {
2228 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> {
2233 runWithCaller(CALLING_PACKAGE_2, USER_0, () -> {
2238 runWithCaller(CALLING_PACKAGE_3, USER_0, () -> {
2243 runWithCaller(CALLING_PACKAGE_4, USER_0, () -> {
2257 runWithCaller(LAUNCHER_1, USER_0, () -> {
2264 runWithCaller(LAUNCHER_2, USER_0, () -> {
2273 runWithCaller(LAUNCHER_3, USER_0, () -> {
2280 runWithCaller(LAUNCHER_4, USER_0, () -> {
2288 runWithCaller(LAUNCHER_1, USER_P0, () -> {
[all …]
H A DShortcutManagerTest3.java302 runWithCaller(LAUNCHER_1, USER_0, () -> { in testUpdateShortcuts_noManifestShortcuts()
411 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDeleteDynamicShortcuts_noManifestShortcuts()
486 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDisableShortcuts_noManifestShortcuts()
H A DShortcutManagerTest12.java63 runWithCaller(CALLING_PACKAGE_1, USER_0, () -> in testGetShortcutIntents_ReturnsMutablePendingIntents()
67 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcutIntents_ReturnsMutablePendingIntents()