Home
last modified time | relevance | path

Searched refs:parentUserId (Results 1 – 11 of 11) 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.java10229 int parentUserId = getProfileParentId(userId); in enableSystemApp() local
10230 if (!isDemo && !isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()
10272 int parentUserId = getProfileParentId(userId); in enableSystemAppWithIntent() local
10278 parentUserId) in enableSystemAppWithIntent()
10288 if (isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemAppWithIntent()
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl83 void addSharedAccountsFromParentUser(int parentUserId, int userId, String opPackageName); in addSharedAccountsFromParentUser() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1454 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts() local
1457 if (parentUserId < 0) { in syncSharedAccounts()
1464 copyAccountToUser(null /*no response*/, sa, parentUserId, userId); in syncSharedAccounts()
1748 final int parentUserId){ in completeCloningAccount() argument
1764 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount()
1883 private void addAccountToLinkedRestrictedUsers(Account account, int parentUserId) { in addAccountToLinkedRestrictedUsers() argument
1886 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1890 MESSAGE_COPY_SHARED_ACCOUNT, parentUserId, user.id, account)); in addAccountToLinkedRestrictedUsers()
2096 int parentUserId = accounts.userId; in renameAccountInternal() local
2097 if (canHaveProfile(parentUserId)) { in renameAccountInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java854 int parentUserId = profile.profileGroupId; in getProfileParentLU() local
855 if (parentUserId == userHandle || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
858 return getUserInfoLU(parentUserId); in getProfileParentLU()
3065 public UserInfo createRestrictedProfile(String name, int parentUserId) { in createRestrictedProfile() argument
3068 name, UserInfo.FLAG_RESTRICTED, parentUserId, null); in createRestrictedProfile()
3366 private void sendProfileRemovedBroadcast(int parentUserId, int removedUserId) { in sendProfileRemovedBroadcast() argument
3372 mContext.sendBroadcastAsUser(managedProfileIntent, new UserHandle(parentUserId), null); in sendProfileRemovedBroadcast()
4453 int getFreeProfileBadgeLU(int parentUserId) { in getFreeProfileBadgeLU() argument
4461 && ui.profileGroupId == parentUserId in getFreeProfileBadgeLU()
DPackageManagerShellCommand.java2460 int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM; in runCreateUser() local
2461 info = um.createRestrictedProfile(name, parentUserId); in runCreateUser()
2462 accm.addSharedAccountsFromParentUser(parentUserId, userId, in runCreateUser()
DPackageManagerService.java7403 String resolvedType, int flags, int sourceUserId, int parentUserId) {
7409 resolvedType, flags, parentUserId);
7428 long verificationState = getDomainVerificationStatusLPr(ps, parentUserId);
7433 sourceUserId, parentUserId);
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java1328 final int parentUserId = userManagerInternal.getProfileParentId(userId); in resolveUserId() local
1329 if (result.indexOf(parentUserId) < 0) { in resolveUserId()
1330 result.add(parentUserId); in resolveUserId()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2010 final int parentUserId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID);
2011 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) {
2014 return isUserRunning(parentUserId, 0);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1148 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser() local
1149 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()