Home
last modified time | relevance | path

Searched refs:enforcementAdminUserId (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java53 int enforcementAdminUserId, EnforcedAdmin enforcedAdmin) { in setupLearnMoreButtonToShowAdminPolicies() argument
59 if (isSameProfileGroup(context, enforcementAdminUserId) in setupLearnMoreButtonToShowAdminPolicies()
60 || isEnforcedByDeviceOwnerOnSystemUserMode(context, enforcementAdminUserId)) { in setupLearnMoreButtonToShowAdminPolicies()
101 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in isSameProfileGroup() argument
104 return um.isSameProfileGroup(enforcementAdminUserId, um.getProcessUserId()); in isSameProfileGroup()
108 Context context, int enforcementAdminUserId) { in isEnforcedByDeviceOwnerOnSystemUserMode() argument
109 if (enforcementAdminUserId != UserHandle.USER_SYSTEM) { in isEnforcedByDeviceOwnerOnSystemUserMode()
113 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DActionDisabledByAdminControllerTestUtils.java81 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in createLearnMoreButtonLauncher() argument