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.java144 public int restrictedProfileParentId; field in UserInfo
178 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
306 restrictedProfileParentId = orig.restrictedProfileParentId; in UserInfo()
354 dest.writeInt(restrictedProfileParentId); in writeToParcel()
382 restrictedProfileParentId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java131 user.restrictedProfileParentId = 4; in createUser()
146 assertEquals("restricted profile parent not preseved", one.restrictedProfileParentId, in assertUserInfoEquals()
147 two.restrictedProfileParentId); in assertUserInfoEquals()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1299 && profile.restrictedProfileParentId == callingUserId) { in hasRestrictedProfiles()
2236 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
2238 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
2394 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2396 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
2539 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
2580 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2647 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
2928 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUncheckedNoTracing()
2929 parent.info.restrictedProfileParentId = parent.info.id; in createUserInternalUncheckedNoTracing()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java131 restrictedProfileA.restrictedProfileParentId = primaryUser.id;
132 restrictedProfileB.restrictedProfileParentId = secondaryUser.id;
438 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.java1338 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) {
1418 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) {
1445 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) {
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1455 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1886 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2105 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
2370 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16313 Landroid/content/pm/UserInfo;->restrictedProfileParentId:I