Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java38 private static Map<Integer, Map<String, Boolean>> sUserRestrictionMap = new HashMap<>(); field in ShadowCarUserManagerHelper
48 sUserRestrictionMap.clear(); in reset()
168 Map<String, Boolean> permissionsMap = sUserRestrictionMap.getOrDefault(userInfo.id, in setUserRestriction()
171 sUserRestrictionMap.put(userInfo.id, permissionsMap); in setUserRestriction()
177 if (!sUserRestrictionMap.containsKey(userInfo.id)) { in hasUserRestriction()
180 return sUserRestrictionMap.get(userInfo.id).getOrDefault(restriction, false); in hasUserRestriction()