Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsLegacyRestrictionsTest.java147 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetSingleUserRestriction()
159 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetSingleUserRestriction()
171 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetSingleUserRestriction()
185 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetDoubleUserRestriction()
198 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetDoubleUserRestriction()
215 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testSetAndGetDoubleUserRestriction()
232 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers()
236 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers()
253 assertEquals(true, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsSpecificUsers()
268 assertEquals(false, mAppOpsRestrictions.hasUserRestrictions(mClientToken)); in testClearUserRestrictionsSpecificUsers()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictions.java105 boolean hasUserRestrictions(Object clientToken); in hasUserRestrictions() method
DAppOpsRestrictionsImpl.java150 public boolean hasUserRestrictions(Object clientToken) { in hasUserRestrictions() method in AppOpsRestrictionsImpl
DAppOpsService.java7050 return !mAppOpsRestrictions.hasUserRestrictions(token);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java569 if (hasUserRestrictions()) { in writeToXml()
1146 boolean hasUserRestrictions() { in hasUserRestrictions() method in ActiveAdmin
/frameworks/base/services/
Dart-wear-profile7542 PLcom/android/server/appop/AppOpsRestrictionsImpl;->hasUserRestrictions(Ljava/lang/Object;)Z