Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsLegacyRestrictionsTest.java90 assertEquals(false, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetSingleGlobalRestriction()
97 assertEquals(true, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetSingleGlobalRestriction()
105 assertEquals(false, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetSingleGlobalRestriction()
116 assertEquals(true, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetDoubleGlobalRestriction()
120 assertEquals(true, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetDoubleGlobalRestriction()
124 assertEquals(false, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testSetAndGetDoubleGlobalRestriction()
135 assertEquals(true, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testClearGlobalRestrictions()
139 assertEquals(false, mAppOpsRestrictions.hasGlobalRestrictions(mClientToken)); in testClearGlobalRestrictions()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictions.java55 boolean hasGlobalRestrictions(Object clientToken); in hasGlobalRestrictions() method
DAppOpsRestrictionsImpl.java101 public boolean hasGlobalRestrictions(Object clientToken) { in hasGlobalRestrictions() method in AppOpsRestrictionsImpl
DAppOpsService.java7085 return !mAppOpsRestrictions.hasGlobalRestrictions(mToken);
/frameworks/base/services/
Dart-wear-profile7541 PLcom/android/server/appop/AppOpsRestrictionsImpl;->hasGlobalRestrictions(Ljava/lang/Object;)Z