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.java106 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
133 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_2, USER_0)); in testCreateShortcutResult_defaultLauncherChanges()
135 runWithCaller(LAUNCHER_2, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
178 runWithCaller(LAUNCHER_2, USER_0, () -> in testStartConfigActivity_nonDefaultLauncher()
DShortcutManagerTest8.java93 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); 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, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); in checkRequestPinShortcut()
336 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); in testRequestPinShortcut_explicitTargetActivity()
410 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); 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.java1952 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi()
2038 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi()
2137 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_multi()
2176 runWithCaller(LAUNCHER_2, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts_assistant()
2188 mInternal.setShortcutHostPackage("assistant", LAUNCHER_2, USER_0); in testPinShortcutAndGetPinnedShortcuts_assistant()
2204 mInternal.setShortcutHostPackage("assistant", LAUNCHER_2, USER_0); in testPinShortcutAndGetPinnedShortcuts_assistant()
2251 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2259 runWithCaller(LAUNCHER_2, USER_10, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2381 runWithCaller(LAUNCHER_2, USER_P0, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
2429 runWithCaller(LAUNCHER_2, USER_10, () -> { in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
[all …]
DShortcutManagerTest9.java109 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); in checkRequestPinAppWidget()
DBaseShortcutManagerTest.java637 protected static final String LAUNCHER_2 = "com.android.launcher.2"; field in BaseShortcutManagerTest
685 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage)
784 addPackage(LAUNCHER_2, LAUNCHER_UID_2, 5); in setUp()
1172 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledApplications()
1193 addPackageInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledPackagesWithUninstalled()
2012 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) {
2072 runWithCaller(LAUNCHER_2, USER_0, () -> {