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/services/core/java/com/android/server/pm/
DUserManagerService.java1200 && profile.restrictedProfileParentId == callingUserId) { in hasRestrictedProfiles()
2114 && (userData.info.restrictedProfileParentId in upgradeIfNecessaryLP()
2116 userData.info.restrictedProfileParentId = UserHandle.USER_SYSTEM; in upgradeIfNecessaryLP()
2268 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2270 Integer.toString(userInfo.restrictedProfileParentId)); in writeUserLP()
2405 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
2445 restrictedProfileParentId = readIntAttribute(parser, in readUserLP()
2502 userInfo.restrictedProfileParentId = restrictedProfileParentId; in readUserLP()
2703 if (parent.info.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in createUserInternalUnchecked()
2704 parent.info.restrictedProfileParentId = parent.info.id; in createUserInternalUnchecked()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java121 restrictedProfileA.restrictedProfileParentId = primaryUser.id;
122 restrictedProfileB.restrictedProfileParentId = secondaryUser.id;
285 tempProfile.restrictedProfileParentId = primaryUser.id; in testLockdownAddingAProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java285 mVpnUserId = newUserInfo.restrictedProfileParentId; in onUserSwitched()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1173 if (user.isRestricted() && (user.restrictedProfileParentId == userHandle)) { in createUserAndRestrictedProfilesRanges()
1248 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserAdded()
1269 if (user.isRestricted() && user.restrictedProfileParentId == mUserHandle) { in onUserRemoved()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1431 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1861 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
2080 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal()
2344 if (user.isRestricted() && parentUserId == (user.restrictedProfileParentId)) { in removeAccountInternal()