Home
last modified time | relevance | path

Searched refs:hasUserRestrictions (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsLegacyRestrictionsTest.java146 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetSingleUserRestriction()
158 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetSingleUserRestriction()
170 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetSingleUserRestriction()
184 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetDoubleUserRestriction()
197 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetDoubleUserRestriction()
214 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetDoubleUserRestriction()
231 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers()
235 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers()
252 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsSpecificUsers()
267 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsSpecificUsers()
/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsRestrictions.java105 boolean hasUserRestrictions(Object clientToken); in hasUserRestrictions() method
H A DAppOpsRestrictionsImpl.java149 public boolean hasUserRestrictions(Object clientToken) { in hasUserRestrictions() method in AppOpsRestrictionsImpl
H A DAppOpsService.java6123 return !mAppOpsRestrictions.hasUserRestrictions(token);
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DActiveAdmin.java568 if (hasUserRestrictions()) { in writeToXml()
1145 boolean hasUserRestrictions() { in hasUserRestrictions() method in ActiveAdmin
/aosp14/frameworks/base/services/
H A Dart-profile2433 HSPLcom/android/server/appop/AppOpsRestrictionsImpl;->hasUserRestrictions(Ljava/lang/Object;)Z