Home
last modified time | relevance | path

Searched refs:LAUNCHER_2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java99 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
126 setDefaultLauncher(USER_0, LAUNCHER_2); in testCreateShortcutResult_defaultLauncherChanges()
128 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
172 runWithCaller(LAUNCHER_2, USER_0, () -> in testStartConfigActivity_nonDefaultLauncher()
DShortcutManagerTest8.java93 setDefaultLauncher(USER_10, LAUNCHER_2); in testIsRequestPinShortcutSupported()
108 assertEquals(LAUNCHER_2, actual.first.getPackageName()); in testIsRequestPinShortcutSupported()
136 !LAUNCHER_2.equals(packageName) in testIsRequestPinShortcutSupported()
143 assertEquals(LAUNCHER_2, actual.first.getPackageName()); in testIsRequestPinShortcutSupported()
173 !LAUNCHER_2.equals(packageName) in testRequestPinShortcut_notSupported()
253 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinShortcut()
336 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_explicitTargetActivity()
410 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_noTargetActivity_noMainActivity()
853 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_dynamicExists_alreadyPinnedByAnother()
915 runWithCaller(LAUNCHER_2, USER_0, () -> { in testRequestPinShortcut_manifestExists_alreadyPinnedByAnother()
[all …]
DShortcutManagerTest1.java1933 setCaller(LAUNCHER_2); in testGetShortcuts()
2572 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi()
2658 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi()
2757 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi()
2796 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_assistant()
2808 mInternal.setShortcutHostPackage("assistant", LAUNCHER_2, USER_0); in testPinShortcutAndGetPinnedShortcuts_assistant()
2824 mInternal.setShortcutHostPackage("assistant", LAUNCHER_2, USER_0); in testPinShortcutAndGetPinnedShortcuts_assistant()
2871 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2879 runWithCaller(LAUNCHER_2, USER_10, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
3001 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
[all …]
DShortcutManagerTest9.java109 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinAppWidget()
DBaseShortcutManagerTest.java980 protected static final String LAUNCHER_2 = "com.android.launcher.2"; field in BaseShortcutManagerTest
1028 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage)
1137 addPackage(LAUNCHER_2, LAUNCHER_UID_2, 5); in setUp()
1528 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledApplications()
1549 addPackageInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledPackagesWithUninstalled()
2419 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) {
2481 runWithCaller(LAUNCHER_2, USER_0, () -> {