Home
last modified time | relevance | path

Searched refs:setDefaultLauncher (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest10.java59 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_validResult()
74 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_alreadyPinned()
107 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_alreadyPinnedByAnother()
122 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_defaultLauncherChanges()
130 setDefaultLauncher(USER_0, LAUNCHER_2); in testCreateShortcutResult_defaultLauncherChanges()
167 setDefaultLauncher(USER_0, LAUNCHER_1); in testStartConfigActivity_defaultLauncher()
175 setDefaultLauncher(USER_0, LAUNCHER_1); in testStartConfigActivity_nonDefaultLauncher()
H A DShortcutManagerTest8.java95 setDefaultLauncher(USER_0, LAUNCHER_1); in testIsRequestPinShortcutSupported()
96 setDefaultLauncher(USER_10, LAUNCHER_2); in testIsRequestPinShortcutSupported()
173 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_notSupported()
226 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground()
255 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinShortcut()
256 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinShortcut()
340 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_explicitTargetActivity()
396 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_wrongTargetActivity()
414 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_noTargetActivity_noMainActivity()
479 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_dynamicExists()
[all …]
H A DShortcutManagerTest9.java94 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground()
111 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinAppWidget()
112 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinAppWidget()
H A DShortcutManagerTest12.java61 setDefaultLauncher(USER_0, LAUNCHER_1); in testGetShortcutIntents_ReturnsMutablePendingIntents()
H A DShortcutManagerTest1.java6742 setDefaultLauncher(USER_0, LAUNCHER_1); in testBackupAndRestore_disabledShortcutsAreIgnored()
6767 setDefaultLauncher(USER_0, LAUNCHER_2); in testBackupAndRestore_disabledShortcutsAreIgnored()
8826 setDefaultLauncher(UserHandle.USER_SYSTEM, "default"); in testIsForegroundDefaultLauncher_true()
8836 setDefaultLauncher(UserHandle.USER_SYSTEM, "default"); in testIsForegroundDefaultLauncher_defaultButNotForeground()
8845 setDefaultLauncher(UserHandle.USER_SYSTEM, "default"); in testIsForegroundDefaultLauncher_foregroundButNotDefault()
H A DBaseShortcutManagerTest.java1380 protected void setDefaultLauncher(int userId, String launcherPackage) { in setDefaultLauncher() method in BaseShortcutManagerTest
/aosp14/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java261 public static void setDefaultLauncher(Instrumentation instrumentation, String packageName) { in setDefaultLauncher() method in ShortcutManagerTestUtils
269 public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) { in setDefaultLauncher() method in ShortcutManagerTestUtils
270 setDefaultLauncher(instrumentation, packageContext.getPackageName()); in setDefaultLauncher()