/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | OwnerShellData.java | 33 public final @UserIdInt int parentUserId; field in OwnerShellData 41 private OwnerShellData(@UserIdInt int userId, @UserIdInt int parentUserId, ComponentName admin, in OwnerShellData() argument 45 this.parentUserId = parentUserId; in OwnerShellData() 51 Preconditions.checkArgument(parentUserId != USER_NULL, in OwnerShellData() 53 Preconditions.checkArgument(parentUserId != userId, in OwnerShellData() 72 if (parentUserId != USER_NULL) { in toString() 73 sb.append(",parentUserId=").append(parentUserId); in toString() 93 static OwnerShellData forManagedProfileOwner(@UserIdInt int userId, @UserIdInt int parentUserId, in forManagedProfileOwner() argument 95 return new OwnerShellData(userId, parentUserId, admin, /* isDeviceOwner= */ false, in forManagedProfileOwner()
|
D | CertificateMonitor.java | 180 int parentUserId = userHandle.getIdentifier(); in buildNotification() local 186 parentUserId = mService.getProfileParentId(userHandle.getIdentifier()); in buildNotification() 212 null, UserHandle.of(parentUserId)); in buildNotification()
|
D | DevicePolicyManagerServiceShellCommand.java | 220 pw.printf(",ManagedProfileOwner(parentUserId=%d)", owner.parentUserId); in runListOwners()
|
D | DevicePolicyManagerService.java | 1413 private void sendPrivateSpaceRemovedNotification(int parentUserId) { in sendPrivateSpaceRemovedNotification() argument 1426 SystemMessage.NOTE_PROFILE_WIPED, notification, UserHandle.of(parentUserId)); in sendPrivateSpaceRemovedNotification() 1641 int parentUserId = mUserManagerInternal.getProfileParentId(userId); in listAllOwners() local 1642 boolean isProfile = parentUserId != userId; in listAllOwners() 1647 parentUserId, admin.info.getComponent()); in listAllOwners() 7912 private void updateTelephonyCrossProfileIntentFilters(int parentUserId, int profileUserId, 7917 mIPackageManager.clearCrossProfileIntentFilters(parentUserId, 7924 if (removeCrossProfileIntentFilter(filter, parentUserId, profileUserId)) { 7934 addCrossProfileIntentFilter(filter, parentUserId, profileUserId); 7941 void addCrossProfileIntentFilter(DefaultCrossProfileIntentFilter filter, int parentUserId, [all …]
|
D | DevicePolicyEngine.java | 429 private boolean isProfileOfUser(int childUserId, int parentUserId) { in isProfileOfUser() argument 431 return childUserId != parentUserId && parentInfo != null in isProfileOfUser() 432 && parentInfo.getUserHandle().getIdentifier() == parentUserId; in isProfileOfUser()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepository.kt | 108 fun removeBubblesForUser(@UserIdInt userId: Int, @UserIdInt parentUserId: Int): Boolean { in <lambda>() 109 if (parentUserId != -1) { in <lambda>() 110 return removeBubblesForUserWithParent(userId, parentUserId) in <lambda>() 127 @UserIdInt parentUserId: Int in <lambda>() 129 if (entitiesByUser.get(parentUserId) != null) { in <lambda>() 130 return entitiesByUser.get(parentUserId).removeIf { in <lambda>() 146 val parentUserId = entitiesByUser.keyAt(i) in <lambda>() constant 147 if (!activeUsers.contains(parentUserId)) { in <lambda>() 148 entitiesByUser.remove(parentUserId) in <lambda>() 150 } else if (entitiesByUser.get(parentUserId) != null) { in <lambda>() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentFilterHelper.java | 59 int parentUserId = mUserManagerInternal.getProfileParentId(userInfo.id); in updateDefaultCrossProfileIntentFilter() local 60 if (parentUserId != userInfo.id) { in updateDefaultCrossProfileIntentFilter() 62 mContext.getOpPackageName(), parentUserId); in updateDefaultCrossProfileIntentFilter() 63 clearCrossProfileIntentFilters(parentUserId, in updateDefaultCrossProfileIntentFilter() 66 mUserManagerInternal.setDefaultCrossProfileIntentFilters(parentUserId, in updateDefaultCrossProfileIntentFilter()
|
D | UserManagerInternal.java | 420 @UserIdInt int parentUserId, @UserIdInt int profileUserId); in setDefaultCrossProfileIntentFilters()
|
D | UserManagerService.java | 1659 int parentUserId = profile.profileGroupId; in getProfileParentLU() local 1660 if (parentUserId == userId || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU() 1663 return getUserInfoLU(parentUserId); in getProfileParentLU() 1774 int parentUserId = getProfileParentId(userId); in requestQuietModeEnabled() local 1775 if (km != null && km.isDeviceSecure(parentUserId)) { in requestQuietModeEnabled() 1778 } else if (km != null && !km.isDeviceSecure(parentUserId) in requestQuietModeEnabled() 1789 UserHandle.of(parentUserId)); in requestQuietModeEnabled() 5705 Bundle profileRestrictions, @UserIdInt int parentUserId) { 5729 filter.filter, mContext.getOpPackageName(), profileUserId, parentUserId, 5733 filter.filter, mContext.getOpPackageName(), parentUserId, profileUserId, [all …]
|
D | Computer.java | 169 long flags, int sourceUserId, int parentUserId); in getCrossProfileDomainPreferredLpr() argument
|
D | ComputerEngine.java | 1137 int parentUserId) { in getCrossProfileDomainPreferredLpr() argument 1143 resolvedType, flags, parentUserId); in getCrossProfileDomainPreferredLpr() 1165 .approvalLevelForDomain(ps, intent, flags, parentUserId); in getCrossProfileDomainPreferredLpr() 1169 new WatchedIntentFilter(), sourceUserId, parentUserId), approvalLevel, in getCrossProfileDomainPreferredLpr() 1170 parentUserId); in getCrossProfileDomainPreferredLpr()
|
D | PackageManagerShellCommand.java | 3114 int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM; in runCreateUser() local 3115 info = um.createRestrictedProfileWithThrow(name, parentUserId); in runCreateUser() 3116 accm.addSharedAccountsFromParentUser(parentUserId, userId, in runCreateUser()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/ |
D | OwnerShellDataTest.java | 54 assertWithMessage("dto(%s).parentUserId", dto).that(dto.parentUserId) in testForDeviceOwner() 81 assertWithMessage("dto(%s).parentUserId", dto).that(dto.parentUserId) in testForUserProfileOwner() 120 assertWithMessage("dto(%s).parentUserId", dto).that(dto.parentUserId) in testForManagedProfileOwner()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleDataRepository.kt | 114 val parentUserId = entitiesByUser.keyAt(i) in <lambda>() constant 115 if (activeUsers.contains(parentUserId)) { in <lambda>() 119 for (entity in entitiesByUser.get(parentUserId)) { in <lambda>() 127 validEntitiesByUser.put(parentUserId, validEntities) in <lambda>()
|
D | BubbleController.java | 690 int parentUserId = parent != null ? parent.getUserHandle().getIdentifier() : -1; in onUserRemoved() local 695 mDataRepository.removeBubblesForUser(removedUserId, parentUserId); in onUserRemoved()
|
/frameworks/base/services/core/java/com/android/server/adaptiveauth/ |
D | AdaptiveAuthService.java | 286 final int parentUserId = mUserManager.getProfileParentId(userId); in lockDevice() local 287 Slog.i(TAG, "lockDevice: userId=" + userId + ", parentUserId=" + parentUserId); in lockDevice() 288 if (parentUserId != userId) { in lockDevice() 290 parentUserId); in lockDevice()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 166 protected void tieProfileLockToParent(int profileUserId, int parentUserId, in tieProfileLockToParent() argument
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 80 void addSharedAccountsFromParentUser(int parentUserId, int userId, String opPackageName); in addSharedAccountsFromParentUser() argument
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1551 int parentUserId = UserHandle.USER_SYSTEM; in syncSharedAccounts() local 1555 copyAccountToUser(null /*no response*/, sa, parentUserId, userId); in syncSharedAccounts() 1846 final int parentUserId){ in completeCloningAccount() argument 1862 for (Account acc : getAccounts(parentUserId, mContext.getOpPackageName())) { in completeCloningAccount() 2049 private void addAccountToLinkedRestrictedUsers(Account account, int parentUserId) { in addAccountToLinkedRestrictedUsers() argument 2052 if (user.isRestricted() && (parentUserId == user.restrictedProfileParentId)) { in addAccountToLinkedRestrictedUsers() 2056 MESSAGE_COPY_SHARED_ACCOUNT, parentUserId, user.id, account)); in addAccountToLinkedRestrictedUsers() 2278 int parentUserId = accounts.userId; in renameAccountInternal() local 2279 if (canHaveProfile(parentUserId)) { in renameAccountInternal() 2287 && (user.restrictedProfileParentId == parentUserId)) { in renameAccountInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationAttentionHelper.java | 1014 private int getManagedProfileId(int parentUserId) { in getManagedProfileId() argument 1015 final List<UserInfo> profiles = mUm.getProfiles(parentUserId); in getManagedProfileId() 1018 && profile.getUserHandle().getIdentifier() != parentUserId) { in getManagedProfileId()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 4589 final int parentUserId = mUserId; in createRestrictedProfile() local 4590 final UserInfo profile = mService.createRestrictedProfileWithThrow(name, parentUserId); in createRestrictedProfile() 4591 final UserHandle parentUserHandle = UserHandle.of(parentUserId); in createRestrictedProfile()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2486 final int parentUserId = umi.getProfileParentId(userId); 2488 final boolean isProfile = parentUserId != userId; 2489 final boolean isVisibleProfile = isProfile && parentUserId == currentUserId; 2491 + "isVisibleProfile=%b, display=%d, waiter=%s", userId, parentUserId, currentUserId,
|
D | UserController.java | 3221 final int parentUserId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID); 3222 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { 3225 return isUserRunning(parentUserId, 0);
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 2113 protected void tieProfileLockToParent(int profileUserId, int parentUserId, in tieProfileLockToParent() argument 2116 parentUserId); in tieProfileLockToParent() 2121 parentSid = getGateKeeperService().getSecureUserId(parentUserId); in tieProfileLockToParent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 1191 int parentUserId = um.getProfileParent(userId).id; in onUserUnlocking() local 1192 mUserSharesMediaWith.put(userId, parentUserId); in onUserUnlocking() 1193 mUserSharesMediaWith.put(parentUserId, userId); in onUserUnlocking()
|