Home
last modified time | relevance | path

Searched refs:mLauncherContext2 (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerStartShortcutTest.java178 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testNonDefaultLauncherCantStart() local
181 assertShortcutStarts(mLauncherContext2, mPackageContext1, "s1", in testNonDefaultLauncherCantStart()
269 assertShortcutCantStart(mLauncherContext2, mPackageContext1, "s2", in testPinnedShortcut_differentLauncher()
273 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinnedShortcut_differentLauncher() local
276 assertShortcutStarts(mLauncherContext2, mPackageContext1, "s1", EXPECTED_ACTIONS_SINGLE); in testPinnedShortcut_differentLauncher()
284 assertShortcutCantStart(mLauncherContext2, mPackageContext1, "s2", in testPinnedShortcut_differentLauncher()
DShortcutManagerSpoofingTest.java88 runWithCaller(mLauncherContext2, () -> getLauncherApps().registerCallback(c0_2, h)); in testSpoofingLauncher()
92 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testSpoofingLauncher() local
98 runWithCaller(mLauncherContext2, in testSpoofingLauncher()
DShortcutManagerMultiLauncherTest.java97 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinShortcuts() local
99 runWithCaller(mLauncherContext2, () -> { in testPinShortcuts()
225 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testPinShortcuts() local
227 runWithCaller(mLauncherContext2, () -> { in testPinShortcuts()
DShortcutManagerRequestPinTest.java141 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testRequestPinShortcut_multiLaunchers() local
163 runWithCallerWithStrictMode(mLauncherContext2, () -> { in testRequestPinShortcut_multiLaunchers()
249 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testRequestPinShortcut_multiLaunchers_withDynamic() local
275 runWithCallerWithStrictMode(mLauncherContext2, () -> { in testRequestPinShortcut_multiLaunchers_withDynamic()
DShortcutManagerCtsTestsBase.java88 protected Context mLauncherContext2; field in ShortcutManagerCtsTestsBase
143 mLauncherContext2 = new SpoofingContext(getTestContext(), in setUp()
151 mLauncherApps2 = new LauncherApps(mLauncherContext2); in setUp()
210 return list(mLauncherContext1, mLauncherContext2, mLauncherContext3); in getAllLaunchers()
216 mLauncherContext1, mLauncherContext2, mLauncherContext3, mLauncherContext4); in getAllCallers()
DShortcutManagerLauncherCallbackTest.java249 setDefaultLauncher(getInstrumentation(), mLauncherContext2); in testCallbacks() local
250 runWithCaller(mLauncherContext2, () -> { in testCallbacks()