Searched refs:mPackageContext4 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerSpoofDetectionTest.java | 51 assertCallingPackageMismatch("setDynamicShortcuts", mPackageContext4, () -> { in testPublisherSpoofing() 54 assertCallingPackageMismatch("addDynamicShortcut", mPackageContext4, () -> { in testPublisherSpoofing() 57 assertCallingPackageMismatch("deleteDynamicShortcut", mPackageContext4, () -> { in testPublisherSpoofing() 60 assertCallingPackageMismatch("deleteAllDynamicShortcuts", mPackageContext4, () -> { in testPublisherSpoofing() 63 assertCallingPackageMismatch("getDynamicShortcuts", mPackageContext4, () -> { in testPublisherSpoofing() 66 assertCallingPackageMismatch("getPinnedShortcuts", mPackageContext4, () -> { in testPublisherSpoofing() 69 assertCallingPackageMismatch("updateShortcuts", mPackageContext4, () -> { in testPublisherSpoofing() 72 assertCallingPackageMismatch("getMaxShortcutCountPerActivity", mPackageContext4, () -> { in testPublisherSpoofing() 75 assertCallingPackageMismatch("getIconMaxWidth", mPackageContext4, () -> { in testPublisherSpoofing() 78 assertCallingPackageMismatch("getIconMaxHeight", mPackageContext4, () -> { in testPublisherSpoofing()
|
D | ShortcutManagerCtsTestsBase.java | 86 protected Context mPackageContext4; field in ShortcutManagerCtsTestsBase 140 mPackageContext4 = new SpoofingContext(getTestContext(), in setUp() 159 clearShortcuts(getInstrumentation(), mUserId, mPackageContext4.getPackageName()); in setUp() 216 mPackageContext1, mPackageContext2, mPackageContext3, mPackageContext4, in getAllCallers()
|