Home
last modified time | relevance | path

Searched refs:LAUNCHER_1 (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest10.java59 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_validResult()
67 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_validResult()
74 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_alreadyPinned()
80 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned()
90 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned()
107 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_alreadyPinnedByAnother()
114 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
122 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_defaultLauncherChanges()
167 setDefaultLauncher(USER_0, LAUNCHER_1); in testStartConfigActivity_defaultLauncher()
168 runWithCaller(LAUNCHER_1, USER_0, () -> in testStartConfigActivity_defaultLauncher()
[all …]
H A DShortcutManagerTest8.java95 setDefaultLauncher(USER_0, LAUNCHER_1); in testIsRequestPinShortcutSupported()
173 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_notSupported()
226 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground()
255 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinShortcut()
340 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_explicitTargetActivity()
396 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_wrongTargetActivity()
414 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_noTargetActivity_noMainActivity()
479 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_dynamicExists()
537 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_manifestExists()
594 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_dynamicExists_alreadyPinned()
[all …]
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 DShortcutManagerTest1.java854 setCaller(LAUNCHER_1); in testIcons()
1767 setCaller(LAUNCHER_1); in testGetShortcuts()
1903 setCaller(LAUNCHER_1); in testGetShortcuts()
2119 setCaller(LAUNCHER_1); in testGetShortcuts_personsFlag()
2192 setCaller(LAUNCHER_1); in testGetShortcutInfo()
2207 setCaller(LAUNCHER_1); in testGetShortcutInfo()
3570 setCaller(LAUNCHER_1, USER_0); in testLauncherCallback()
5636 setCaller(LAUNCHER_1, USER_0); in testHandlePackageUpdate_activityNoLongerMain()
5734 addPackage(LAUNCHER_1, LAUNCHER_UID_1, 4, LAUNCHER_1, "sigy"); in testBackupAndRestore_restoreToSuperSetSignatures()
6091 updatePackageInfo(LAUNCHER_1, in testBackupAndRestore_launcherNoLongerBackupTarget()
[all …]
H A DShortcutManagerTest9.java94 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground()
111 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinAppWidget()
123 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinAppWidget()
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.java61 setDefaultLauncher(USER_0, LAUNCHER_1); in testGetShortcutIntents_ReturnsMutablePendingIntents()
67 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcutIntents_ReturnsMutablePendingIntents()
H A DShortcutManagerTest7.java295 runWithCaller(LAUNCHER_1, USER_10, () -> { in testClearShortcuts()
354 runWithCaller(LAUNCHER_1, USER_10, () -> { in testGetShortcuts()
H A DBaseShortcutManagerTest.java726 protected static final String LAUNCHER_1 = "com.android.launcher.1"; field in BaseShortcutManagerTest
780 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage)
887 addPackage(LAUNCHER_1, LAUNCHER_UID_1, 4); in setUp()
1275 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledApplications()
1296 addPackageInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledPackagesWithUninstalled()
2204 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) {
2257 runWithCaller(LAUNCHER_1, USER_0, () -> {
2288 runWithCaller(LAUNCHER_1, USER_P0, () -> {
2296 runWithCaller(LAUNCHER_1, USER_10, () -> {
H A DShortcutManagerTest2.java1335 setCaller(LAUNCHER_1, USER_0);
1402 setCaller(LAUNCHER_1, USER_0);
1472 setCaller(LAUNCHER_1, USER_0);