Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java55 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_validResult()
70 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_alreadyPinned()
103 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_alreadyPinnedByAnother()
118 setDefaultLauncher(USER_0, LAUNCHER_1); in testCreateShortcutResult_defaultLauncherChanges()
126 setDefaultLauncher(USER_0, LAUNCHER_2); in testCreateShortcutResult_defaultLauncherChanges()
163 setDefaultLauncher(USER_0, LAUNCHER_1); in testStartConfigActivity_defaultLauncher()
171 setDefaultLauncher(USER_0, LAUNCHER_1); in testStartConfigActivity_nonDefaultLauncher()
DShortcutManagerTest8.java92 setDefaultLauncher(USER_0, LAUNCHER_1); in testIsRequestPinShortcutSupported()
93 setDefaultLauncher(USER_10, LAUNCHER_2); in testIsRequestPinShortcutSupported()
170 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_notSupported()
223 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground()
252 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinShortcut()
253 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinShortcut()
335 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_explicitTargetActivity()
336 setDefaultLauncher(USER_10, LAUNCHER_2); in testRequestPinShortcut_explicitTargetActivity()
391 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_wrongTargetActivity()
409 setDefaultLauncher(USER_0, LAUNCHER_1); in testRequestPinShortcut_noTargetActivity_noMainActivity()
[all …]
DShortcutManagerTest9.java91 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground()
108 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinAppWidget()
109 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinAppWidget()
DShortcutManagerTest12.java32 setDefaultLauncher(USER_0, LAUNCHER_1); in testGetShortcutIntents_ReturnsMutablePendingIntents()
DShortcutManagerTest1.java6574 setDefaultLauncher(USER_0, LAUNCHER_1); in testBackupAndRestore_disabledShortcutsAreIgnored()
6599 setDefaultLauncher(USER_0, LAUNCHER_2); in testBackupAndRestore_disabledShortcutsAreIgnored()
8650 setDefaultLauncher(UserHandle.USER_SYSTEM, "default"); in testIsForegroundDefaultLauncher_true()
8660 setDefaultLauncher(UserHandle.USER_SYSTEM, "default"); in testIsForegroundDefaultLauncher_defaultButNotForeground()
8669 setDefaultLauncher(UserHandle.USER_SYSTEM, "default"); in testIsForegroundDefaultLauncher_foregroundButNotDefault()
DBaseShortcutManagerTest.java1632 protected void setDefaultLauncher(int userId, String launcherPackage) { in setDefaultLauncher() method in BaseShortcutManagerTest
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
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()