Searched refs:dpm (Results 1 – 8 of 8) sorted by relevance
370 DevicePolicyManager dpm = getDPM(); in getInactiveReasons() local374 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 …]
142 DevicePolicyManager dpm = (DevicePolicyManager) in onActivityCreated() local144 if (dpm != null) { in onActivityCreated()145 int status = dpm.getStorageEncryptionStatus(); in onActivityCreated()
144 final DevicePolicyManager dpm = in disableUnusableTimeouts() local147 final long maxTimeout = dpm != null ? dpm.getMaximumTimeToLock(null) : 0; in disableUnusableTimeouts()
96 final DevicePolicyManager dpm = in onActivityCreated() local99 final boolean userSetGlobalProxy = (dpm.getGlobalProxyAdmin() == null); in onActivityCreated()
141 DevicePolicyManager dpm = in createPreferenceHierarchy() local145 switch (dpm.getStorageEncryptionStatus()) { in createPreferenceHierarchy()
105 DevicePolicyManager dpm = (DevicePolicyManager) in deviceSupportsEncryption() local107 int status = dpm.getStorageEncryptionStatus(); in deviceSupportsEncryption()
260 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( in openCamera() local262 if (dpm.getCameraDisabled(null)) { in openCamera()
245 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService( in openCamera() local247 if (dpm.getCameraDisabled(null)) { in openCamera()