/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | VisibilityPreferenceController.java | 159 final UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in getLockscreenNotificationsEnabled() local 160 final int primaryUserId = parentUser != null ? parentUser.id : UserHandle.myUserId(); in getLockscreenNotificationsEnabled() 172 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure() local 173 if (parentUser != null){ in isLockScreenSecure() 174 lockscreenSecure |= mLockPatternUtils.isSecure(parentUser.id); in isLockScreenSecure()
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/platform/ |
D | FakeUserManager.kt | 172 val parentUser = getUser(parent) in <lambda>() constant 173 require(!parentUser.isProfile) { "Parent user cannot be a profile" } in <lambda>() 176 if (parentUser.profileGroupId == NO_PROFILE_GROUP_ID) { in <lambda>() 177 parentUser.profileGroupId = parentUser.id in <lambda>() 182 profileGroupId = parentUser.profileGroupId in <lambda>()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | UserIdManager.java | 315 final UserHandle parentUser = in setUserIdsInternal() local 317 if (parentUser != null) { in setUserIdsInternal() 318 mPersonalUser = UserId.of(parentUser); in setUserIdsInternal() 327 final UserHandle parentUser = in setUserIdsInternal() local 329 if (parentUser != null && in setUserIdsInternal() 330 parentUser.equals(personalUser.getUserHandle())) { in setUserIdsInternal()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioninglisteners/ |
D | ProvisioningCompletedController.java | 82 UserInfo parentUser = mUserManager.getProfileParent(mUserId); in run() local 83 if (parentUser == null) { in run() 86 mCrossProfileAppsSnapshot.takeNewSnapshot(parentUser.id); in run()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | AccountManagerCompat.java | 39 public void addSharedAccountsFromParentUser(UserHandle parentUser, UserHandle user) { in addSharedAccountsFromParentUser() argument 40 mAccountManager.addSharedAccountsFromParentUser(parentUser, user); in addSharedAccountsFromParentUser()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BtPermissionUtils.java | 278 final UserHandle parentUser; in checkIfCallerIsForegroundUser() local 286 parentUser = userManager.getProfileParent(callingUser); in checkIfCallerIsForegroundUser() 296 || Objects.equals(parentUser, foregroundUser) in checkIfCallerIsForegroundUser() 308 + parentUser in checkIfCallerIsForegroundUser()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 2041 UserHandle parentUser = mFeatureFlags.profileUserSupport() in bindToBTService() local 2046 parentUser = um.getProfileParent(userToBind); in bindToBTService() 2059 if (parentUser != null) { in bindToBTService() 2060 infos = getInCallServiceComponents(parentUser, IN_CALL_SERVICE_TYPE_BLUETOOTH); in bindToBTService() 2064 userToBind, parentUser); in bindToBTService() 2075 serviceUnavailableForUser ? parentUser : userToBind); in bindToBTService() 2092 UserHandle parentUser = mFeatureFlags.profileUserSupport() in bindToServices() local 2096 parentUser = um.getProfileParent(userFromCall); in bindToServices() 2098 Log.i(this, "child:%s parent:%s", userFromCall, parentUser); in bindToServices() 2120 if(parentUser != null) { in bindToServices() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure() local 219 if (parentUser == null) { in isUserSecure() 222 return lockPatternUtils.isSecure(parentUser.id); in isUserSecure()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | RestrictedLockUtilsInternal.java | 107 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced() local 108 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/ |
D | ServiceImplHelper.java | 91 UserHandle parentUser = isManagedProfile ? mUserManager.getProfileParent(userHandle) : null; in setUserIsLocked() local 101 mEnterpriseParentUserLocked = parentUser; in setUserIsLocked()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 1173 UserHandle parentUser = getSystemServiceSafe(context, UserManager.class) in getParentUserContext() local 1176 if (parentUser == null) { in getParentUserContext() 1184 parentUser); in getParentUserContext() 1187 throw new IllegalStateException("Could not switch to parent user " + parentUser, e); in getParentUserContext()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | Utils.java | 831 int parentUser = (uh != null) ? uh.getIdentifier() : USER_HANDLE_NULL.getIdentifier(); in checkCallerIsSystemOrActiveOrManagedUser() local 835 || (sForegroundUserId == parentUser) in checkCallerIsSystemOrActiveOrManagedUser()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 838 final UserInfo parentUser = userManager.getProfileParent(UserHandle.myUserId()); in getParentUserId() local 839 return parentUser == null ? UserHandle.USER_NULL : parentUser.id; in getParentUserId()
|