Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1318 ClientRestrictionState restrictionState = mOpUserRestrictions.valueAt(i); in isOpRestricted() local
1319 if (restrictionState.hasRestriction(code, packageName, userHandle)) { in isOpRestricted()
2213 ClientRestrictionState restrictionState = mOpUserRestrictions.get(token); in setUserRestrictionNoCheck() local
2215 if (restrictionState == null) { in setUserRestrictionNoCheck()
2217 restrictionState = new ClientRestrictionState(token); in setUserRestrictionNoCheck()
2221 mOpUserRestrictions.put(token, restrictionState); in setUserRestrictionNoCheck()
2224 if (restrictionState.setRestriction(code, restricted, exceptionPackages, userHandle)) { in setUserRestrictionNoCheck()
2228 if (restrictionState.isDefault()) { in setUserRestrictionNoCheck()
2230 restrictionState.destroy(); in setUserRestrictionNoCheck()