/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest10.java | 62 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()
|
D | ShortcutManagerTest8.java | 92 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 …]
|
D | ShortcutManagerTest9.java | 91 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()
|
D | ShortcutManagerTest1.java | 5961 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()
|
D | BaseShortcutManagerTest.java | 1276 protected void setDefaultLauncher(int userId, ComponentName launcherActivity) { in setDefaultLauncher() method in BaseShortcutManagerTest
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 211 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()
|