Searched refs:userRestrictions (Results 1 – 2 of 2) sorted by relevance
2324 boolean[] userRestrictions = perUserRestrictions.get(userId); in setRestriction()2325 if (userRestrictions == null && restricted) { in setRestriction()2326 userRestrictions = new boolean[AppOpsManager._NUM_OP]; in setRestriction()2327 perUserRestrictions.put(userId, userRestrictions); in setRestriction()2329 if (userRestrictions != null && userRestrictions[code] != restricted) { in setRestriction()2330 userRestrictions[code] = restricted; in setRestriction()2331 if (!restricted && isDefault(userRestrictions)) { in setRestriction()2333 userRestrictions = null; in setRestriction()2338 if (userRestrictions != null) { in setRestriction()
656 Bundle userRestrictions; field in DevicePolicyManagerService.ActiveAdmin870 out, userRestrictions, TAG_USER_RESTRICTIONS); in writeToXml()1164 return userRestrictions != null && userRestrictions.size() > 0; in hasUserRestrictions()1168 if (userRestrictions == null) { in ensureUserRestrictions()1169 userRestrictions = new Bundle(); in ensureUserRestrictions()1171 return userRestrictions; in ensureUserRestrictions()1258 UserRestrictionsUtils.dumpRestrictions(pw, prefix + " ", userRestrictions); in dump()5855 admin.userRestrictions = null; in clearDeviceOwnerLocked()5922 admin.userRestrictions = null; in clearProfileOwnerLocked()7311 UserRestrictionsUtils.sortToGlobalAndLocal(deviceOwner.userRestrictions, in pushUserRestrictions()[all …]