Home
last modified time | relevance | path

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

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerConfigActivityTest.java49 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()
DShortcutManagerStartShortcutTest.java21 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 …]
DShortcutManagerRequestPinTest.java21 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()
DShortcutManagerLauncherApiTest.java27 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 …]
DShortcutManagerMultiLauncherTest.java27 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()
DShortcutManagerSpoofingTest.java25 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
93 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testSpoofingLauncher()
DShortcutManagerLauncherCallbackTest.java21 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()
DShortcutManagerMaxCountTest.java22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
228 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testWithPinned()
DShortcutManagerClientApiTest.java25 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 …]
DShortcutManagerCtsTestsBase.java195 setDefaultLauncher(getInstrumentation(), mOriginalLauncher); in tearDown()
555 runWithNoStrictMode(() -> setDefaultLauncher(getInstrumentation(), launcherContext)); in getIconAsLauncher()
/cts/hostsidetests/install/src/android/cts/install/host/
DLauncherRule.java54 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/
DLauncher.java18 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/
DLauncher.java18 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/
DShortcutManagerDeviceTestBase.java20 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/
DStagedInstallTest.java107 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/
DShortcutManagerPostBackupTest.java20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
234 setDefaultLauncher(getInstrumentation(), in testInvisibleIgnored()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DArchiveTest.java26 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/
DLauncherAppsForHiddenProfilesTest.java30 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
264 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mDefaultHome); in tearDown()
269 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mContext.getPackageName()); in setSelfAsDefaultLauncher()
DLauncherAppsTest.java24 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
156 setDefaultLauncher(mInstrumentation, mTestHome); in setUp()
166 setDefaultLauncher(mInstrumentation, mDefaultHome); in tearDown()
DPackageInstallerArchiveTest.java27 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
177 setDefaultLauncher(mInstrumentation, mDefaultHome); in uninstall()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java186 setDefaultLauncher(mDefaultLauncherToRestore); in tearDown()
2131 setDefaultLauncher(TEST_LAUNCHER_COMPONENT);
3287 private void setDefaultLauncher(String component) {