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.java106 public int restrictedProfileParentId; field in UserInfo
122 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
230 restrictedProfileParentId = orig.restrictedProfileParentId; in UserInfo()
259 dest.writeInt(restrictedProfileParentId); in writeToParcel()
284 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.java1788 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
1790 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
1915 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
1917 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
2037 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
2080 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2134 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
2318 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUnchecked()
2319 parent.info.restrictedProfileParentId = parent.info.id; in createUserInternalUnchecked()
2322 userInfo.restrictedProfileParentId = parent.info.restrictedProfileParentId; in createUserInternalUnchecked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java217 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.java884 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1378 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1597 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
1847 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()