Home
last modified time | relevance | path

Searched refs:setDistractingPackageRestrictions (Results 1 – 5 of 5) sorted by relevance

/cts/tests/suspendapps/permission/src/android/suspendapps/permission/cts/
DNegativePermissionsTest.java93 public void setDistractingPackageRestrictions() { in setDistractingPackageRestrictions() method in NegativePermissionsTest
95 () -> mPackageManager.setDistractingPackageRestrictions(PACKAGES_TO_SUSPEND, in setDistractingPackageRestrictions()
99 () -> mPackageManager.setDistractingPackageRestrictions(PACKAGES_TO_SUSPEND, in setDistractingPackageRestrictions()
103 () -> mPackageManager.setDistractingPackageRestrictions(PACKAGES_TO_SUSPEND, in setDistractingPackageRestrictions()
107 () -> mPackageManager.setDistractingPackageRestrictions(PACKAGES_TO_SUSPEND, in setDistractingPackageRestrictions()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java490 setDistractingPackageRestrictions(new String[]{TARGET_NO_API}, in shouldHideFromSuggestions_queriesPackage_canSeeNoApi()
498 setDistractingPackageRestrictions(new String[]{TARGET_NO_API}, in shouldHideFromSuggestions_queriesPackage_canSeeNoApi()
505 setDistractingPackageRestrictions(new String[]{TARGET_NO_API}, in shouldHideFromSuggestions_queriesNothing_cannotSeeNoApi()
513 setDistractingPackageRestrictions(new String[]{TARGET_NO_API}, in shouldHideFromSuggestions_queriesNothing_cannotSeeNoApi()
555 private void setDistractingPackageRestrictions(String[] packagesToRestrict, in setDistractingPackageRestrictions() method in LauncherAppsEnumerationTests
558 () -> sPm.setDistractingPackageRestrictions(packagesToRestrict, distractionFlags)); in setDistractingPackageRestrictions()
DCrossUserPackageVisibilityTests.java402 String [] distractedPkg = mPackageManager.setDistractingPackageRestrictions( in testSetDistractingPackageRestrictions_cannotDetectStubPkg()
408 distractedPkg = mPackageManager.setDistractingPackageRestrictions( in testSetDistractingPackageRestrictions_cannotDetectStubPkg()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDistractingPackageTest.java91 () -> mPackageManager.setDistractingPackageRestrictions(packagesToRestrict, in setDistractionFlagsAndAssertResult()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt4257 …n(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@Non…