Searched refs:enforcementAdminUserId (Results 1 – 1 of 1) sorted by relevance
53 int enforcementAdminUserId, EnforcedAdmin enforcedAdmin) { in setupLearnMoreButtonToShowAdminPolicies() argument60 if (isSameProfileGroup(context, enforcementAdminUserId) in setupLearnMoreButtonToShowAdminPolicies()61 || isEnforcedByDeviceOwnerOnSystemUserMode(context, enforcementAdminUserId)) { in setupLearnMoreButtonToShowAdminPolicies()102 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in isSameProfileGroup() argument105 return um.isSameProfileGroup(enforcementAdminUserId, um.getProcessUserId()); in isSameProfileGroup()109 Context context, int enforcementAdminUserId) { in isEnforcedByDeviceOwnerOnSystemUserMode() argument110 if (enforcementAdminUserId != UserHandle.USER_SYSTEM) { in isEnforcedByDeviceOwnerOnSystemUserMode()114 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()