Home
last modified time | relevance | path

Searched refs:isSameProfileGroup (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java59 if (isSameProfileGroup(context, enforcementAdminUserId) in setupLearnMoreButtonToShowAdminPolicies()
101 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in isSameProfileGroup() method in ActionDisabledLearnMoreButtonLauncher
104 return um.isSameProfileGroup(enforcementAdminUserId, um.getProcessUserId()); in isSameProfileGroup()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java158 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog()
164 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog()
171 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateDialog()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DActionDisabledByAdminControllerTestUtils.java81 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in createLearnMoreButtonLauncher() method in ActionDisabledByAdminControllerTestUtils
DActionDisabledLearnMoreButtonLauncherTest.java212 when(mUserManager.isSameProfileGroup(ENFORCEMENT_ADMIN_USER_ID, CONTEXT_USER_ID)) in mockSameProfileGroup()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java85 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateGuidance()
/frameworks/base/core/java/android/os/
DIUserManager.aidl75 boolean isSameProfileGroup(int userId, int otherUserHandle); in isSameProfileGroup() method
DUserManager.java5322 public boolean isSameProfileGroup(@NonNull UserHandle user, @NonNull UserHandle otherUser) { in isSameProfileGroup() method in UserManager
5323 return isSameProfileGroup(user.getIdentifier(), otherUser.getIdentifier()); in isSameProfileGroup()
5336 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() method in UserManager
5338 return mService.isSameProfileGroup(userId, otherUserId); in isSameProfileGroup()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java172 if (!isSameProfileGroup(callerUserId, userId)) { in startActivityAsUser()
736 private boolean isSameProfileGroup(@UserIdInt int callerUserId, @UserIdInt int userId) {
738 mInjector.getUserManager().isSameProfileGroup(callerUserId, userId));
DComputerEngine.java2487 return mUserManager.isSameProfileGroup(callingUserId, targetUserId); in isRecentsAccessingChildProfiles()
2493 public final boolean isSameProfileGroup(@UserIdInt int callerUserId, in isSameProfileGroup() method in ComputerEngine
2497 return UserManagerService.getInstance().isSameProfileGroup(callerUserId, userId); in isSameProfileGroup()
2862 final boolean isSameProfileGroup = isSameProfileGroup(callingUserId, userId); in enforceCrossUserOrProfilePermission()
2863 if (isSameProfileGroup && PermissionChecker.checkPermissionForPreflight( in enforceCrossUserOrProfilePermission()
2873 callingUid, userId, message, requireFullPermission, isSameProfileGroup); in enforceCrossUserOrProfilePermission()
2880 boolean isSameProfileGroup) { in buildInvalidCrossUserOrProfilePermissionMessage() argument
2893 if (isSameProfileGroup) { in buildInvalidCrossUserOrProfilePermissionMessage()
DComputer.java241 boolean isSameProfileGroup(@UserIdInt int callerUserId, @UserIdInt int userId); in isSameProfileGroup() method
DUserManagerService.java1587 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2734 final boolean isSameProfileGroup = isSameProfileGroup(callingUserId, targetUserId);
2735 if (mInjector.isCallerRecents(callingUid) && isSameProfileGroup) {
2747 allowMode, isSameProfileGroup, callingPid, callingUid, callerPackage)) {
2759 allow = isSameProfileGroup;
2785 || (allowMode == ALLOW_NON_FULL_IN_PROFILE && isSameProfileGroup)) {
2789 if (isSameProfileGroup && allowMode == ALLOW_PROFILES_OR_NON_FULL) {
2814 int allowMode, boolean isSameProfileGroup, int callingPid, int callingUid,
2819 if (!isSameProfileGroup) {
3202 boolean isSameProfileGroup(int callingUserId, int targetUserId) {
DActiveServices.java4441 || !mAm.mUserController.isSameProfileGroup(callingUserId, userId)) { in maybeLogBindCrossProfileService()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java518 .isSameProfileGroup(currentAdminUser, callingUser); in isSameProfileGroupUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfo.java162 if (mUm.isSameProfileGroup(UserHandle.USER_SYSTEM, mSbn.getNormalizedUserId())) {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt228 if (userManager!!.isSameProfileGroup(myUserHandle, uninstalledUser!!)) { in generateUninstallDetails()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java330 if (mUserManager.isSameProfileGroup(user, mCurrentUserId)) { in openDevice()
368 if (mUserManager.isSameProfileGroup(user, mCurrentUserId)) { in openAccessory()
DUsbProfileGroupSettingsManager.java213 if (!mUserManager.isSameProfileGroup(mParentUser.getIdentifier(), in onPackageAdded()
223 if (!mUserManager.isSameProfileGroup(mParentUser.getIdentifier(), in onPackageRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfoTest.java1256 when(mUserManager.isSameProfileGroup(anyInt(), anyInt())).thenReturn(true); in testSelectPriorityRequestsPinPeopleTile()
1290 when(mUserManager.isSameProfileGroup(anyInt(), anyInt())).thenReturn(false); in testSelectPriorityRequestsPinPeopleTile_noMultiuser()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java1272 && !UserManagerService.getInstance().isSameProfileGroup(userId, mCurrentUser)) { in enforceValidCallingUser()
/frameworks/base/core/api/
Dsystem-current.txt11273 …GE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isSameProfileGroup(@NonNull and…
/frameworks/base/services/
Dart-profile1127 HSPLcom/android/server/am/UserController;->isSameProfileGroup(II)Z+]Landroid/util/SparseIntArray;La…
Dart-wear-profile7318 HPLcom/android/server/am/UserController;->isSameProfileGroup(II)Z
20042 PLcom/android/server/pm/UserManagerService;->isSameProfileGroup(II)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt36600 Landroid/os/IUserManager$Stub$Proxy;->isSameProfileGroup(II)Z
36722 Landroid/os/IUserManager;->isSameProfileGroup(II)Z
39419 Landroid/os/UserManager;->isSameProfileGroup(II)Z