/packages/apps/Email/src/com/android/email/ |
SecurityPolicy.java | 197 * Get the dpm. This mainly allows us to make some utility calls without it, for testing. 361 DevicePolicyManager dpm = getDPM(); local 365 if (dpm.getPasswordMinimumLength(mAdminName) < policy.mPasswordMinLength) { 370 if (dpm.getPasswordQuality(mAdminName) < policy.getDPManagerPasswordQuality()) { 373 if (!dpm.isActivePasswordSufficient()) { 378 // Note, we use seconds, dpm uses milliseconds 379 if (dpm.getMaximumTimeToLock(mAdminName) > policy.mMaxScreenLockTime * 1000) { 385 long currentTimeout = dpm.getPasswordExpirationTimeout(mAdminName); 391 long expirationDate = dpm.getPasswordExpiration(mAdminName); 399 if (dpm.getPasswordHistoryLength(mAdminName) < policy.mPasswordHistory) 434 DevicePolicyManager dpm = getDPM(); local 550 DevicePolicyManager dpm = getDPM(); local 567 DevicePolicyManager dpm = getDPM(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
CryptKeeperSettings.java | 142 DevicePolicyManager dpm = (DevicePolicyManager) local 144 if (dpm != null) { 145 int status = dpm.getStorageEncryptionStatus();
|
DisplaySettings.java | 130 final DevicePolicyManager dpm = local 133 final long maxTimeout = dpm != null ? dpm.getMaximumTimeToLock(null) : 0;
|
ProxySelector.java | 96 final DevicePolicyManager dpm = local 99 final boolean userSetGlobalProxy = (dpm.getGlobalProxyAdmin() == null);
|
SecuritySettings.java | 137 DevicePolicyManager dpm = local 140 switch (dpm.getStorageEncryptionStatus()) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 479 DevicePolicyManager dpm = getDevicePolicyManager(); local 487 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING, 494 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK, 501 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED, 0, 0, 543 DevicePolicyManager dpm = getDevicePolicyManager(); local 544 if (dpm.getStorageEncryptionStatus() != DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE) { 594 DevicePolicyManager dpm = getDevicePolicyManager(); local 630 dpm.setActivePasswordState(Math.max(quality, computedQuality), 635 dpm.setActivePasswordState( 644 dpm.setActivePasswordState(DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK [all...] |
/external/valgrind/main/coregrind/m_demangle/ |
cp-demangle.c | 3581 struct d_print_mod dpm; local 3622 struct d_print_mod dpm; local 3719 struct d_print_mod dpm; local [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ProvisionParser.java | 95 DevicePolicyManager dpm = (DevicePolicyManager) local 97 int status = dpm.getStorageEncryptionStatus();
|
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 260 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( local 262 if (dpm.getCameraDisabled(null)) {
|
/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.
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
DeviceAdminSample.java | 108 // Prepare to work with the DPM 926 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( local [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
PackageManagerService.java | 6895 IDevicePolicyManager dpm = IDevicePolicyManager.Stub.asInterface( local [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowManagerService.java | 4532 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService( local [all...] |