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.java10220 int parentUserId = getProfileParentId(userId); in enableSystemApp() local
10221 if (!isDemo && !isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()
10263 int parentUserId = getProfileParentId(userId); in enableSystemAppWithIntent() local
10269 parentUserId) in enableSystemAppWithIntent()
10279 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.java1427 int parentUserId = UserManager.isSplitSystemUser() in syncSharedAccounts() local
1430 if (parentUserId < 0) { in syncSharedAccounts()
1437 copyAccountToUser(null /*no response*/, sa, parentUserId, userId); in syncSharedAccounts()
1721 final int parentUserId){ in completeCloningAccount() argument
1737 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount()
1856 private void addAccountToLinkedRestrictedUsers(Account account, int parentUserId) { in addAccountToLinkedRestrictedUsers() argument
1859 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers()
1863 MESSAGE_COPY_SHARED_ACCOUNT, parentUserId, user.id, account)); in addAccountToLinkedRestrictedUsers()
2069 int parentUserId = accounts.userId; in renameAccountInternal() local
2070 if (canHaveProfile(parentUserId)) { in renameAccountInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java809 int parentUserId = profile.profileGroupId; in getProfileParentLU() local
810 if (parentUserId == userHandle || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
813 return getUserInfoLU(parentUserId); in getProfileParentLU()
2844 public UserInfo createRestrictedProfile(String name, int parentUserId) { in createRestrictedProfile() argument
2847 name, UserInfo.FLAG_RESTRICTED, parentUserId, null); in createRestrictedProfile()
3139 private void sendProfileRemovedBroadcast(int parentUserId, int removedUserId) { in sendProfileRemovedBroadcast() argument
3145 mContext.sendBroadcastAsUser(managedProfileIntent, new UserHandle(parentUserId), null); in sendProfileRemovedBroadcast()
4161 int getFreeProfileBadgeLU(int parentUserId) { in getFreeProfileBadgeLU() argument
4169 && ui.profileGroupId == parentUserId in getFreeProfileBadgeLU()
DPackageManagerShellCommand.java2291 int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM; in runCreateUser() local
2292 info = um.createRestrictedProfile(name, parentUserId); in runCreateUser()
2293 accm.addSharedAccountsFromParentUser(parentUserId, userId, in runCreateUser()
DPackageManagerService.java7470 String resolvedType, int flags, int sourceUserId, int parentUserId) {
7476 resolvedType, flags, parentUserId);
7495 long verificationState = getDomainVerificationStatusLPr(ps, parentUserId);
7500 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.java1965 final int parentUserId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID);
1966 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) {
1969 return isUserRunning(parentUserId, 0);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1147 int parentUserId = mSecurityPolicy.resolveProfileParentLocked(userId); in unlockUser() local
1148 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()