Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java62 private static Map<Integer, Integer> userPidMap = new HashMap<>(); field in ShadowUserManager
632 ShadowProcess.setUid(userPidMap.get(userId)); in switchUser()
649 userPidMap.put( in addUser()
658 if (userPidMap != null && userPidMap.isEmpty() == false) { in reset()
659 ShadowProcess.setUid(userPidMap.get(UserHandle.USER_SYSTEM)); in reset()
661 userPidMap.clear(); in reset()
662 userPidMap.put(UserHandle.USER_SYSTEM, Process.myUid()); in reset()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java112 private final Map<Integer, Integer> userPidMap = new HashMap<>(); field in ShadowUserManager.UserManagerState
149 userPidMap.put(id, Process.myUid()); in UserManagerState()
1064 userManagerState.userPidMap.remove(userHandle); in removeUser()
1116 ShadowProcess.setUid(userManagerState.userPidMap.get(userId)); in switchUser()
1153 userManagerState.userPidMap.put( in addUser()