Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DRestrictionsSet.java67 mUserRestrictions.put(userId, restrictions); in RestrictionsSet()
85 mUserRestrictions.delete(userId); in updateRestrictions()
128 mUserRestrictions.removeAt(i); in moveRestriction()
139 return mUserRestrictions.size() == 0; in isEmpty()
180 return mUserRestrictions.get(userId); in getRestrictions()
194 mUserRestrictions.remove(userId); in remove()
202 mUserRestrictions.clear(); in removeAllRestrictions()
269 return mUserRestrictions.contains(userId); in containsKey()
274 return mUserRestrictions.size(); in size()
279 return mUserRestrictions.keyAt(index); in keyAt()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsRestrictionsImpl.java51 private final ArrayMap<Object, SparseArray<SparseBooleanArray>> mUserRestrictions = field in AppOpsRestrictionsImpl
150 return mUserRestrictions.containsKey(clientToken); in hasUserRestrictions()
155 mUserRestrictions.get(clientToken); in getUserRestriction()
190 changed |= mUserRestrictions.remove(clientToken) != null; in clearUserRestrictions()
231 mUserRestrictions.get(clientToken); in clearUserRestrictions()
236 mUserRestrictions.remove(clientToken); in clearUserRestrictions()
256 if (!mUserRestrictions.containsKey(token)) { in putUserRestriction()
257 mUserRestrictions.put(token, new SparseArray<>()); in putUserRestriction()
284 mUserRestrictions.remove(token); in putUserRestriction()
354 final int userRestrictionCount = mUserRestrictions.size(); in dumpRestrictions()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A 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()