Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserManager.java40 private static Map<Integer, List<UserInfo>> sProfiles = new ArrayMap<>(); field in ShadowUserManager
46 if (sProfiles.containsKey(userId)) { in getProfileIdsWithDisabled()
47 return sProfiles.get(userId).stream().mapToInt(userInfo -> userInfo.id).toArray(); in getProfileIdsWithDisabled()
54 if (sProfiles.containsKey(userHandle)) { in getProfiles()
55 return new ArrayList<>(sProfiles.get(userHandle)); in getProfiles()
63 sProfiles.putIfAbsent(userHandle, new ArrayList<>()); in addProfile()
64 sProfiles.get(userHandle).add(new UserInfo(profileUserHandle, profileName, profileFlags)); in addProfile()
118 sProfiles.clear(); in reset()