/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 49 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutConfigActivityList() 57 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testGetShortcutConfigActivityList() 68 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testIntentSenderNotCreatedForWrongActivity() 84 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCorrectIntentSenderCreated() 112 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCreateShortcutResultIntent_defaultLauncher() 121 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCreateShortcutResultIntent_defaultChanges() 124 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_defaultChanges() 133 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_noDefault()
|
D | ShortcutManagerStartShortcutTest.java | 21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 101 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testStartSingle() 130 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testStartMultiple() 180 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testNonDefaultLauncherCantStart() 206 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testShortcutNoLongerExists() 225 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testShortcutWrongId() 239 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinnedShortcut_sameLauncher() 264 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinnedShortcut_differentLauncher() 277 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinnedShortcut_differentLauncher() 331 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testNonExistent() [all …]
|
D | ShortcutManagerRequestPinTest.java | 21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 52 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testIsRequestPinShortcutSupported() 59 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testIsRequestPinShortcutSupported() 72 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcut() 142 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testRequestPinShortcut_multiLaunchers() 190 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcut_multiLaunchers_withDynamic() 250 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testRequestPinShortcut_multiLaunchers_withDynamic() 316 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcut_noMainActivity() 359 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcutExcludedFromLauncher_ThrowsException()
|
D | ShortcutManagerLauncherApiTest.java | 27 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 95 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinShortcuts() 367 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutIcon() 411 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutIconAdaptive() 456 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in setDynamicShortcuts_PersistsShortcutsToDisk() 526 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in removeAllDynamicShortcuts_RemovesShortcutsFromDisk() 582 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in addDynamicShortcuts_PersistsShortcutsToDisk() 624 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in pushDynamicShortcuts_PersistsShortcutsToDisk() 683 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in removeDynamicShortcuts_RemovesShortcutsFromDisk() 713 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in removeLongLivedShortcuts_RemovesShortcutsFromDisk() [all …]
|
D | ShortcutManagerMultiLauncherTest.java | 27 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 86 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinShortcuts() 97 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinShortcuts() 175 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinShortcuts() 225 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinShortcuts()
|
D | ShortcutManagerSpoofingTest.java | 25 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 93 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testSpoofingLauncher()
|
D | ShortcutManagerLauncherCallbackTest.java | 21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 148 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCallbacks() 254 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testCallbacks() 260 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCallbacks()
|
D | ShortcutManagerMaxCountTest.java | 22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 228 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testWithPinned()
|
D | ShortcutManagerClientApiTest.java | 25 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 580 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testSetDynamicShortcuts_wasPinned() 960 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testAddDynamicShortcuts_wasPinned() 993 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testUpdateShortcut() 1493 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testDisableAndEnableShortcut() 1684 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testImmutableShortcuts() 1697 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testImmutableShortcuts() 1912 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testManifestDisabled() 1984 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcuts() 2156 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPushDynamicShortcut() [all …]
|
D | ShortcutManagerCtsTestsBase.java | 195 setDefaultLauncher(getInstrumentation(), mOriginalLauncher); in tearDown() 555 runWithNoStrictMode(() -> setDefaultLauncher(getInstrumentation(), launcherContext)); in getIconAsLauncher()
|
/cts/hostsidetests/install/src/android/cts/install/host/ |
D | LauncherRule.java | 54 setDefaultLauncher(mTestLauncher); in before() 59 setDefaultLauncher(mDefaultLauncher); in after() 83 private void setDefaultLauncher(String launcherComponent) throws DeviceNotAvailableException { in setDefaultLauncher() method in LauncherRule
|
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/ |
D | Launcher.java | 18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 26 setDefaultLauncher(instrumentation, context); in setAsDefaultLauncher()
|
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
D | Launcher.java | 18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 26 setDefaultLauncher(instrumentation, context); in setAsDefaultLauncher()
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
D | ShortcutManagerDeviceTestBase.java | 20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 72 setDefaultLauncher(getInstrumentation(), mOriginalLauncher); in tearDown() 91 setDefaultLauncher(getInstrumentation(), getContext()); in setAsDefaultLauncher()
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | StagedInstallTest.java | 107 setDefaultLauncher(mDefaultLauncher); in tearDown() 118 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallStagedApk() 166 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallMultipleStagedApks() 242 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallStagedApex() 253 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallStagedApexAndApk() 877 private void setDefaultLauncher(String launcherComponent) throws DeviceNotAvailableException { in setDefaultLauncher() method in StagedInstallTest
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/ |
D | ShortcutManagerPostBackupTest.java | 20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 234 setDefaultLauncher(getInstrumentation(), in testInvisibleIgnored()
|
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
D | ArchiveTest.java | 26 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 158 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mDefaultHome); in tearDown() 351 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mContext.getPackageName()); in startUnarchival_permissionDialog() 396 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mContext.getPackageName()); in startUnarchival_errorDialog()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | LauncherAppsForHiddenProfilesTest.java | 30 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 264 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mDefaultHome); in tearDown() 269 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mContext.getPackageName()); in setSelfAsDefaultLauncher()
|
D | LauncherAppsTest.java | 24 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 156 setDefaultLauncher(mInstrumentation, mTestHome); in setUp() 166 setDefaultLauncher(mInstrumentation, mDefaultHome); in tearDown()
|
D | PackageInstallerArchiveTest.java | 27 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 177 setDefaultLauncher(mInstrumentation, mDefaultHome); in uninstall()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | StylusHandwritingTest.java | 186 setDefaultLauncher(mDefaultLauncherToRestore); in tearDown() 2131 setDefaultLauncher(TEST_LAUNCHER_COMPONENT); 3287 private void setDefaultLauncher(String component) {
|