/frameworks/opt/car/services/builtInServices/tests/src/com/android/internal/car/ |
D | CarDevicePolicySafetyCheckerTest.java | 18 import static android.app.admin.DevicePolicyManager.operationToString; 24 import android.app.admin.DevicePolicyManager; 25 import android.app.admin.DevicePolicyManager.DevicePolicyOperation; 67 { DevicePolicyManager.OPERATION_CLEAR_APPLICATION_USER_DATA, false }, in packageManagers() 68 { DevicePolicyManager.OPERATION_LOGOUT_USER, false }, in packageManagers() 69 { DevicePolicyManager.OPERATION_REBOOT, false }, in packageManagers() 70 { DevicePolicyManager.OPERATION_REQUEST_BUGREPORT, false }, in packageManagers() 71 { DevicePolicyManager.OPERATION_SET_APPLICATION_HIDDEN, false }, in packageManagers() 72 { DevicePolicyManager.OPERATION_SET_APPLICATION_RESTRICTIONS, false }, in packageManagers() 73 { DevicePolicyManager.OPERATION_SET_KEYGUARD_DISABLED, false }, in packageManagers() [all …]
|
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/ |
D | CarDevicePolicySafetyChecker.java | 18 import static android.app.admin.DevicePolicyManager.OPERATION_CLEAR_APPLICATION_USER_DATA; 19 import static android.app.admin.DevicePolicyManager.OPERATION_LOGOUT_USER; 20 import static android.app.admin.DevicePolicyManager.OPERATION_REBOOT; 21 import static android.app.admin.DevicePolicyManager.OPERATION_REQUEST_BUGREPORT; 22 import static android.app.admin.DevicePolicyManager.OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; 23 import static android.app.admin.DevicePolicyManager.OPERATION_SET_APPLICATION_HIDDEN; 24 import static android.app.admin.DevicePolicyManager.OPERATION_SET_APPLICATION_RESTRICTIONS; 25 import static android.app.admin.DevicePolicyManager.OPERATION_SET_KEYGUARD_DISABLED; 26 import static android.app.admin.DevicePolicyManager.OPERATION_SET_LOCK_TASK_FEATURES; 27 import static android.app.admin.DevicePolicyManager.OPERATION_SET_LOCK_TASK_PACKAGES; [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | ProvisioningIntentHelper.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ALLOW_OFFLINE; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_KEEP_SCREEN_ON; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE… 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCAL_TIME; [all …]
|
D | PasswordPolicy.java | 19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC; 20 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC; 21 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK; 22 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX; 23 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC; 24 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX; 25 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; 26 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
|
D | DevicePolicyCache.java | 18 import static android.app.admin.DevicePolicyManager.CONTENT_PROTECTION_DISABLED; 19 import static android.app.admin.DevicePolicyManager.ContentProtectionPolicy; 95 return DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; in getPasswordQuality() 100 return DevicePolicyManager.PERMISSION_POLICY_PROMPT; in getPermissionPolicy()
|
D | UnsafeStateException.java | 18 import static android.app.admin.DevicePolicyManager.isValidOperationSafetyReason; 22 import android.app.admin.DevicePolicyManager.DevicePolicyOperation; 23 import android.app.admin.DevicePolicyManager.OperationSafetyReason; 77 return DevicePolicyManager.operationSafetyReasonToString(mReason); in getMessage()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledByAdminControllerFactory.java | 19 import static android.app.admin.DevicePolicyManager.DEVICE_OWNER_TYPE_FINANCED; 24 import android.app.admin.DevicePolicyManager; 62 DevicePolicyManager devicePolicyManager = in isSupervisedDevice() 63 context.getSystemService(DevicePolicyManager.class); in isSupervisedDevice() 79 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in doesBiometricRequireParentalConsent() 85 DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in isFinancedDevice() 88 DevicePolicyManager.ADD_ISFINANCED_DEVICE_FLAG, in isFinancedDevice() 89 DevicePolicyManager.ADD_ISFINANCED_FEVICE_DEFAULT)) { in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityModel.java | 20 import android.app.admin.DevicePolicyManager; 78 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC: in getSecurityMode() 79 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX: in getSecurityMode() 82 case DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC: in getSecurityMode() 83 case DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC: in getSecurityMode() 84 case DevicePolicyManager.PASSWORD_QUALITY_COMPLEX: in getSecurityMode() 85 case DevicePolicyManager.PASSWORD_QUALITY_MANAGED: in getSecurityMode() 88 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING: in getSecurityMode() 90 case DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED: in getSecurityMode()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 19 import static android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE; 20 import static android.app.admin.DevicePolicyManager.MTE_NOT_CONTROLLED_BY_POLICY; 21 import static android.app.admin.DevicePolicyManager.PROFILE_KEYGUARD_FEATURES_AFFECT_OWNER; 29 import android.app.admin.DevicePolicyManager; 171 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRestrictionEnforced() 244 DevicePolicyManager dpm = in checkIfKeyguardFeaturesDisabled() 245 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in checkIfKeyguardFeaturesDisabled() 277 @NonNull DevicePolicyManager dpm, @UserIdInt int userId, in findEnforcedAdmin() 341 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfInputMethodDisallowed() 363 DevicePolicyManager parentDpm = sProxy.getParentProfileInstance(dpm, in checkIfInputMethodDisallowed() [all …]
|
/frameworks/base/core/java/android/hardware/biometrics/ |
D | ParentalControlsUtilsInternal.java | 21 import android.app.admin.DevicePolicyManager; 59 @NonNull DevicePolicyManager dpm, @BiometricAuthenticator.Modality int modality, in parentConsentRequired() 71 public static boolean parentConsentRequired(@NonNull DevicePolicyManager dpm, in parentConsentRequired() 80 DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT); in parentConsentRequired() 82 DevicePolicyManager.KEYGUARD_DISABLE_FACE); in parentConsentRequired() 84 DevicePolicyManager.KEYGUARD_DISABLE_IRIS); in parentConsentRequired() 101 public static ComponentName getSupervisionComponentName(@NonNull DevicePolicyManager dpm, in getSupervisionComponentName()
|
/frameworks/base/core/java/android/permission/ |
D | AdminPermissionControlParams.java | 19 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT; 20 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED; 21 import static android.app.admin.DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED; 27 import android.app.admin.DevicePolicyManager; 48 private final @DevicePolicyManager.PermissionGrantState int mGrantState; 59 @DevicePolicyManager.PermissionGrantState int grantState, in AdminPermissionControlParams() 116 public @DevicePolicyManager.PermissionGrantState int getGrantState() { in getGrantState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/devicepolicy/ |
D | DevicePolicyManagerExtTest.kt | 19 import android.app.admin.DevicePolicyManager 20 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FACE 21 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_ALL 22 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE 23 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA 24 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_SHORTCUTS_ALL 43 @Mock lateinit var devicePolicyManager: DevicePolicyManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/devicepolicy/ |
D | DevicePolicyManagerExt.kt | 19 import android.app.admin.DevicePolicyManager 20 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_ALL 21 import android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_SHORTCUTS_ALL 25 fun DevicePolicyManager.areKeyguardShortcutsDisabled( in DevicePolicyManager() method
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | RestrictedLockUtilsInternal.java | 22 import android.app.admin.DevicePolicyManager; 43 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfAccessibilityServiceDisallowed() 77 final DevicePolicyManager dpm = context.getSystemService(DevicePolicyManager.class); in checkIfInputMethodDisallowed() 100 final DevicePolicyManager parentDpm = dpm.getParentProfileInstance( in checkIfInputMethodDisallowed()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | VisibilityExtractor.java | 20 import android.app.admin.DevicePolicyManager; 33 private DevicePolicyManager mDpm; 37 mDpm = ctx.getSystemService(DevicePolicyManager.class); in initialize() 59 DevicePolicyManager.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS); in process() 72 DevicePolicyManager.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS); in process()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | DevicePolicyManagerWrapper.java | 20 import android.app.admin.DevicePolicyManager; 28 private static final DevicePolicyManager sDevicePolicyManager = 29 AppGlobals.getInitialApplication().getSystemService(DevicePolicyManager.class);
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | Utils.kt | 19 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC 20 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC 21 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX 22 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_MANAGED 23 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC 24 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX 25 import android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_SOMETHING
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | OneTimeSafetyChecker.java | 18 import static android.app.admin.DevicePolicyManager.OPERATION_SAFETY_REASON_NONE; 19 import static android.app.admin.DevicePolicyManager.operationSafetyReasonToString; 20 import static android.app.admin.DevicePolicyManager.operationToString; 22 import android.app.admin.DevicePolicyManager.DevicePolicyOperation; 23 import android.app.admin.DevicePolicyManager.OperationSafetyReason;
|
D | DevicePolicyManagerServiceShellCommand.java | 19 import android.app.admin.DevicePolicyManager; 166 boolean safe = reason == DevicePolicyManager.OPERATION_SAFETY_REASON_NONE; in runIsSafeOperation() 168 DevicePolicyManager.operationToString(operation), safeToString(safe), in runIsSafeOperation() 169 DevicePolicyManager.operationSafetyReasonToString(reason)); in runIsSafeOperation() 177 DevicePolicyManager.operationSafetyReasonToString(reason), safeToString(safe)); in runIsSafeOperationByReason() 190 DevicePolicyManager.operationToString(operation), in runSetSafeOperation() 191 DevicePolicyManager.operationSafetyReasonToString(reason)); in runSetSafeOperation() 278 DevicePolicyManager.STATE_USER_SETUP_FINALIZED, mUserId); in runSetDeviceOwner() 309 DevicePolicyManager.STATE_USER_SETUP_FINALIZED, mUserId); in runSetProfileOwner()
|
D | DevicePolicyCacheImpl.java | 18 import static android.app.admin.DevicePolicyManager.CONTENT_PROTECTION_DISABLED; 19 import static android.app.admin.DevicePolicyManager.ContentProtectionPolicy; 24 import android.app.admin.DevicePolicyManager; 102 DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED); in getPasswordQuality() 117 DevicePolicyManager.PERMISSION_POLICY_PROMPT); in getPermissionPolicy()
|
D | RemoteBugreportManager.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_BUGREPORT_SHARING_ACCEPTED; 20 import static android.app.admin.DevicePolicyManager.ACTION_BUGREPORT_SHARING_DECLINED; 21 import static android.app.admin.DevicePolicyManager.ACTION_REMOTE_BUGREPORT_DISPATCH; 22 import static android.app.admin.DevicePolicyManager.EXTRA_BUGREPORT_NOTIFICATION_TYPE; 23 import static android.app.admin.DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_HASH; 24 import static android.app.admin.DevicePolicyManager.NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED; 25 import static android.app.admin.DevicePolicyManager.NOTIFICATION_BUGREPORT_FINISHED_NOT_ACCEPTED; 26 import static android.app.admin.DevicePolicyManager.NOTIFICATION_BUGREPORT_STARTED; 34 import android.app.admin.DevicePolicyManager; 245 long nonce = intent.getLongExtra(DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_NONCE, 0); in onBugreportFinished()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | WifiTrackerInjector.java | 19 import android.app.admin.DevicePolicyManager; 41 private final DevicePolicyManager mDevicePolicyManager; 52 mDevicePolicyManager = context.getSystemService(DevicePolicyManager.class); in WifiTrackerInjector() 76 public DevicePolicyManager getDevicePolicyManager() { in getDevicePolicyManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotServiceErrorReceiver.java | 20 import android.app.admin.DevicePolicyManager; 38 DevicePolicyManager devicePolicyManager = context.getSystemService( in onReceive() 39 DevicePolicyManager.class); in onReceive()
|
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/ |
D | WorkPolicyUtils.java | 20 import android.app.admin.DevicePolicyManager; 43 private final DevicePolicyManager mDevicePolicyManager; 54 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in WorkPolicyUtils() 125 DevicePolicyManager managedProfileDevicePolicyManager = in getManagedProfileOwnerComponent() 126 (DevicePolicyManager) in getManagedProfileOwnerComponent()
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordPolicyTest.java | 19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC; 20 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC; 21 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK; 22 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX; 23 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC; 24 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX; 25 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; 26 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
|