Searched refs:userInfo (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 57 UserInfo userInfo = mUserManager.createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddUser() local 58 assertTrue(userInfo != null); in testAddUser() 63 if (user.id == userInfo.id && user.name.equals("Guest 1") in testAddUser() 74 removeUser(userInfo.id); in testAddUser() 92 UserInfo userInfo = mUserManager.createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() local 93 removeUser(userInfo.id); in testRemoveUser() 95 assertFalse(findUser(userInfo.id)); in testRemoveUser()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | UserManagerService.java | 624 private void writeUserLocked(UserInfo userInfo) { in writeUserLocked() argument 626 AtomicFile userFile = new AtomicFile(new File(mUsersDir, userInfo.id + XML_SUFFIX)); in writeUserLocked() 638 serializer.attribute(null, ATTR_ID, Integer.toString(userInfo.id)); in writeUserLocked() 639 serializer.attribute(null, ATTR_SERIAL_NO, Integer.toString(userInfo.serialNumber)); in writeUserLocked() 640 serializer.attribute(null, ATTR_FLAGS, Integer.toString(userInfo.flags)); in writeUserLocked() 641 serializer.attribute(null, ATTR_CREATION_TIME, Long.toString(userInfo.creationTime)); in writeUserLocked() 643 Long.toString(userInfo.lastLoggedInTime)); in writeUserLocked() 644 RestrictionsPinState pinState = mRestrictionsPinStates.get(userInfo.id); in writeUserLocked() 659 if (userInfo.iconPath != null) { in writeUserLocked() 660 serializer.attribute(null, ATTR_ICON_PATH, userInfo.iconPath); in writeUserLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QuickSettings.java | 202 UserInfo userInfo = null; in queryForUserInformation() local 204 userInfo = ActivityManagerNative.getDefault().getCurrentUser(); in queryForUserInformation() 206 new UserHandle(userInfo.id)); in queryForUserInformation() 213 final int userId = userInfo.id; in queryForUserInformation() 214 final String userName = userInfo.name; in queryForUserInformation()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 1043 private Part userInfo; field in Uri.AbstractHierarchicalUri 1046 return userInfo == null in getUserInfoPart() 1047 ? userInfo = Part.fromEncoded(parseUserInfo()) : userInfo; in getUserInfoPart()
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncManager.java | 511 UserInfo userInfo = UserManager.get(mContext).getUserInfo(userId); in getIsSyncable() local 514 if (userInfo == null || !userInfo.isRestricted()) return isSyncable; in getIsSyncable() 2216 final UserInfo userInfo = mUserManager.getUserInfo(op.userId); in maybeStartNextSyncLocked() local 2217 if (userInfo == null) { in maybeStartNextSyncLocked()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 1737 UserInfo userInfo = getCurrentUser(); in onTransact() local 1739 userInfo.writeToParcel(reply, 0); in onTransact() 4291 UserInfo userInfo = UserInfo.CREATOR.createFromParcel(reply); in getCurrentUser() local 4294 return userInfo; in getCurrentUser()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityManagerService.java | 16054 final UserInfo userInfo = getUserManagerLocked().getUserInfo(userId); in switchUser() local 16055 if (userInfo == null) { in switchUser() 16119 if ((userInfo.flags&UserInfo.FLAG_INITIALIZED) == 0) { in switchUser() 16135 getUserManagerLocked().makeInitialized(userInfo.id); in switchUser()
|