Home
last modified time | relevance | path

Searched refs:userInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java57 UserInfo userInfo = details.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()
90 UserInfo userInfo = details.createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() local
92 details.removeUser(userInfo.id); in testRemoveUser()
94 assertFalse(findUser(userInfo.id)); in testRemoveUser()
/frameworks/base/services/java/com/android/server/pm/
DUserManager.java206 private void writeUserLocked(UserInfo userInfo) { in writeUserLocked() argument
209 final File mUserFile = new File(mUsersDir, userInfo.id + ".xml"); in writeUserLocked()
220 serializer.attribute(null, ATTR_ID, Integer.toString(userInfo.id)); in writeUserLocked()
221 serializer.attribute(null, ATTR_FLAGS, Integer.toString(userInfo.flags)); in writeUserLocked()
224 serializer.text(userInfo.name); in writeUserLocked()
231 Slog.e(LOG_TAG, "Error writing user info " + userInfo.id + "\n" + ioe); in writeUserLocked()
327 UserInfo userInfo = new UserInfo(id, name, flags); in readUser() local
328 return userInfo; in readUser()
345 UserInfo userInfo = new UserInfo(userId, name, flags); in createUser() local
351 mUsers.put(userId, userInfo); in createUser()
[all …]
DPackageManagerService.java9402 UserInfo userInfo = sUserManager.createUser(name, flags); in createUser() local
9403 if (userInfo != null) { in createUser()
9405 addedIntent.putExtra(Intent.EXTRA_USERID, userInfo.id); in createUser()
9408 return userInfo; in createUser()
/frameworks/base/core/java/android/net/
DUri.java1040 private Part userInfo; field in Uri.AbstractHierarchicalUri
1043 return userInfo == null in getUserInfoPart()
1044 ? userInfo = Part.fromEncoded(parseUserInfo()) : userInfo; in getUserInfoPart()
/frameworks/base/core/java/android/app/
DActivityManagerNative.java1546 UserInfo userInfo = getCurrentUser(); in onTransact() local
1548 userInfo.writeToParcel(reply, 0); in onTransact()
3697 UserInfo userInfo = UserInfo.CREATOR.createFromParcel(reply); in getCurrentUser() local
3700 return userInfo; in getCurrentUser()