Searched refs:hasUserRestrictions (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
H A D | AppOpsLegacyRestrictionsTest.java | 146 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 D | AppOpsRestrictions.java | 105 boolean hasUserRestrictions(Object clientToken); in hasUserRestrictions() method
|
H A D | AppOpsRestrictionsImpl.java | 149 public boolean hasUserRestrictions(Object clientToken) { in hasUserRestrictions() method in AppOpsRestrictionsImpl
|
H A D | AppOpsService.java | 6123 return !mAppOpsRestrictions.hasUserRestrictions(token);
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | ActiveAdmin.java | 568 if (hasUserRestrictions()) { in writeToXml() 1145 boolean hasUserRestrictions() { in hasUserRestrictions() method in ActiveAdmin
|
/aosp14/frameworks/base/services/ |
H A D | art-profile | 2433 HSPLcom/android/server/appop/AppOpsRestrictionsImpl;->hasUserRestrictions(Ljava/lang/Object;)Z
|