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.java111 public int restrictedProfileParentId; field in UserInfo
129 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
236 restrictedProfileParentId = orig.restrictedProfileParentId; in UserInfo()
266 dest.writeInt(restrictedProfileParentId); in writeToParcel()
292 restrictedProfileParentId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java130 user.restrictedProfileParentId = 4; in createUser()
144 assertEquals("restricted profile parent not preseved", one.restrictedProfileParentId, in assertUserInfoEquals()
145 two.restrictedProfileParentId); in assertUserInfoEquals()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java69 restrictedProfileA.restrictedProfileParentId = primaryUser.id;
70 restrictedProfileB.restrictedProfileParentId = secondaryUser.id;
218 tempProfile.restrictedProfileParentId = primaryUser.id; in testLockdownAddingAProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1894 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
1896 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
2048 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2050 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
2185 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
2225 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2282 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
2494 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUnchecked()
2495 parent.info.restrictedProfileParentId = parent.info.id; in createUserInternalUnchecked()
2498 userInfo.restrictedProfileParentId = parent.info.restrictedProfileParentId; in createUserInternalUnchecked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java278 mVpnUserId = newUserInfo.restrictedProfileParentId; in onUserSwitched()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java898 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) { in createUserAndRestrictedProfilesRanges()
982 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserAdded()
1006 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserRemoved()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1403 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1833 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2052 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
2317 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()