Searched refs:DevicePolicyManager (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java19 import android.app.admin.DevicePolicyManager;
97 private DevicePolicyManager mDevicePolicyManager;
101 public DevicePolicyManager getDevicePolicyManager() {
104 (DevicePolicyManager)mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
255 int activePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
257 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
259 activePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_SOMETHING;
262 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC:
264 activePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_NUMERIC;
267 case DevicePolicyManager
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java108 * of the new password with {@link DevicePolicyManager#isActivePasswordSufficient()
109 * DevicePolicyManager.isActivePasswordSufficient()}.
125 * {@link DevicePolicyManager#getCurrentFailedPasswordAttempts
126 * DevicePolicyManager.getCurrentFailedPasswordAttempts()}. You will generally
156 private DevicePolicyManager mManager;
160 * Retrieve the DevicePolicyManager interface for this administrator to work
163 public DevicePolicyManager getManager(Context context) {
167 mManager = (DevicePolicyManager)context.getSystemService(
174 * use in {@link DevicePolicyManager} APIs that require the administrator to
188 * can use {@link DevicePolicyManager} t
[all...]
H A DDevicePolicyManager.java42 public class DevicePolicyManager { class
43 private static String TAG = "DevicePolicyManager";
52 private DevicePolicyManager(Context context, Handler handler) { method in class:DevicePolicyManager
60 public static DevicePolicyManager create(Context context, Handler handler) {
61 DevicePolicyManager me = new DevicePolicyManager(context, handler);
/frameworks/base/services/java/com/android/server/
H A DDevicePolicyManagerService.java32 import android.app.admin.DevicePolicyManager;
76 int mActivePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
90 int passwordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
106 if (passwordQuality != DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED) {
116 if (maximumTimeToUnlock != DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED) {
384 Intent intent = new Intent(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED);
477 mActivePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
496 case DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED:
497 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
498 case DevicePolicyManager
[all...]
H A DWindowManagerService.java57 import android.app.admin.DevicePolicyManager;
243 private static final int ALLOW_DISABLE_UNKNOWN = -1; // check with DevicePolicyManager
637 // Track changes to DevicePolicyManager state so we can enable/disable keyguard.
639 filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED);
4210 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService(
4214 == DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED ?
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DLockPatternKeyguardView.java30 import android.app.admin.DevicePolicyManager;
286 == DevicePolicyManager.PASSWORD_QUALITY_SOMETHING;
647 == DevicePolicyManager.PASSWORD_QUALITY_SOMETHING;
667 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC:
668 case DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC:
669 case DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC:
672 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
673 case DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED:
H A DPasswordUnlockScreen.java19 import android.app.admin.DevicePolicyManager;
90 final boolean isAlpha = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC == quality
91 || DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC == quality;
/frameworks/base/core/java/android/app/
H A DContextImpl.java104 import android.app.admin.DevicePolicyManager;
200 private DevicePolicyManager mDevicePolicyManager = null;
1171 private DevicePolicyManager getDevicePolicyManager() {
1174 mDevicePolicyManager = DevicePolicyManager.create(this,

Completed in 181 milliseconds