Searched refs:setDefaultLauncher (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest10.java | 55 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()
|
D | ShortcutManagerTest8.java | 92 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 …]
|
D | ShortcutManagerTest9.java | 91 setDefaultLauncher(USER_0, LAUNCHER_1); in testNotForeground() 108 setDefaultLauncher(USER_0, LAUNCHER_1); in checkRequestPinAppWidget() 109 setDefaultLauncher(USER_10, LAUNCHER_2); in checkRequestPinAppWidget()
|
D | ShortcutManagerTest12.java | 32 setDefaultLauncher(USER_0, LAUNCHER_1); in testGetShortcutIntents_ReturnsMutablePendingIntents()
|
D | ShortcutManagerTest1.java | 6574 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()
|
D | BaseShortcutManagerTest.java | 1632 protected void setDefaultLauncher(int userId, String launcherPackage) { in setDefaultLauncher() method in BaseShortcutManagerTest
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 261 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()
|