Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java182 private static EnforcedAdmin findEnforcedAdmin(@Nullable List<ComponentName> admins, in findEnforcedAdmin() argument
185 if (admins == null) { in findEnforcedAdmin()
191 for (ComponentName admin : admins) { in findEnforcedAdmin()
471 final List<ComponentName> admins = dpm.getActiveAdminsAsUser(userId); in checkIfPasswordQualityIsSet() local
472 if (admins == null) { in checkIfPasswordQualityIsSet()
477 for (ComponentName admin : admins) { in checkIfPasswordQualityIsSet()
526 final List<ComponentName> admins = dpm.getActiveAdminsAsUser(userInfo.id); in checkForLockSetting() local
527 if (admins == null) { in checkForLockSetting()
533 for (ComponentName admin : admins) { in checkForLockSetting()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java155 final List<ComponentName> admins = devicePolicyManager.getActiveAdmins(); in hasActiveAdmins() local
156 return (admins != null && !admins.isEmpty()); in hasActiveAdmins()
/packages/apps/Settings/src/com/android/settings/password/
DSetNewPasswordActivity.java157 List<ComponentName> admins = devicePolicyManager.getActiveAdmins(); in isCallingAppAdmin() local
158 if (admins == null) { in isCallingAppAdmin()
161 for (ComponentName componentName : admins) { in isCallingAppAdmin()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseUtils.java77 List<ComponentName> admins = context.getSystemService(DevicePolicyManager.class) in getAdminWithinPackage() local
79 if (admins == null) { in getAdminWithinPackage()
83 return admins.stream().filter(i -> i.getPackageName().equals(packageName)).findAny() in getAdminWithinPackage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java355 List<ComponentName> admins = mDPM.getActiveAdmins(); in findAdminWithPackageName() local
356 if (admins == null) { in findAdminWithPackageName()
359 return admins.stream().filter(i -> i.getPackageName().equals(packageName)).findAny(); in findAdminWithPackageName()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java846 List<ComponentName> admins = mDPM.getActiveAdmins(); in findAdminWithPackageName() local
847 if (admins == null) { in findAdminWithPackageName()
850 return admins.stream().filter(i -> i.getPackageName().equals(packageName)).findAny(); in findAdminWithPackageName()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz