Searched refs:restrictionState (Results 1 – 1 of 1) sorted by relevance
1318 ClientRestrictionState restrictionState = mOpUserRestrictions.valueAt(i); in isOpRestricted() local1319 if (restrictionState.hasRestriction(code, packageName, userHandle)) { in isOpRestricted()2213 ClientRestrictionState restrictionState = mOpUserRestrictions.get(token); in setUserRestrictionNoCheck() local2215 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()