Home
last modified time | relevance | path

Searched refs:RESTRICTION_NONE (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DDistractingPackageHelper.java19 import static android.content.pm.PackageManager.RESTRICTION_NONE;
74 if (restrictionFlags != RESTRICTION_NONE in setDistractingPackageRestrictionsAsUser()
86 final boolean[] canRestrict = (restrictionFlags != RESTRICTION_NONE) in setDistractingPackageRestrictionsAsUser()
185 != RESTRICTION_NONE) { in removeDistractingPackageRestrictions()
194 .setDistractionFlags(RESTRICTION_NONE); in removeDistractingPackageRestrictions()
202 packageArray, changedUids.toArray(), userId, RESTRICTION_NONE); in removeDistractingPackageRestrictions() local
DPackageManagerInternalBase.java21 import static android.content.pm.PackageManager.RESTRICTION_NONE;
294 return (packageState == null) ? RESTRICTION_NONE in getDistractingPackageRestrictions()
DPackageManagerShellCommand.java28 import static android.content.pm.PackageManager.RESTRICTION_NONE;
2544 case RESTRICTION_NONE: in stateToString()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DDistractingPackageHelperTest.kt166 assertThat(distractionFlags).isEqualTo(PackageManager.RESTRICTION_NONE) in removeDistractingPackageRestrictions()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java261 assertThat(userState1.getDistractionFlags(), is(PackageManager.RESTRICTION_NONE)); in testPackageUserState06()
DPackageManagerSettingsTests.java656 final int distractionFlags3 = PackageManager.RESTRICTION_NONE; in populateDistractionFlags()
665 final int distractionFlags3 = PackageManager.RESTRICTION_NONE; in verifyDistractionFlags()
1089 assertThat(defaultSetting.getDistractionFlags(0), is(PackageManager.RESTRICTION_NONE)); in testPackageRestrictionsDistractionFlagsDefault()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java9875 public static final int RESTRICTION_NONE = 0x0; field in PackageManager
9901 RESTRICTION_NONE,
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1962 PackageManager.RESTRICTION_NONE);
/frameworks/base/core/api/
Dsystem-current.txt4370 field public static final int RESTRICTION_NONE = 0; // 0x0