HomeSort by relevance Sort by last modified time
    Searched refs:dpm (Results 1 - 20 of 20) sorted by null

  /frameworks/base/services/java/com/android/server/wm/
KeyguardDisableHandler.java 90 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService( local
92 if (dpm != null) {
94 mAllowDisableKeyguard = dpm.getPasswordQuality(null,
  /packages/apps/Settings/src/com/android/settings/
MonitoringCertInfoActivity.java 44 DevicePolicyManager dpm = local
50 hasDeviceOwner = dpm.getDeviceOwner() != null;
55 dpm.getDeviceOwnerName());
CryptKeeperSettings.java 142 DevicePolicyManager dpm = (DevicePolicyManager) local
144 if (dpm != null) {
145 int status = dpm.getStorageEncryptionStatus();
DisplaySettings.java 154 final DevicePolicyManager dpm = local
157 final long maxTimeout = dpm != null ? dpm.getMaximumTimeToLock(null) : 0;
ProxySelector.java 100 final DevicePolicyManager dpm = local
103 final boolean userSetGlobalProxy = (dpm.getGlobalProxyAdmin() == null);
Settings.java 1043 DevicePolicyManager dpm = local
    [all...]
  /packages/apps/Email/src/com/android/email/
SecurityPolicy.java 209 * Get the dpm. This mainly allows us to make some utility calls without it, for testing.
220 * clear the aggregate policy (so it can be recomputed) and set the policies in the DPM
327 DevicePolicyManager dpm = getDPM(); local
331 if (dpm.getPasswordMinimumLength(mAdminName) < policy.mPasswordMinLength) {
336 if (dpm.getPasswordQuality(mAdminName) < policy.getDPManagerPasswordQuality()) {
339 if (!dpm.isActivePasswordSufficient()) {
344 // Note, we use seconds, dpm uses milliseconds
345 if (dpm.getMaximumTimeToLock(mAdminName) > policy.mMaxScreenLockTime * 1000) {
351 long currentTimeout = dpm.getPasswordExpirationTimeout(mAdminName);
357 long expirationDate = dpm.getPasswordExpiration(mAdminName)
404 DevicePolicyManager dpm = getDPM(); local
654 DevicePolicyManager dpm = getDPM(); local
671 DevicePolicyManager dpm = getDPM(); local
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardSelectorView.java 178 DevicePolicyManager dpm = mLockPatternUtils.getDevicePolicyManager(); local
179 int disabledFeatures = dpm.getKeyguardDisabledFeatures(null, currentUserHandle);
182 boolean cameraDisabledByAdmin = dpm.getCameraDisabled(null, currentUserHandle)
KeyguardHostView.java 160 DevicePolicyManager dpm = local
162 if (dpm != null) {
163 mDisabledFeatures = getDisabledFeatures(dpm);
164 mCameraDisabled = dpm.getCameraDisabled(null);
201 Log.v(TAG, "Keyguard widgets disabled by DPM");
204 Log.v(TAG, "Keyguard secure camera disabled by DPM");
439 private int getDisabledFeatures(DevicePolicyManager dpm) {
441 if (dpm != null) {
443 disabledFeatures = dpm.getKeyguardDisabledFeatures(null, currentUser);
691 : Integer.MAX_VALUE; // because DPM returns 0 if no restrictio
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternUtils.java 500 DevicePolicyManager dpm = getDevicePolicyManager(); local
506 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING,
513 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK,
517 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, 0, 0,
570 DevicePolicyManager dpm = getDevicePolicyManager(); local
571 if (dpm.getStorageEncryptionStatus(getCurrentOrCallingUserId())
625 DevicePolicyManager dpm = getDevicePolicyManager(); local
659 dpm.setActivePasswordState(Math.max(quality, computedQuality),
664 dpm.setActivePasswordState(
675 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NavigationBarView.java 93 // used to disable the camera icon in navbar when disabled by DPM
397 final DevicePolicyManager dpm = local
399 if (dpm != null) {
402 final int disabledFlags = dpm.getKeyguardDisabledFeatures(null, userId);
406 return dpm.getCameraDisabled(null) || disabledBecauseKeyguardSecure;
  /external/gcc-demangle/
cp-demangle.c 3887 struct d_print_mod dpm; local
3928 struct d_print_mod dpm; local
4026 struct d_print_mod dpm; local
    [all...]
  /external/valgrind/main/coregrind/m_demangle/
cp-demangle.c 4066 struct d_print_mod dpm; local
4115 struct d_print_mod dpm; local
4216 struct d_print_mod dpm; local
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ProvisionParser.java 110 DevicePolicyManager dpm = local
112 int status = dpm.getStorageEncryptionStatus();
  /packages/apps/Email/tests/src/com/android/email/
SecurityPolicyTests.java 471 * TODO inject a mock DPM so we can directly control & test all cases, no matter what device
480 DevicePolicyManager dpm = mSecurityPolicy.getDPM(); local
482 dpm.getStorageEncryptionStatus() != DevicePolicyManager.ENCRYPTION_STATUS_UNSUPPORTED;
502 * Test the code that converts from exchange-style quality to DPM/Lockscreen style quality.
  /packages/apps/LegacyCamera/src/com/android/camera/
Util.java 260 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( local
262 if (dpm.getCameraDisabled(null)) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
DeviceAdminSample.java 111 // Prepare to work with the DPM
965 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( local
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 302 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( local
304 if (dpm.getCameraDisabled(null)) {
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 323 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( local
325 if (dpm.getCameraDisabled(null)) {
    [all...]
  /frameworks/base/services/java/com/android/server/pm/
PackageManagerService.java 9217 IDevicePolicyManager dpm = IDevicePolicyManager.Stub.asInterface( local
    [all...]

Completed in 588 milliseconds