Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java175 int userSerialNumber = mInjector.getUserSerialNumber(mUserManager, in writeToXML() local
177 if (userSerialNumber != -1 && userDayStats.getLocalDate().isAfter(cutOffDate)) { in writeToXML()
179 out.attributeInt(null, ATTR_USER, userSerialNumber); in writeToXML()
228 int userSerialNumber = parser.getAttributeInt(null, ATTR_USER); in readFromXML() local
245 int userId = mInjector.getUserId(mUserManager, userSerialNumber); in readFromXML()
350 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
351 return userManager.getUserHandle(userSerialNumber); in getUserId()
DBrightnessTracker.java1113 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
1114 return userManager.getUserHandle(userSerialNumber); in getUserId()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManager.java136 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/
DAmbientBrightnessStatsTrackerTest.java421 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
422 return userSerialNumber - 10; in getUserId()
DBrightnessTrackerTest.java1055 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
1056 return userSerialNumber - 10; in getUserId()
/frameworks/base/core/java/android/os/
DIUserManager.aidl75 int getUserHandle(int userSerialNumber); in getUserHandle() argument
DUserManager.java4516 public @UserIdInt int getUserHandle(int userSerialNumber) { in getUserHandle() argument
4518 return mService.getUserHandle(userSerialNumber); in getUserHandle()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java858 final int userSerialNumber = um.getUserSerialNumber(userId);
859 mVold.onUserAdded(userId, userSerialNumber);
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java4697 public int getUserHandle(int userSerialNumber) { in getUserHandle() argument
4701 if (info != null && info.serialNumber == userSerialNumber) return userId; in getUserHandle()