Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DRestrictionsSet.java58 private final SparseArray<Bundle> mUserRestrictions = new SparseArray<>(0); field in RestrictionsSet
67 mUserRestrictions.put(userId, restrictions); in RestrictionsSet()
78 !UserRestrictionsUtils.areEqual(mUserRestrictions.get(userId), restrictions); in updateRestrictions()
83 mUserRestrictions.put(userId, restrictions); in updateRestrictions()
85 mUserRestrictions.delete(userId); in updateRestrictions()
97 for (int i = 0; i < mUserRestrictions.size(); i++) { in removeRestrictionsForAllUsers()
98 final Bundle restrictions = mUserRestrictions.valueAt(i); in removeRestrictionsForAllUsers()
112 for (int i = 0; i < mUserRestrictions.size(); i++) { in moveRestriction()
113 final int userId = mUserRestrictions.keyAt(i); in moveRestriction()
114 final Bundle from = mUserRestrictions.valueAt(i); in moveRestriction()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictionsImpl.java52 private final ArrayMap<Object, SparseArray<SparseBooleanArray>> mUserRestrictions = field in AppOpsRestrictionsImpl
151 return mUserRestrictions.containsKey(clientToken); in hasUserRestrictions()
156 mUserRestrictions.get(clientToken); in getUserRestriction()
191 changed |= mUserRestrictions.remove(clientToken) != null; in clearUserRestrictions()
199 SparseArray<SparseBooleanArray> userIdRestrictedCodes = mUserRestrictions.get(clientToken); in collectAllUserRestrictedCodes()
228 mUserRestrictions.get(clientToken); in clearUserRestrictions()
233 mUserRestrictions.remove(clientToken); in clearUserRestrictions()
253 if (!mUserRestrictions.containsKey(token)) { in putUserRestriction()
254 mUserRestrictions.put(token, new SparseArray<>()); in putUserRestriction()
256 SparseArray<SparseBooleanArray> userIdRestrictedCodes = mUserRestrictions.get(token); in putUserRestriction()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiRestrictionsCache.java48 protected Bundle mUserRestrictions; field in WifiRestrictionsCache
94 mUserRestrictions = mUserManager.getUserRestrictions(); in WifiRestrictionsCache()
102 if (mUserRestrictions == null) { in getRestriction()
110 restriction = mUserRestrictions.getBoolean(key); in getRestriction()