Searched refs:enforcementAdminUserId (Results 1 – 2 of 2) sorted by relevance
53 int enforcementAdminUserId, EnforcedAdmin enforcedAdmin) { in setupLearnMoreButtonToShowAdminPolicies() argument59 if (isSameProfileGroup(context, enforcementAdminUserId) in setupLearnMoreButtonToShowAdminPolicies()60 || isEnforcedByDeviceOwnerOnSystemUserMode(context, enforcementAdminUserId)) { in setupLearnMoreButtonToShowAdminPolicies()101 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in isSameProfileGroup() argument104 return um.isSameProfileGroup(enforcementAdminUserId, um.getProcessUserId()); in isSameProfileGroup()108 Context context, int enforcementAdminUserId) { in isEnforcedByDeviceOwnerOnSystemUserMode() argument109 if (enforcementAdminUserId != UserHandle.USER_SYSTEM) { in isEnforcedByDeviceOwnerOnSystemUserMode()113 return enforcementAdminUserId == dpm.getDeviceOwnerUserId(); in isEnforcedByDeviceOwnerOnSystemUserMode()
81 protected boolean isSameProfileGroup(Context context, int enforcementAdminUserId) { in createLearnMoreButtonLauncher() argument