Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java101 public int restrictedProfileParentId; field in UserInfo
117 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
221 restrictedProfileParentId = orig.restrictedProfileParentId; in UserInfo()
250 dest.writeInt(restrictedProfileParentId); in writeToParcel()
275 restrictedProfileParentId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DVpnTest.java65 restrictedProfileA.restrictedProfileParentId = primaryUser.id;
66 restrictedProfileB.restrictedProfileParentId = secondaryUser.id;
210 tempProfile.restrictedProfileParentId = primaryUser.id; in testLockdownAddingAProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1742 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
1744 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
1857 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
1859 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
1979 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
2022 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2076 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
2258 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUnchecked()
2259 parent.info.restrictedProfileParentId = parent.info.id; in createUserInternalUnchecked()
2262 userInfo.restrictedProfileParentId = parent.info.restrictedProfileParentId; in createUserInternalUnchecked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java191 mVpnUserId = newUserInfo.restrictedProfileParentId; in onUserSwitched()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java873 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) { in createUserAndRestrictedProfilesRanges()
957 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserAdded()
981 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserRemoved()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java758 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1251 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1468 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
1693 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()