Home
last modified time | relevance | path

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

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerConfigActivityTest.java47 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutConfigActivityList()
55 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testGetShortcutConfigActivityList()
66 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testIntentSenderNotCreatedForWrongActivity()
82 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCorrectIntentSenderCreated()
108 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCreateShortcutResultIntent_defaultLauncher()
117 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCreateShortcutResultIntent_defaultChanges()
120 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_defaultChanges()
129 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_noDefault()
DShortcutManagerStartShortcutTest.java21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
99 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testStartSingle()
128 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testStartMultiple()
178 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testNonDefaultLauncherCantStart()
202 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testShortcutNoLongerExists()
221 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testShortcutWrongId()
235 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinnedShortcut_sameLauncher()
260 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinnedShortcut_differentLauncher()
273 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinnedShortcut_differentLauncher()
327 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testNonExistent()
[all …]
DShortcutManagerRequestPinTest.java22 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
51 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testIsRequestPinShortcutSupported()
58 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testIsRequestPinShortcutSupported()
71 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcut()
141 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testRequestPinShortcut_multiLaunchers()
189 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcut_multiLaunchers_withDynamic()
249 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testRequestPinShortcut_multiLaunchers_withDynamic()
315 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testRequestPinShortcut_noMainActivity()
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()
DShortcutManagerLauncherCallbackTest.java21 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
143 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCallbacks()
249 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testCallbacks()
255 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testCallbacks()
DShortcutManagerLauncherApiTest.java26 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
85 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPinShortcuts()
357 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutIcon()
401 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcutIconAdaptive()
DShortcutManagerSpoofingTest.java25 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
92 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testSpoofingLauncher()
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;
591 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testSetDynamicShortcuts_wasPinned()
912 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testAddDynamicShortcuts_wasPinned()
945 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testUpdateShortcut()
1445 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testDisableAndEnableShortcut()
1636 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testImmutableShortcuts()
1649 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testImmutableShortcuts()
1864 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testManifestDisabled()
1936 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testGetShortcuts()
2108 setDefaultLauncher(getInstrumentation(), mLauncherContext1); in testPushDynamicShortcut()
[all …]
DShortcutManagerCtsTestsBase.java190 setDefaultLauncher(getInstrumentation(), mOriginalLauncher); in tearDown()
529 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()
169 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallMultipleStagedApks()
249 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallStagedApex()
261 setDefaultLauncher(BROADCAST_RECEIVER_COMPONENT); in testInstallStagedApexAndApk()
809 private void setDefaultLauncher(String launcherComponent) throws DeviceNotAvailableException { in setDefaultLauncher() method in StagedInstallTest
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DQuietModeTest.java18 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
111 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), mOriginalLauncher); in revertToDefaultLauncher()
297 setDefaultLauncher(InstrumentationRegistry.getInstrumentation(), in setTestAppAsDefaultLauncher()
/cts/tests/tests/content/src/android/content/pm/cts/
DLauncherAppsTest.java20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher;
91 setDefaultLauncher(mInstrumentation, mTestHome); in setUp()
98 setDefaultLauncher(mInstrumentation, mDefaultHome); in tearDown()
/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;
293 setDefaultLauncher(getInstrumentation(), in testInvisibleIgnored()