Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java183 int parentUserId = userHandle.getIdentifier(); in buildNotification() local
189 parentUserId = mService.getProfileParentId(userHandle.getIdentifier()); in buildNotification()
215 UserHandle.of(parentUserId)); in buildNotification()
DDevicePolicyManagerService.java9422 int parentUserId = getProfileParentId(userId); in enableSystemApp() local
9423 if (!isDemo && !isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()
9456 int parentUserId = getProfileParentId(userId); in enableSystemAppWithIntent() local
9462 parentUserId) in enableSystemAppWithIntent()
9473 if (isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemAppWithIntent()
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl85 void addSharedAccountsFromParentUser(int parentUserId, int userId, String opPackageName); in addSharedAccountsFromParentUser() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1430 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts() local
1433 if (parentUserId < 0) { in syncSharedAccounts()
1440 copyAccountToUser(null /*no response*/, sa, parentUserId, userId); in syncSharedAccounts()
1724 final int parentUserId){ in completeCloningAccount() argument
1740 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount()
1858 private void addAccountToLinkedRestrictedUsers(Account account, int parentUserId) { in addAccountToLinkedRestrictedUsers() argument
1861 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1865 MESSAGE_COPY_SHARED_ACCOUNT, parentUserId, user.id, account)); in addAccountToLinkedRestrictedUsers()
2071 int parentUserId = accounts.userId; in renameAccountInternal() local
2072 if (canHaveProfile(parentUserId)) { in renameAccountInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java794 int parentUserId = profile.profileGroupId; in getProfileParentLU() local
795 if (parentUserId == userHandle || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
798 return getUserInfoLU(parentUserId); in getProfileParentLU()
2764 public UserInfo createRestrictedProfile(String name, int parentUserId) { in createRestrictedProfile() argument
2767 name, UserInfo.FLAG_RESTRICTED, parentUserId, null); in createRestrictedProfile()
3045 private void sendProfileRemovedBroadcast(int parentUserId, int removedUserId) { in sendProfileRemovedBroadcast() argument
3051 mContext.sendBroadcastAsUser(managedProfileIntent, new UserHandle(parentUserId), null); in sendProfileRemovedBroadcast()
4064 int getFreeProfileBadgeLU(int parentUserId) { in getFreeProfileBadgeLU() argument
4072 && ui.profileGroupId == parentUserId in getFreeProfileBadgeLU()
DPackageManagerShellCommand.java2051 int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM; in runCreateUser() local
2052 info = um.createRestrictedProfile(name, parentUserId); in runCreateUser()
2053 accm.addSharedAccountsFromParentUser(parentUserId, userId, in runCreateUser()
DPackageManagerService.java6849 String resolvedType, int flags, int sourceUserId, int parentUserId) {
6855 resolvedType, flags, parentUserId);
6874 long verificationState = getDomainVerificationStatusLPr(ps, parentUserId);
6879 sourceUserId, parentUserId);
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1821 final int parentUserId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID);
1822 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) {
1825 return isUserRunning(parentUserId, 0);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1089 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser() local
1090 if (parentUserId == mCurrentUserId) { in unlockUser()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3418 private void removeWidgetsForPackageLocked(String pkgName, int userId, int parentUserId) { in removeWidgetsForPackageLocked() argument
3425 deleteWidgetsLocked(provider, parentUserId); in removeWidgetsForPackageLocked()