Home
last modified time | relevance | path

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

/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java114 private final BiMap<Integer, Long> userSerialNumbers = HashBiMap.create(); field in ShadowUserManager.UserManagerState
140 userSerialNumbers.put(id, (long) id); in UserManagerState()
193 return userManagerState.userSerialNumbers.get(userHandle.getIdentifier()); in addUserProfile()
321 if (!userManagerState.userSerialNumbers.containsKey(profileUserHandle)) { in addProfile()
323 userManagerState.userSerialNumbers.put(profileUserHandle, (long) profileUserHandle); in addProfile()
549 Long result = userManagerState.userSerialNumbers.get(userHandle.getIdentifier()); in getSerialNumberForUser()
559 userManagerState.userSerialNumbers.put(userHandle.getIdentifier(), serialNumber); in setSerialNumberForUser()
568 Integer userHandle = userManagerState.userSerialNumbers.inverse().get(serialNumber); in getUserForSerialNumber()
578 Long result = userManagerState.userSerialNumbers.get(userHandle); in getUserSerialNumber()
647 Integer userHandle = userManagerState.userSerialNumbers.inverse().get((long) serialNumber); in getUserHandle()
[all …]