Home
last modified time | relevance | path

Searched refs:clearUserRestrictions (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsLegacyRestrictionsTest.java220 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 DAppOpsRestrictions.java113 boolean clearUserRestrictions(Object clientToken); in clearUserRestrictions() method
122 boolean clearUserRestrictions(Object clientToken, Integer userId); in clearUserRestrictions() method
H A DAppOpsRestrictionsImpl.java187 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 DAppOpsService.java6119 mAppOpsRestrictions.clearUserRestrictions(token, userId);
6129 mAppOpsRestrictions.clearUserRestrictions(token);