Searched refs:runWithCallerWithStrictMode (Results 1 – 7 of 7) sorted by relevance
268 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()275 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()296 runWithCallerWithStrictMode(mPackageContext2, () -> { in testSetDynamicShortcuts()301 runWithCallerWithStrictMode(mPackageContext2, () -> { in testSetDynamicShortcuts()316 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()336 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()341 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()355 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()359 runWithCallerWithStrictMode(mPackageContext1, () -> { in testSetDynamicShortcuts()369 runWithCallerWithStrictMode(mPackageContext2, () -> { in testSetDynamicShortcuts()[all …]
87 runWithCallerWithStrictMode(mPackageContext1, () -> { in testReportShortcutUsed()101 runWithCallerWithStrictMode(mPackageContext1, () -> { in testReportShortcutUsed()107 runWithCallerWithStrictMode(mPackageContext2, () -> { in testReportShortcutUsed()116 runWithCallerWithStrictMode(mPackageContext2, () -> getManager().reportShortcutUsed(id3)); in testReportShortcutUsed()124 runWithCallerWithStrictMode(mPackageContext1, () -> getManager().reportShortcutUsed(id1)); in testReportShortcutUsed()132 …runWithCallerWithStrictMode(mPackageContext1, () -> getManager().reportShortcutUsed(idNonexistance… in testReportShortcutUsed()133 … runWithCallerWithStrictMode(mPackageContext1, () -> getManager().reportShortcutUsed(idManifest)); in testReportShortcutUsed()147 runWithCallerWithStrictMode(mPackageContext1, in testShortcutInvocationEventIsVisible()153 runWithCallerWithStrictMode(mPackageContext1, () -> getManager().reportShortcutUsed(id1)); in testShortcutInvocationEventIsVisible()164 runWithCallerWithStrictMode(mPackageContext1, in testShortcutInvocationEventIsNotVisible()[all …]
49 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testGetShortcutConfigActivityList()57 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testGetShortcutConfigActivityList()67 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testIntentSenderNotCreatedForWrongActivity()84 runWithCallerWithStrictMode(mLauncherContext1, () -> in testCorrectIntentSenderCreated()110 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testCreateShortcutResultIntent_defaultLauncher()122 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testCreateShortcutResultIntent_defaultChanges()133 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testCreateShortcutResultIntent_noDefault()141 runWithCallerWithStrictMode(mPackageContext1, () -> { in getShortcutRequestForPackage1()
63 runWithCallerWithStrictMode(launcher, () -> { in launchShortcutAndGetIntents()83 runWithCallerWithStrictMode(launcher, () -> { in assertShortcutCantStart()106 runWithCallerWithStrictMode(mPackageContext1, () -> { in testStartSingle()141 runWithCallerWithStrictMode(mPackageContext1, () -> { in testStartMultiple()198 runWithCallerWithStrictMode(mPackageContext1, () -> { in testShortcutNoLongerExists()214 runWithCallerWithStrictMode(mPackageContext1, () -> { in testShortcutWrongId()238 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testPinnedShortcut_sameLauncher()244 runWithCallerWithStrictMode(mPackageContext1, () -> { in testPinnedShortcut_sameLauncher()263 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testPinnedShortcut_differentLauncher()279 runWithCallerWithStrictMode(mPackageContext1, () -> { in testPinnedShortcut_differentLauncher()[all …]
46 runWithCallerWithStrictMode(mPackageContext1, () -> { in testPinShortcuts()65 runWithCallerWithStrictMode(mPackageContext2, () -> { in testPinShortcuts()87 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testPinShortcuts()96 runWithCallerWithStrictMode(mPackageContext1, () -> { in testPinShortcuts()100 runWithCallerWithStrictMode(mPackageContext2, () -> { in testPinShortcuts()110 runWithCallerWithStrictMode(mPackageContext1, () -> { in testPinShortcuts()122 runWithCallerWithStrictMode(mPackageContext2, () -> { in testPinShortcuts()148 runWithCallerWithStrictMode(mPackageContext1, () -> { in testGetShortcuts()164 runWithCallerWithStrictMode(mPackageContext1, () -> { in testGetShortcuts()169 runWithCallerWithStrictMode(mPackageContext2, () -> { in testGetShortcuts()[all …]
73 runWithCallerWithStrictMode(mPackageContext1, () -> { in testRequestPinShortcut()99 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testRequestPinShortcut()143 runWithCallerWithStrictMode(mPackageContext1, () -> { in testRequestPinShortcut_multiLaunchers()163 runWithCallerWithStrictMode(mLauncherContext2, () -> { in testRequestPinShortcut_multiLaunchers()203 runWithCallerWithStrictMode(mPackageContext1, () -> { in testRequestPinShortcut_multiLaunchers_withDynamic()225 runWithCallerWithStrictMode(mLauncherContext1, () -> { in testRequestPinShortcut_multiLaunchers_withDynamic()253 runWithCallerWithStrictMode(mPackageContext1, () -> { in testRequestPinShortcut_multiLaunchers_withDynamic()275 runWithCallerWithStrictMode(mLauncherContext2, () -> { in testRequestPinShortcut_multiLaunchers_withDynamic()
326 protected void runWithCallerWithStrictMode(Context callerContext, Runnable r) { in runWithCallerWithStrictMode() method in ShortcutManagerCtsTestsBase