Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DLauncherUserInfo.java103 public Builder(@NonNull String userType, int userSerialNumber) { in Builder() argument
105 this.mUserSerialNumber = userSerialNumber; in Builder()
117 private LauncherUserInfo(@NonNull String userType, int userSerialNumber) { in LauncherUserInfo() argument
119 this.mUserSerialNumber = userSerialNumber; in LauncherUserInfo()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java180 int userSerialNumber = mInjector.getUserSerialNumber(mUserManager, in writeToXML() local
182 if (userSerialNumber != -1 && userDayStats.getLocalDate().isAfter(cutOffDate)) { in writeToXML()
184 out.attributeInt(null, ATTR_USER, userSerialNumber); in writeToXML()
233 int userSerialNumber = parser.getAttributeInt(null, ATTR_USER); in readFromXML() local
250 int userId = mInjector.getUserId(mUserManager, userSerialNumber); in readFromXML()
363 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
364 return userManager.getUserHandle(userSerialNumber); in getUserId()
DBrightnessTracker.java1125 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
1126 return userManager.getUserHandle(userSerialNumber); in getUserId()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManager.java132 private void storeUserSerialNumber(int userId, long userSerialNumber) { in storeUserSerialNumber() argument
134 mSerialNumbers.put(userId, userSerialNumber); in storeUserSerialNumber()
135 mDatabase.setUserSerialNumber(userId, userSerialNumber); in storeUserSerialNumber()
/frameworks/base/core/java/com/android/internal/widget/
DLockSettingsInternal.java70 public abstract void createNewUser(@UserIdInt int userId, int userSerialNumber); in createNewUser() argument
DLockPatternUtils.java1993 public void createNewUser(@UserIdInt int userId, int userSerialNumber) { in createNewUser() argument
1994 getLockSettingsInternal().createNewUser(userId, userSerialNumber); in createNewUser()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java421 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
422 return userSerialNumber - 10; in getUserId()
DBrightnessTrackerTest.java1148 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId() argument
1149 return userSerialNumber - 10; in getUserId()
/frameworks/base/core/java/android/os/
DIUserManager.aidl90 int getUserHandle(int userSerialNumber); in getUserHandle() argument
DUserManager.java6396 public @UserIdInt int getUserHandle(int userSerialNumber) { in getUserHandle() argument
6398 return mService.getUserHandle(userSerialNumber); in getUserHandle()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2541 private void createNewUser(@UserIdInt int userId, int userSerialNumber) { in createNewUser() argument
2561 mEarlyCreatedUsers.put(userId, userSerialNumber); in createNewUser()
2565 removeStateForReusedUserIdIfNecessary(userId, userSerialNumber); in createNewUser()
3687 public void createNewUser(@UserIdInt int userId, int userSerialNumber) {
3688 LockSettingsService.this.createNewUser(userId, userSerialNumber);
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java873 final int userSerialNumber = um.getUserSerialNumber(userId);
877 mVold.onUserAdded(userId, userSerialNumber,
880 mVold.onUserAdded(userId, userSerialNumber,
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java6764 public int getUserHandle(int userSerialNumber) {
6768 if (info != null && info.serialNumber == userSerialNumber) return userId;