Searched refs:hasUserRestrictions (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsLegacyRestrictionsTest.java | 147 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/ |
D | AppOpsRestrictions.java | 105 boolean hasUserRestrictions(Object clientToken); in hasUserRestrictions() method
|
D | AppOpsRestrictionsImpl.java | 150 public boolean hasUserRestrictions(Object clientToken) { in hasUserRestrictions() method in AppOpsRestrictionsImpl
|
D | AppOpsService.java | 7050 return !mAppOpsRestrictions.hasUserRestrictions(token);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | ActiveAdmin.java | 569 if (hasUserRestrictions()) { in writeToXml() 1146 boolean hasUserRestrictions() { in hasUserRestrictions() method in ActiveAdmin
|
/frameworks/base/services/ |
D | art-wear-profile | 7542 PLcom/android/server/appop/AppOpsRestrictionsImpl;->hasUserRestrictions(Ljava/lang/Object;)Z
|