Searched refs:LAUNCHER_2 (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest10.java | 103 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother() 130 setDefaultLauncher(USER_0, LAUNCHER_2); in testCreateShortcutResult_defaultLauncherChanges() 132 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges() 176 runWithCaller(LAUNCHER_2, USER_0, () -> in testStartConfigActivity_nonDefaultLauncher()
|
H A D | ShortcutManagerTest8.java | 96 setDefaultLauncher(USER_10, LAUNCHER_2); in testIsRequestPinShortcutSupported() 139 !LAUNCHER_2.equals(packageName) in testIsRequestPinShortcutSupported() 176 !LAUNCHER_2.equals(packageName) in testRequestPinShortcut_notSupported() 256 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinShortcut() 341 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_explicitTargetActivity() 415 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_noTargetActivity_noMainActivity() 858 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother() 920 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother() 1422 setDefaultLauncher(USER_0, LAUNCHER_2); in testRequestPinShortcut_dynamicExists_thenDisabled_error() 1423 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_dynamicExists_thenDisabled_error() [all …]
|
H A D | ShortcutManagerTest1.java | 1938 setCaller(LAUNCHER_2); in testGetShortcuts() 2577 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi() 2663 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi() 2762 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi() 2801 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_assistant() 4188 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCleanupPackage() 4393 uninstallPackage(USER_10, LAUNCHER_2); in testCleanupPackage() 5846 installPackage(USER_0, LAUNCHER_2); in checkBackupAndRestore_success() 6016 installPackage(USER_0, LAUNCHER_2); in checkBackupAndRestore_publisherNotRestored() 6151 installPackage(USER_0, LAUNCHER_2); in checkBackupAndRestore_launcherNotRestored() [all …]
|
H A D | ShortcutManagerTest9.java | 112 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinAppWidget()
|
H A D | BaseShortcutManagerTest.java | 729 protected static final String LAUNCHER_2 = "com.android.launcher.2"; field in BaseShortcutManagerTest 780 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage) 888 addPackage(LAUNCHER_2, LAUNCHER_UID_2, 5); in setUp() 1276 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledApplications() 1297 addPackageInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledPackagesWithUninstalled() 2204 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) { 2264 runWithCaller(LAUNCHER_2, USER_0, () -> {
|