Searched refs:setDistractingPackageRestrictions (Results 1 – 5 of 5) sorted by relevance
/cts/tests/suspendapps/permission/src/android/suspendapps/permission/cts/ |
D | NegativePermissionsTest.java | 93 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/ |
D | LauncherAppsEnumerationTests.java | 490 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()
|
D | CrossUserPackageVisibilityTests.java | 402 String [] distractedPkg = mPackageManager.setDistractingPackageRestrictions( in testSetDistractingPackageRestrictions_cannotDetectStubPkg() 408 distractedPkg = mPackageManager.setDistractingPackageRestrictions( in testSetDistractingPackageRestrictions_cannotDetectStubPkg()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DistractingPackageTest.java | 91 () -> mPackageManager.setDistractingPackageRestrictions(packagesToRestrict, in setDistractionFlagsAndAssertResult()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 4257 …n(android.Manifest.permission.SUSPEND_APPS) public String[] setDistractingPackageRestrictions(@Non…
|