Home
last modified time | relevance | path

Searched refs:restrictedProfileParentId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java121 public int restrictedProfileParentId; field in UserInfo
143 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
256 restrictedProfileParentId = orig.restrictedProfileParentId; in UserInfo()
287 dest.writeInt(restrictedProfileParentId); in writeToParcel()
314 restrictedProfileParentId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java131 user.restrictedProfileParentId = 4; in createUser()
145 assertEquals("restricted profile parent not preseved", one.restrictedProfileParentId, in assertUserInfoEquals()
146 two.restrictedProfileParentId); in assertUserInfoEquals()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1240 && profile.restrictedProfileParentId == callingUserId) { in hasRestrictedProfiles()
2177 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
2179 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
2332 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2334 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
2477 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
2517 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2579 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
2783 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUnchecked()
2784 parent.info.restrictedProfileParentId = parent.info.id; in createUserInternalUnchecked()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java122 restrictedProfileA.restrictedProfileParentId = primaryUser.id;
123 restrictedProfileB.restrictedProfileParentId = secondaryUser.id;
393 tempProfile.restrictedProfileParentId = primaryUser.id; in testLockdownAddingAProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java299 mVpnUserId = newUserInfo.restrictedProfileParentId; in onUserSwitched()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1201 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) { in createUserAndRestrictedProfilesRanges()
1281 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserAdded()
1308 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserRemoved()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1428 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1859 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2078 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
2343 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17433 Landroid/content/pm/UserInfo;->restrictedProfileParentId:I