Home
last modified time | relevance | path

Searched refs:dpm (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Email/src/com/android/email/
DSecurityPolicy.java370 DevicePolicyManager dpm = getDPM(); in getInactiveReasons() local
374 if (dpm.getPasswordMinimumLength(mAdminName) < policy.mPasswordMinLength) { in getInactiveReasons()
379 if (dpm.getPasswordQuality(mAdminName) < policy.getDPManagerPasswordQuality()) { in getInactiveReasons()
382 if (!dpm.isActivePasswordSufficient()) { in getInactiveReasons()
388 if (dpm.getMaximumTimeToLock(mAdminName) > policy.mMaxScreenLockTime * 1000) { in getInactiveReasons()
394 long currentTimeout = dpm.getPasswordExpirationTimeout(mAdminName); in getInactiveReasons()
400 long expirationDate = dpm.getPasswordExpiration(mAdminName); in getInactiveReasons()
408 if (dpm.getPasswordHistoryLength(mAdminName) < policy.mPasswordHistory) { in getInactiveReasons()
414 if (dpm.getPasswordMinimumNonLetter(mAdminName) < policy.mPasswordComplexChars) { in getInactiveReasons()
424 if (policy.mDontAllowCamera && !dpm.getCameraDisabled(mAdminName)) { in getInactiveReasons()
[all …]
/packages/apps/Settings/src/com/android/settings/
DCryptKeeperSettings.java142 DevicePolicyManager dpm = (DevicePolicyManager) in onActivityCreated() local
144 if (dpm != null) { in onActivityCreated()
145 int status = dpm.getStorageEncryptionStatus(); in onActivityCreated()
DDisplaySettings.java144 final DevicePolicyManager dpm = in disableUnusableTimeouts() local
147 final long maxTimeout = dpm != null ? dpm.getMaximumTimeToLock(null) : 0; in disableUnusableTimeouts()
DProxySelector.java96 final DevicePolicyManager dpm = in onActivityCreated() local
99 final boolean userSetGlobalProxy = (dpm.getGlobalProxyAdmin() == null); in onActivityCreated()
DSecuritySettings.java141 DevicePolicyManager dpm = in createPreferenceHierarchy() local
145 switch (dpm.getStorageEncryptionStatus()) { in createPreferenceHierarchy()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DProvisionParser.java105 DevicePolicyManager dpm = (DevicePolicyManager) in deviceSupportsEncryption() local
107 int status = dpm.getStorageEncryptionStatus(); in deviceSupportsEncryption()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java260 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( in openCamera() local
262 if (dpm.getCameraDisabled(null)) { in openCamera()
/packages/apps/Camera/src/com/android/camera/
DUtil.java245 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( in openCamera() local
247 if (dpm.getCameraDisabled(null)) { in openCamera()