Home
last modified time | relevance | path

Searched refs:mLauncherContext4 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerSpoofDetectionTest.java84 assertCallingPackageMismatch("hasShortcutHostPermission", mLauncherContext4, () -> { in testLauncherSpoofing()
88 assertCallingPackageMismatch("registerCallback", mLauncherContext4, () -> { in testLauncherSpoofing()
93 assertCallingPackageMismatch("getShortcuts", mLauncherContext4, () -> { in testLauncherSpoofing()
98 assertCallingPackageMismatch("pinShortcuts", mLauncherContext4, () -> { in testLauncherSpoofing()
103 assertCallingPackageMismatch("startShortcut 1", mLauncherContext4, () -> { in testLauncherSpoofing()
106 assertCallingPackageMismatch("startShortcut 2", mLauncherContext4, () -> { in testLauncherSpoofing()
DShortcutManagerConfigActivityTest.java55 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testGetShortcutConfigActivityList() local
120 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_defaultChanges() local
129 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testCreateShortcutResultIntent_noDefault() local
DShortcutManagerCtsTestsBase.java91 protected Context mLauncherContext4; field in ShortcutManagerCtsTestsBase
148 mLauncherContext4 = new SpoofingContext(getTestContext(), in setUp()
154 mLauncherApps4 = new LauncherApps(mLauncherContext4); in setUp()
217 mLauncherContext1, mLauncherContext2, mLauncherContext3, mLauncherContext4); in getAllCallers()
DShortcutManagerRequestPinTest.java58 setDefaultLauncher(getInstrumentation(), mLauncherContext4); in testIsRequestPinShortcutSupported() local