Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java53 int enforcementAdminUserId, EnforcedAdmin enforcedAdmin) { in setupLearnMoreButtonToShowAdminPolicies() argument
60 if (isSameProfileGroup(context, enforcementAdminUserId) in setupLearnMoreButtonToShowAdminPolicies()
61 || isEnforcedByDeviceOwnerOnSystemUserMode(context, enforcementAdminUserId)) { in setupLearnMoreButtonToShowAdminPolicies()
102 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in isSameProfileGroup() argument
105 return um.isSameProfileGroup(enforcementAdminUserId, um.getProcessUserId()); in isSameProfileGroup()
109 Context context, int enforcementAdminUserId) { in isEnforcedByDeviceOwnerOnSystemUserMode() argument
110 if (enforcementAdminUserId != UserHandle.USER_SYSTEM) { in isEnforcedByDeviceOwnerOnSystemUserMode()
114 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()