Home
last modified time | relevance | path

Searched refs:setDefaultLauncher (Results 1 – 6 of 6) 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()
77 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_alreadyPinned()
110 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_alreadyPinnedByAnother()
125 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testCreateShortcutResult_defaultLauncherChanges()
133 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_2, USER_0)); in testCreateShortcutResult_defaultLauncherChanges()
169 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testStartConfigActivity_defaultLauncher()
177 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testStartConfigActivity_nonDefaultLauncher()
DShortcutManagerTest8.java92 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testIsRequestPinShortcutSupported()
93 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); 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()
253 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); in checkRequestPinShortcut()
335 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testRequestPinShortcut_explicitTargetActivity()
336 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); in testRequestPinShortcut_explicitTargetActivity()
391 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testRequestPinShortcut_wrongTargetActivity()
409 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testRequestPinShortcut_noTargetActivity_noMainActivity()
[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()
109 setDefaultLauncher(USER_10, mMainActivityFetcher.apply(LAUNCHER_2, USER_10)); in checkRequestPinAppWidget()
DShortcutManagerTest1.java5961 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_1, USER_0)); in testBackupAndRestore_disabledShortcutsAreIgnored()
5986 setDefaultLauncher(USER_0, mMainActivityFetcher.apply(LAUNCHER_2, USER_0)); in testBackupAndRestore_disabledShortcutsAreIgnored()
8023 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_true()
8034 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_defaultButNotForeground()
8044 setDefaultLauncher(UserHandle.USER_SYSTEM, defaultLauncher); in testIsForegroundDefaultLauncher_foregroundButNotDefault()
DBaseShortcutManagerTest.java1276 protected void setDefaultLauncher(int userId, ComponentName launcherActivity) { in setDefaultLauncher() method in BaseShortcutManagerTest
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java211 public static void setDefaultLauncher(Instrumentation instrumentation, String component) { in setDefaultLauncher() method in ShortcutManagerTestUtils
220 public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) { in setDefaultLauncher() method in ShortcutManagerTestUtils
221 setDefaultLauncher(instrumentation, packageContext.getPackageName() in setDefaultLauncher()