Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java195 public int restrictedProfileParentId; field in UserInfo
248 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
417 restrictedProfileParentId = orig.restrictedProfileParentId; in UserInfo()
472 dest.writeInt(restrictedProfileParentId); in writeToParcel()
501 restrictedProfileParentId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java225 user.restrictedProfileParentId = 4; in createUser()
241 assertEquals("restricted profile parent not preseved", one.restrictedProfileParentId, in assertUserInfoEquals()
242 two.restrictedProfileParentId); in assertUserInfoEquals()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1567 && profile.restrictedProfileParentId == callingUserId) { in hasRestrictedProfiles()
2643 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
2645 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
2885 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2887 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
3030 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
3074 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
3144 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
3476 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUncheckedNoTracing()
3477 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.java300 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.java1456 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1892 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2111 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
2366 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()