/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledLearnMoreButtonLauncher.java | 59 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/ |
D | UninstallAlertDialogFragment.java | 158 && 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/ |
D | ActionDisabledByAdminControllerTestUtils.java | 81 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in createLearnMoreButtonLauncher() method in ActionDisabledByAdminControllerTestUtils
|
D | ActionDisabledLearnMoreButtonLauncherTest.java | 212 when(mUserManager.isSameProfileGroup(ENFORCEMENT_ADMIN_USER_ID, CONTEXT_USER_ID)) in mockSameProfileGroup()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 85 && customUserManager.isSameProfileGroup(dialogInfo.user, myUserHandle)) { in onCreateGuidance()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 75 boolean isSameProfileGroup(int userId, int otherUserHandle); in isSameProfileGroup() method
|
D | UserManager.java | 5322 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/ |
D | CrossProfileAppsServiceImpl.java | 172 if (!isSameProfileGroup(callerUserId, userId)) { in startActivityAsUser() 736 private boolean isSameProfileGroup(@UserIdInt int callerUserId, @UserIdInt int userId) { 738 mInjector.getUserManager().isSameProfileGroup(callerUserId, userId));
|
D | ComputerEngine.java | 2487 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()
|
D | Computer.java | 241 boolean isSameProfileGroup(@UserIdInt int callerUserId, @UserIdInt int userId); in isSameProfileGroup() method
|
D | UserManagerService.java | 1587 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() method in UserManagerService
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 2734 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) {
|
D | ActiveServices.java | 4441 || !mAm.mUserController.isSameProfileGroup(callingUserId, userId)) { in maybeLogBindCrossProfileService()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 518 .isSameProfileGroup(currentAdminUser, callingUser); in isSameProfileGroupUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfo.java | 162 if (mUm.isSameProfileGroup(UserHandle.USER_SYSTEM, mSbn.getNormalizedUserId())) {
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | UninstallRepository.kt | 228 if (userManager!!.isSameProfileGroup(myUserHandle, uninstalledUser!!)) { in generateUninstallDetails()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 330 if (mUserManager.isSameProfileGroup(user, mCurrentUserId)) { in openDevice() 368 if (mUserManager.isSameProfileGroup(user, mCurrentUserId)) { in openAccessory()
|
D | UsbProfileGroupSettingsManager.java | 213 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/ |
D | NotificationConversationInfoTest.java | 1256 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/ |
D | UiModeManagerService.java | 1272 && !UserManagerService.getInstance().isSameProfileGroup(userId, mCurrentUser)) { in enforceValidCallingUser()
|
/frameworks/base/core/api/ |
D | system-current.txt | 11273 …GE_USERS, android.Manifest.permission.QUERY_USERS}) public boolean isSameProfileGroup(@NonNull and…
|
/frameworks/base/services/ |
D | art-profile | 1127 HSPLcom/android/server/am/UserController;->isSameProfileGroup(II)Z+]Landroid/util/SparseIntArray;La…
|
D | art-wear-profile | 7318 HPLcom/android/server/am/UserController;->isSameProfileGroup(II)Z 20042 PLcom/android/server/pm/UserManagerService;->isSameProfileGroup(II)Z
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 36600 Landroid/os/IUserManager$Stub$Proxy;->isSameProfileGroup(II)Z 36722 Landroid/os/IUserManager;->isSameProfileGroup(II)Z 39419 Landroid/os/UserManager;->isSameProfileGroup(II)Z
|