Home
last modified time | relevance | path

Searched refs:profileBadge (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java113 public int profileBadge; field in UserInfo
238 profileBadge = orig.profileBadge; in UserInfo()
267 dest.writeInt(profileBadge); in writeToParcel()
293 profileBadge = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java131 user.profileBadge = 2; in createUser()
146 assertEquals("profile badge not preseved", one.profileBadge, two.profileBadge); in assertUserInfoEquals()
DUserManagerServiceCreateProfileTest.java129 profile.profileBadge = nextBadge; in testProfileBadgeUnique()
148 profileBadgeOne.profileBadge = 1; in testProfileBadgeReuse()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java922 return userInfo != null ? userInfo.profileBadge : 0; in getManagedProfileBadge()
2047 Integer.toString(userInfo.profileBadge)); in writeUserLP()
2184 int profileBadge = 0; in readUserLP() local
2224 profileBadge = readIntAttribute(parser, ATTR_PROFILE_BADGE, 0); in readUserLP()
2281 userInfo.profileBadge = profileBadge; in readUserLP()
2478 userInfo.profileBadge = getFreeProfileBadgeLU(parentId); in createUserInternalUnchecked()
3772 && ui.profileBadge < maxManagedProfiles) { in getFreeProfileBadgeLU()
3773 usedBadges[ui.profileBadge] = true; in getFreeProfileBadgeLU()