Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java62 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_validResult()
70 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_validResult()
77 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_alreadyPinned()
83 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned()
93 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinned()
110 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_alreadyPinnedByAnother()
117 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_alreadyPinnedByAnother()
125 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_defaultLauncherChanges()
141 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
150 runWithCaller(LAUNCHER_1, USER_0, () -> { in testCreateShortcutResult_defaultLauncherChanges()
[all …]
DShortcutManagerTest8.java92 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testIsRequestPinShortcutSupported()
100 assertEquals(LAUNCHER_1, actual.first.getPackageName()); in testIsRequestPinShortcutSupported()
116 assertEquals(LAUNCHER_1, actual.first.getPackageName()); in testIsRequestPinShortcutSupported()
170 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testRequestPinShortcut_notSupported()
223 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testNotForeground()
252 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in checkRequestPinShortcut()
276 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinShortcut()
335 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testRequestPinShortcut_explicitTargetActivity()
351 runWithCaller(LAUNCHER_1, USER_0, () -> { in testRequestPinShortcut_explicitTargetActivity()
391 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testRequestPinShortcut_wrongTargetActivity()
[all …]
DShortcutManagerTest1.java620 setCaller(LAUNCHER_1); in testIcons()
1000 runWithCaller(LAUNCHER_1, UserHandle.USER_SYSTEM, () -> { in testUpdateShortcuts()
1214 setCaller(LAUNCHER_1); in testGetShortcuts()
1335 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcuts_shortcutKinds()
1394 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcuts_shortcutKinds()
1455 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcuts_resolveStrings()
1516 setCaller(LAUNCHER_1); in testGetShortcutInfo()
1531 setCaller(LAUNCHER_1); in testGetShortcutInfo()
1576 runWithCaller(LAUNCHER_1, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts()
1613 runWithCaller(LAUNCHER_1, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts()
[all …]
DShortcutManagerTest9.java91 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testNotForeground()
108 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in checkRequestPinAppWidget()
120 runWithCaller(LAUNCHER_1, USER_0, () -> { in checkRequestPinAppWidget()
DShortcutManagerTest3.java292 runWithCaller(LAUNCHER_1, USER_0, () -> { in testUpdateShortcuts_noManifestShortcuts()
401 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDeleteDynamicShortcuts_noManifestShortcuts()
476 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDisableShortcuts_noManifestShortcuts()
DBaseShortcutManagerTest.java599 protected static final String LAUNCHER_1 = "com.android.launcher.1"; field in BaseShortcutManagerTest
650 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage)
737 addPackage(LAUNCHER_1, LAUNCHER_UID_1, 4); in setUp()
1108 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledApplications()
1129 addPackageInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledPackagesWithUninstalled()
1906 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) {
1959 runWithCaller(LAUNCHER_1, USER_0, () -> {
1990 runWithCaller(LAUNCHER_1, USER_P0, () -> {
1998 runWithCaller(LAUNCHER_1, USER_10, () -> {
DShortcutManagerTest7.java297 runWithCaller(LAUNCHER_1, USER_10, () -> { in testClearShortcuts()
DShortcutManagerTest2.java1110 setCaller(LAUNCHER_1, USER_0);
1174 setCaller(LAUNCHER_1, USER_0);