/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 80 EnforcedAdmin enforcedAdmin) { in prepareDialogBuilder() argument 81 mEnforcedAdmin = enforcedAdmin; in prepareDialogBuilder() 191 final EnforcedAdmin enforcedAdmin) { in setAdminSupportDetails() argument 192 if (enforcedAdmin == null || enforcedAdmin.component == null) { in setAdminSupportDetails() 199 enforcedAdmin.component) || !RestrictedLockUtils.isCurrentUserOrProfile( in setAdminSupportDetails() 200 activity, getEnforcementAdminUserId(enforcedAdmin))) { in setAdminSupportDetails() 201 enforcedAdmin.component = null; in setAdminSupportDetails() 203 if (enforcedAdmin.user == null) { in setAdminSupportDetails() 204 enforcedAdmin.user = UserHandle.of(UserHandle.myUserId()); in setAdminSupportDetails() 208 supportMessage = dpm.getShortSupportMessageForUser(enforcedAdmin.component, in setAdminSupportDetails() [all …]
|
D | ActionDisabledByAdminDialog.java | 37 final RestrictedLockUtils.EnforcedAdmin enforcedAdmin = in onCreate() local 41 mDialogHelper.prepareDialogBuilder(restriction, enforcedAdmin) in onCreate()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelper.java | 80 EnforcedAdmin enforcedAdmin) { in prepareDialogBuilder() argument 81 mEnforcedAdmin = enforcedAdmin; in prepareDialogBuilder() 191 final EnforcedAdmin enforcedAdmin) { in setAdminSupportDetails() argument 192 if (enforcedAdmin == null || enforcedAdmin.component == null) { in setAdminSupportDetails() 199 enforcedAdmin.component) || !RestrictedLockUtils.isCurrentUserOrProfile( in setAdminSupportDetails() 200 activity, getEnforcementAdminUserId(enforcedAdmin))) { in setAdminSupportDetails() 201 enforcedAdmin.component = null; in setAdminSupportDetails() 203 if (enforcedAdmin.user == null) { in setAdminSupportDetails() 204 enforcedAdmin.user = UserHandle.of(UserHandle.myUserId()); in setAdminSupportDetails() 208 supportMessage = dpm.getShortSupportMessageForUser(enforcedAdmin.component, in setAdminSupportDetails() [all …]
|
D | ActionDisabledByAdminDialog.java | 37 final RestrictedLockUtils.EnforcedAdmin enforcedAdmin = in onCreate() local 41 mDialogHelper.prepareDialogBuilder(restriction, enforcedAdmin) in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RestrictedListPreference.java | 249 item.enforcedAdmin); in getOnItemClickListener() 289 public final EnforcedAdmin enforcedAdmin; 292 EnforcedAdmin enforcedAdmin) { 295 this.enforcedAdmin = enforcedAdmin;
|
/packages/apps/Settings/src/com/android/settings/ |
D | RestrictedListPreference.java | 249 item.enforcedAdmin); in getOnItemClickListener() 289 public final EnforcedAdmin enforcedAdmin; 292 EnforcedAdmin enforcedAdmin) { 295 this.enforcedAdmin = enforcedAdmin;
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowRestrictedLockUtilsInternal.java | 40 public static void setEnforcedAdmin(RestrictedLockUtils.EnforcedAdmin enforcedAdmin) { in setEnforcedAdmin() argument 41 sEnforcedAdmin = enforcedAdmin; in setEnforcedAdmin()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | ContactSearchPreferenceController.java | 55 final RestrictedLockUtils.EnforcedAdmin enforcedAdmin = in updateState() local 58 pref.setDisabledByAdmin(enforcedAdmin); in updateState()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ContactSearchPreferenceController.java | 55 final RestrictedLockUtils.EnforcedAdmin enforcedAdmin = in updateState() local 58 pref.setDisabledByAdmin(enforcedAdmin); in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | PrivateDnsModeDialogPreference.java | 239 EnforcedAdmin enforcedAdmin = getEnforcedAdmin(); in performClick() local 241 if (enforcedAdmin == null) { in performClick() 246 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), enforcedAdmin); in performClick() local
|
D | PrivateDnsPreferenceController.java | 150 EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in isManagedByAdmin() local 152 return enforcedAdmin != null; in isManagedByAdmin()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreference.java | 235 EnforcedAdmin enforcedAdmin = getEnforcedAdmin(); in performClick() local 237 if (enforcedAdmin == null) { in performClick() 242 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), enforcedAdmin); in performClick() local
|
D | PrivateDnsPreferenceController.java | 146 EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in isManagedByAdmin() local 148 return enforcedAdmin != null; in isManagedByAdmin()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 418 EnforcedAdmin enforcedAdmin = getAdminEnforcingCantRemoveProfile(); in showPolicyTransparencyDialogIfRequired() local 419 if (enforcedAdmin != null) { in showPolicyTransparencyDialogIfRequired() 422 enforcedAdmin); in showPolicyTransparencyDialogIfRequired()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 467 EnforcedAdmin enforcedAdmin = getAdminEnforcingCantRemoveProfile(); in showPolicyTransparencyDialogIfRequired() local 468 if (enforcedAdmin != null) { in showPolicyTransparencyDialogIfRequired() 471 enforcedAdmin); in showPolicyTransparencyDialogIfRequired()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockGeneric.java | 632 EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal.checkIfPasswordQualityIsSet( in disableUnusablePreferencesImpl() local 648 } else if (disabledByAdmin && enforcedAdmin != null) { in disableUnusablePreferencesImpl() 649 ((RestrictedPreference) pref).setDisabledByAdmin(enforcedAdmin); in disableUnusablePreferencesImpl()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockGeneric.java | 621 EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal.checkIfPasswordQualityIsSet( in disableUnusablePreferencesImpl() local 637 } else if (disabledByAdmin && enforcedAdmin != null) { in disableUnusablePreferencesImpl() 638 ((RestrictedPreference) pref).setDisabledByAdmin(enforcedAdmin); in disableUnusablePreferencesImpl()
|