Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java2306 SparseArray<boolean[]> perUserRestrictions; field in AppOpsService.ClientRestrictionState
2319 if (perUserRestrictions == null && restricted) { in setRestriction()
2320 perUserRestrictions = new SparseArray<>(); in setRestriction()
2323 if (perUserRestrictions != null) { in setRestriction()
2324 boolean[] userRestrictions = perUserRestrictions.get(userId); in setRestriction()
2327 perUserRestrictions.put(userId, userRestrictions); in setRestriction()
2332 perUserRestrictions.remove(userId); in setRestriction()
2362 if (perUserRestrictions == null) { in hasRestriction()
2365 boolean[] restrictions = perUserRestrictions.get(userId); in hasRestriction()
2392 return perUserRestrictions == null || perUserRestrictions.size() <= 0; in isDefault()
[all …]