Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/enterprise/
DManageDeviceAdminPreferenceController.java35 final int activeAdmins in getSummary() local
37 return activeAdmins == 0 in getSummary()
40 activeAdmins, activeAdmins); in getSummary()
DEnterprisePrivacyFeatureProviderImpl.java215 int activeAdmins = 0; in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile() local
220 activeAdmins += activeAdminsForUser.size(); in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
223 return activeAdmins; in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DManageDeviceAdminPreferenceController.java35 final int activeAdmins in getSummary() local
37 return activeAdmins == 0 in getSummary()
40 activeAdmins, activeAdmins); in getSummary()
DEnterprisePrivacyFeatureProviderImpl.java226 int activeAdmins = 0; in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile() local
231 activeAdmins += activeAdminsForUser.size(); in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
234 return activeAdmins; in getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java230 private void addActiveAdminsForProfile(List<ComponentName> activeAdmins, int profileId) { in addActiveAdminsForProfile() argument
231 if (activeAdmins == null) { in addActiveAdminsForProfile()
235 for (ComponentName activeAdmin : activeAdmins) { in addActiveAdminsForProfile()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java235 private void addActiveAdminsForProfile(List<ComponentName> activeAdmins, int profileId) { in addActiveAdminsForProfile() argument
236 if (activeAdmins == null) { in addActiveAdminsForProfile()
240 for (ComponentName activeAdmin : activeAdmins) { in addActiveAdminsForProfile()