Searched refs:userSerialNumber (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/ |
D | AmbientBrightnessStatsTracker.java | 177 int userSerialNumber = mInjector.getUserSerialNumber(mUserManager, in writeToXML() local 179 if (userSerialNumber != -1 && userDayStats.getLocalDate().isAfter(cutOffDate)) { in writeToXML() 181 out.attribute(null, ATTR_USER, Integer.toString(userSerialNumber)); in writeToXML() 232 String userSerialNumber = parser.getAttributeValue(null, ATTR_USER); in readFromXML() local 250 Integer.parseInt(userSerialNumber)); in readFromXML() 355 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 356 return userManager.getUserHandle(userSerialNumber); in getUserId()
|
D | BrightnessTracker.java | 1073 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 1074 return userManager.getUserHandle(userSerialNumber); in getUserId()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | CleanupManager.java | 136 private void storeUserSerialNumber(int userId, long userSerialNumber) { in storeUserSerialNumber() argument 138 mSerialNumbers.put(userId, userSerialNumber); in storeUserSerialNumber() 139 mDatabase.setUserSerialNumber(userId, userSerialNumber); in storeUserSerialNumber()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 71 int getUserHandle(int userSerialNumber); in getUserHandle() argument
|
D | UserManager.java | 3077 public @UserIdInt int getUserHandle(int userSerialNumber) { in getUserHandle() argument 3079 return mService.getUserHandle(userSerialNumber); in getUserHandle()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AmbientBrightnessStatsTrackerTest.java | 421 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 422 return userSerialNumber - 10; in getUserId()
|
D | BrightnessTrackerTest.java | 940 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 941 return userSerialNumber - 10; in getUserId()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 722 final int userSerialNumber = um.getUserSerialNumber(userId); 723 mVold.onUserAdded(userId, userSerialNumber);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3616 public int getUserHandle(int userSerialNumber) { in getUserHandle() argument 3620 if (info != null && info.serialNumber == userSerialNumber) return userId; in getUserHandle()
|