Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java48 private static Map<Integer, Integer> userPidMap = new HashMap<>(); field in ShadowUserManager
455 ShadowProcess.setUid(userPidMap.get(userId)); in switchUser()
471 userPidMap.put( in addUser()
480 if (userPidMap != null && userPidMap.isEmpty() == false) { in reset()
481 ShadowProcess.setUid(userPidMap.get(UserHandle.USER_SYSTEM)); in reset()
483 userPidMap.clear(); in reset()
484 userPidMap.put(UserHandle.USER_SYSTEM, Process.myUid()); in reset()