Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsLegacyRestrictionsTest.java221 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/
DAppOpsRestrictions.java113 boolean clearUserRestrictions(Object clientToken); in clearUserRestrictions() method
122 boolean clearUserRestrictions(Object clientToken, Integer userId); in clearUserRestrictions() method
DAppOpsRestrictionsImpl.java188 public boolean clearUserRestrictions(Object clientToken) { in clearUserRestrictions() method in AppOpsRestrictionsImpl
224 public boolean clearUserRestrictions(Object clientToken, Integer userId) { in clearUserRestrictions() method in AppOpsRestrictionsImpl
DAppOpsService.java7046 mAppOpsRestrictions.clearUserRestrictions(token, userId);
7056 mAppOpsRestrictions.clearUserRestrictions(token);