Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java757 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts() local
760 if (parentUserId < 0) { in syncSharedAccounts()
767 copyAccountToUser(null /*no response*/, sa, parentUserId, userId); in syncSharedAccounts()
1112 final int parentUserId){ in completeCloningAccount() argument
1128 UserAccounts owner = getUserAccounts(parentUserId); in completeCloningAccount()
1130 for (Account acc : getAccounts(parentUserId, in completeCloningAccount()
1248 private void addAccountToLinkedRestrictedUsers(Account account, int parentUserId) { in addAccountToLinkedRestrictedUsers() argument
1251 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1255 MESSAGE_COPY_SHARED_ACCOUNT, parentUserId, user.id, account)); in addAccountToLinkedRestrictedUsers()
1459 int parentUserId = accounts.userId; in renameAccountInternal() local
[all …]
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl79 void addSharedAccountsFromParentUser(int parentUserId, int userId); in addSharedAccountsFromParentUser() argument
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java682 int parentUserId = profile.profileGroupId; in getProfileParentLU() local
683 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
686 return getUserInfoLU(parentUserId); in getProfileParentLU()
2300 public UserInfo createRestrictedProfile(String name, int parentUserId) { in createRestrictedProfile() argument
2302 final UserInfo user = createProfileForUser(name, UserInfo.FLAG_RESTRICTED, parentUserId); in createRestrictedProfile()
2549 private void sendProfileRemovedBroadcast(int parentUserId, int removedUserId) { in sendProfileRemovedBroadcast() argument
2555 mContext.sendBroadcastAsUser(managedProfileIntent, new UserHandle(parentUserId), null); in sendProfileRemovedBroadcast()
DPackageManagerService.java5498 String resolvedType, int flags, int sourceUserId, int parentUserId) {
5504 resolvedType, flags, parentUserId);
5523 long verificationState = getDomainVerificationStatusLPr(ps, parentUserId);
5528 sourceUserId, parentUserId);
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java940 int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM; in runCreateUser() local
941 info = mUm.createRestrictedProfile(name, parentUserId); in runCreateUser()
942 mAm.addSharedAccountsFromParentUser(parentUserId, userId); in runCreateUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2707 int parentUserId = userHandle.getIdentifier(); in manageNotification() local
2712 parentUserId = getProfileParentId(userHandle.getIdentifier()); in manageNotification()
2730 new UserHandle(parentUserId)); in manageNotification()
7407 int parentUserId = getProfileParentId(userId); in enableSystemApp() local
7408 if (!isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()
7436 int parentUserId = getProfileParentId(userId); in enableSystemAppWithIntent() local
7442 parentUserId) in enableSystemAppWithIntent()
7453 if (isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemAppWithIntent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java905 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser() local
906 if (parentUserId == mCurrentUserId) { in unlockUser()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3222 private void removeWidgetsForPackageLocked(String pkgName, int userId, int parentUserId) { in removeWidgetsForPackageLocked() argument
3229 deleteWidgetsLocked(provider, parentUserId); in removeWidgetsForPackageLocked()