Searched refs:userSerialNumber (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/ |
D | AmbientBrightnessStatsTracker.java | 176 int userSerialNumber = mInjector.getUserSerialNumber(mUserManager, in writeToXML() local 178 if (userSerialNumber != -1 && userDayStats.getLocalDate().isAfter(cutOffDate)) { in writeToXML() 180 out.attributeInt(null, ATTR_USER, userSerialNumber); in writeToXML() 229 int userSerialNumber = parser.getAttributeInt(null, ATTR_USER); in readFromXML() local 246 int userId = mInjector.getUserId(mUserManager, userSerialNumber); in readFromXML() 359 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 360 return userManager.getUserHandle(userSerialNumber); in getUserId()
|
D | BrightnessTracker.java | 1098 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 1099 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/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 | 1090 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument 1091 return userSerialNumber - 10; in getUserId()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 82 int getUserHandle(int userSerialNumber); in getUserHandle() argument
|
D | UserManager.java | 5177 public @UserIdInt int getUserHandle(int userSerialNumber) { in getUserHandle() argument 5179 return mService.getUserHandle(userSerialNumber); in getUserHandle()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 900 final int userSerialNumber = um.getUserSerialNumber(userId); 901 mVold.onUserAdded(userId, userSerialNumber);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 5303 public int getUserHandle(int userSerialNumber) { in getUserHandle() argument 5307 if (info != null && info.serialNumber == userSerialNumber) return userId; in getUserHandle()
|