Home
last modified time | relevance | path

Searched refs:parentUserId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java178 int parentUserId = userHandle.getIdentifier(); in buildNotification() local
184 parentUserId = mService.getProfileParentId(userHandle.getIdentifier()); in buildNotification()
210 UserHandle.of(parentUserId)); in buildNotification()
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl80 void addSharedAccountsFromParentUser(int parentUserId, int userId, String opPackageName); in addSharedAccountsFromParentUser() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1455 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts() local
1458 if (parentUserId < 0) { in syncSharedAccounts()
1465 copyAccountToUser(null /*no response*/, sa, parentUserId, userId); in syncSharedAccounts()
1754 final int parentUserId){ in completeCloningAccount() argument
1770 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount()
1889 private void addAccountToLinkedRestrictedUsers(Account account, int parentUserId) { in addAccountToLinkedRestrictedUsers() argument
1892 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1896 MESSAGE_COPY_SHARED_ACCOUNT, parentUserId, user.id, account)); in addAccountToLinkedRestrictedUsers()
2102 int parentUserId = accounts.userId; in renameAccountInternal() local
2103 if (canHaveProfile(parentUserId)) { in renameAccountInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java947 int parentUserId = profile.profileGroupId; in getProfileParentLU() local
948 if (parentUserId == userId || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
951 return getUserInfoLU(parentUserId); in getProfileParentLU()
3710 public UserInfo createRestrictedProfileWithThrow(String name, int parentUserId) { in createRestrictedProfileWithThrow() argument
3713 name, UserManager.USER_TYPE_FULL_RESTRICTED, 0, parentUserId, null); in createRestrictedProfileWithThrow()
4027 private void sendProfileRemovedBroadcast(int parentUserId, int removedUserId) { in sendProfileRemovedBroadcast() argument
4031 final UserHandle parentHandle = new UserHandle(parentUserId); in sendProfileRemovedBroadcast()
5297 int getFreeProfileBadgeLU(int parentUserId, String userType) { in getFreeProfileBadgeLU() argument
5304 && ui.profileGroupId == parentUserId in getFreeProfileBadgeLU()
DPackageManagerShellCommand.java2651 int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM; in runCreateUser() local
2652 info = um.createRestrictedProfileWithThrow(name, parentUserId); in runCreateUser()
2653 accm.addSharedAccountsFromParentUser(parentUserId, userId, in runCreateUser()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2290 final int parentUserId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID);
2291 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) {
2294 return isUserRunning(parentUserId, 0);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1200 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser() local
1201 if (parentUserId == mCurrentUserId) { in unlockUser()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3480 private void removeWidgetsForPackageLocked(String pkgName, int userId, int parentUserId) { in removeWidgetsForPackageLocked() argument
3487 deleteWidgetsLocked(provider, parentUserId); in removeWidgetsForPackageLocked()