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.java668 setCaller(LAUNCHER_1); in testIcons()
1051 runWithCaller(LAUNCHER_1, UserHandle.USER_SYSTEM, () -> { in testUpdateShortcuts()
1265 setCaller(LAUNCHER_1); in testGetShortcuts()
1386 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcuts_shortcutKinds()
1445 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcuts_shortcutKinds()
1506 runWithCaller(LAUNCHER_1, USER_0, () -> { in testGetShortcuts_resolveStrings()
1567 setCaller(LAUNCHER_1); in testGetShortcutInfo()
1582 setCaller(LAUNCHER_1); in testGetShortcutInfo()
1627 runWithCaller(LAUNCHER_1, USER_0, () -> { in testPinShortcutAndGetPinnedShortcuts()
1664 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.java299 runWithCaller(LAUNCHER_1, USER_0, () -> { in testUpdateShortcuts_noManifestShortcuts()
408 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDeleteDynamicShortcuts_noManifestShortcuts()
483 runWithCaller(LAUNCHER_1, USER_0, () -> { in testDisableShortcuts_noManifestShortcuts()
DBaseShortcutManagerTest.java634 protected static final String LAUNCHER_1 = "com.android.launcher.1"; field in BaseShortcutManagerTest
685 LAUNCHER_1.equals(callingPackage) || LAUNCHER_2.equals(callingPackage)
783 addPackage(LAUNCHER_1, LAUNCHER_UID_1, 4); in setUp()
1171 addApplicationInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledApplications()
1192 addPackageInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledPackagesWithUninstalled()
2012 LAUNCHER_1, LAUNCHER_2, LAUNCHER_3)) {
2065 runWithCaller(LAUNCHER_1, USER_0, () -> {
2096 runWithCaller(LAUNCHER_1, USER_P0, () -> {
2104 runWithCaller(LAUNCHER_1, USER_10, () -> {
DShortcutManagerTest7.java298 runWithCaller(LAUNCHER_1, USER_10, () -> { in testClearShortcuts()
DShortcutManagerTest2.java1170 setCaller(LAUNCHER_1, USER_0);
1236 setCaller(LAUNCHER_1, USER_0);