Home
last modified time | relevance | path

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

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerMultiLauncherTest.java63 runWithCaller(mPackageContext2, () -> { in testPinShortcuts()
93 mPackageContext2.getPackageName(), in testPinShortcuts()
104 mPackageContext2.getPackageName(), in testPinShortcuts()
142 runWithCaller(mPackageContext2, () -> { in testPinShortcuts()
204 mPackageContext2.getPackageName())) in testPinShortcuts()
209 mPackageContext2.getPackageName())) in testPinShortcuts()
214 mPackageContext2.getPackageName())) in testPinShortcuts()
254 mPackageContext2.getPackageName())) in testPinShortcuts()
259 mPackageContext2.getPackageName())) in testPinShortcuts()
264 mPackageContext2.getPackageName())) in testPinShortcuts()
[all …]
DShortcutManagerLauncherApiTest.java65 runWithCallerWithStrictMode(mPackageContext2, () -> { in testPinShortcuts()
92 mPackageContext2.getPackageName(), in testPinShortcuts()
100 runWithCallerWithStrictMode(mPackageContext2, () -> { in testPinShortcuts()
122 runWithCallerWithStrictMode(mPackageContext2, () -> { in testPinShortcuts()
169 runWithCallerWithStrictMode(mPackageContext2, () -> { in testGetShortcuts()
262 mPackageContext2.getPackageName(), in testGetShortcuts()
325 mPackageContext2.getPackageName(), in testGetShortcuts()
DShortcutManagerUsageTest.java107 runWithCallerWithStrictMode(mPackageContext2, () -> { in testReportShortcutUsed()
116 runWithCallerWithStrictMode(mPackageContext2, () -> getManager().reportShortcutUsed(id3)); in testReportShortcutUsed()
120 checkEventReported(start1, end1, mPackageContext2, id3, "Events weren't populated"); in testReportShortcutUsed()
DShortcutManagerSpoofingTest.java49 runWithCaller(mPackageContext2, () -> { in testSpoofingPublisher()
65 runWithCaller(mPackageContext2, () -> { in testSpoofingPublisher()
DShortcutManagerClientApiTest.java296 runWithCallerWithStrictMode(mPackageContext2, () -> { in testSetDynamicShortcuts()
301 runWithCallerWithStrictMode(mPackageContext2, () -> { in testSetDynamicShortcuts()
369 runWithCallerWithStrictMode(mPackageContext2, () -> { in testSetDynamicShortcuts()
639 runWithCallerWithStrictMode(mPackageContext2, () -> { in testAddDynamicShortcuts()
644 runWithCallerWithStrictMode(mPackageContext2, () -> { in testAddDynamicShortcuts()
729 runWithCallerWithStrictMode(mPackageContext2, () -> { in testAddDynamicShortcuts()
938 runWithCallerWithStrictMode(mPackageContext2, () -> { in testUpdateShortcut()
950 getLauncherApps().pinShortcuts(mPackageContext2.getPackageName(), in testUpdateShortcut()
956 runWithCallerWithStrictMode(mPackageContext2, () -> { in testUpdateShortcut()
987 runWithCallerWithStrictMode(mPackageContext2, () -> { in testUpdateShortcut()
[all …]
DShortcutManagerCtsTestsBase.java84 protected Context mPackageContext2; field in ShortcutManagerCtsTestsBase
136 mPackageContext2 = new SpoofingContext(getTestContext(), in setUp()
157 clearShortcuts(getInstrumentation(), mUserId, mPackageContext2.getPackageName()); in setUp()
206 return list(mPackageContext1, mPackageContext2, mPackageContext3); in getAllPublishers()
216 mPackageContext1, mPackageContext2, mPackageContext3, mPackageContext4, in getAllCallers()