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.java238 private void addActiveAdminsForProfile(List<ComponentName> activeAdmins, int profileId) { in addActiveAdminsForProfile() argument
239 if (activeAdmins == null) { in addActiveAdminsForProfile()
243 for (ComponentName activeAdmin : activeAdmins) { in addActiveAdminsForProfile()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java239 private void addActiveAdminsForProfile(List<ComponentName> activeAdmins, int profileId) { in addActiveAdminsForProfile() argument
240 if (activeAdmins == null) { in addActiveAdminsForProfile()
244 for (ComponentName activeAdmin : activeAdmins) { in addActiveAdminsForProfile()