Searched refs:clearUserRestrictions (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
H A D | AppOpsLegacyRestrictionsTest.java | 220 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers() 233 assertEquals(true, mAppOpsRestrictions.clearUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers() 241 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId1)); in testClearUserRestrictionsSpecificUsers() 254 assertEquals(true, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId1)); in testClearUserRestrictionsSpecificUsers() 256 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId1)); in testClearUserRestrictionsSpecificUsers() 263 assertEquals(true, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId2)); in testClearUserRestrictionsSpecificUsers() 265 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId2)); in testClearUserRestrictionsSpecificUsers() 273 mAppOpsRestrictions.clearUserRestrictions(mClientToken); in testNotify()
|
/aosp14/frameworks/base/services/core/java/com/android/server/appop/ |
H A D | AppOpsRestrictions.java | 113 boolean clearUserRestrictions(Object clientToken); in clearUserRestrictions() method 122 boolean clearUserRestrictions(Object clientToken, Integer userId); in clearUserRestrictions() method
|
H A D | AppOpsRestrictionsImpl.java | 187 public boolean clearUserRestrictions(Object clientToken) { in clearUserRestrictions() method in AppOpsRestrictionsImpl 227 public boolean clearUserRestrictions(Object clientToken, Integer userId) { in clearUserRestrictions() method in AppOpsRestrictionsImpl
|
H A D | AppOpsService.java | 6119 mAppOpsRestrictions.clearUserRestrictions(token, userId); 6129 mAppOpsRestrictions.clearUserRestrictions(token);
|