/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerConfigActivityTest.java | 47 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()
|
D | ShortcutManagerStartShortcutTest.java | 21 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 …]
|
D | ShortcutManagerRequestPinTest.java | 22 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()
|
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 | ShortcutManagerLauncherCallbackTest.java | 21 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()
|
D | ShortcutManagerLauncherApiTest.java | 26 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()
|
D | ShortcutManagerSpoofingTest.java | 25 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 92 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testSpoofingLauncher()
|
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; 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 …]
|
D | ShortcutManagerCtsTestsBase.java | 190 setDefaultLauncher(getInstrumentation(), mOriginalLauncher); in tearDown() 529 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() 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/ |
D | QuietModeTest.java | 18 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/ |
D | LauncherAppsTest.java | 20 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/ |
D | ShortcutManagerPostBackupTest.java | 20 import static com.android.server.pm.shortcutmanagertest.ShortcutManagerTestUtils.setDefaultLauncher; 293 setDefaultLauncher(getInstrumentation(), in testInvisibleIgnored()
|