Searched refs:clearUserRestrictions (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsLegacyRestrictionsTest.java | 221 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers() 234 assertEquals(true, mAppOpsRestrictions.clearUserRestrictions(mClientToken)); in testClearUserRestrictionsAllUsers() 242 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId1)); in testClearUserRestrictionsSpecificUsers() 255 assertEquals(true, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId1)); in testClearUserRestrictionsSpecificUsers() 257 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId1)); in testClearUserRestrictionsSpecificUsers() 264 assertEquals(true, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId2)); in testClearUserRestrictionsSpecificUsers() 266 assertEquals(false, mAppOpsRestrictions.clearUserRestrictions(mClientToken, mUserId2)); in testClearUserRestrictionsSpecificUsers() 274 mAppOpsRestrictions.clearUserRestrictions(mClientToken); in testNotify()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsRestrictions.java | 113 boolean clearUserRestrictions(Object clientToken); in clearUserRestrictions() method 122 boolean clearUserRestrictions(Object clientToken, Integer userId); in clearUserRestrictions() method
|
D | AppOpsRestrictionsImpl.java | 188 public boolean clearUserRestrictions(Object clientToken) { in clearUserRestrictions() method in AppOpsRestrictionsImpl 224 public boolean clearUserRestrictions(Object clientToken, Integer userId) { in clearUserRestrictions() method in AppOpsRestrictionsImpl
|
D | AppOpsService.java | 7046 mAppOpsRestrictions.clearUserRestrictions(token, userId); 7056 mAppOpsRestrictions.clearUserRestrictions(token);
|