/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 22 import android.app.admin.DevicePolicyManager; 165 private DevicePolicyManager mDevicePolicyManager; 173 public DevicePolicyManager getDevicePolicyManager() { in getDevicePolicyManager() 176 (DevicePolicyManager)mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDevicePolicyManager() 444 int activePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; in getActivePasswordQuality() 448 (int) getLong(PASSWORD_TYPE_KEY, DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in getActivePasswordQuality() 450 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING: in getActivePasswordQuality() 452 activePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; in getActivePasswordQuality() 455 case DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK: in getActivePasswordQuality() 457 activePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK; in getActivePasswordQuality() [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardSecurityModel.java | 18 import android.app.admin.DevicePolicyManager; 94 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC: in getSecurityMode() 95 case DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX: in getSecurityMode() 99 case DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC: in getSecurityMode() 100 case DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC: in getSecurityMode() 101 case DevicePolicyManager.PASSWORD_QUALITY_COMPLEX: in getSecurityMode() 106 case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING: in getSecurityMode() 107 case DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED: in getSecurityMode()
|
D | KeyguardHostView.java | 25 import android.app.admin.DevicePolicyManager; 139 DevicePolicyManager dpm = in KeyguardHostView() 140 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in KeyguardHostView() 177 if ((mDisabledFeatures & DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL) != 0) { in KeyguardHostView() 180 if ((mDisabledFeatures & DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA) != 0) { in KeyguardHostView() 389 private int getDisabledFeatures(DevicePolicyManager dpm) { in getDisabledFeatures() 390 int disabledFeatures = DevicePolicyManager.KEYGUARD_DISABLE_FEATURES_NONE; in getDisabledFeatures() 401 (mDisabledFeatures & DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL) != 0; in widgetsDisabled() 408 || (mDisabledFeatures & DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA) != 0; in cameraDisabledByDpm()
|
D | KeyguardUpdateMonitor.java | 23 import android.app.admin.DevicePolicyManager; 386 final DevicePolicyManager dpm = in isTrustDisabled() 387 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in isTrustDisabled() 399 & DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS) != 0; in isTrustDisabled() 407 final DevicePolicyManager dpm = in isFingerprintDisabled() 408 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in isFingerprintDisabled() 410 & DevicePolicyManager.KEYGUARD_DISABLE_FINGERPRINT) != 0; in isFingerprintDisabled() 489 } else if (DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED 708 allUserFilter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); in KeyguardUpdateMonitor()
|
D | KeyguardUpdateMonitorCallback.java | 19 import android.app.admin.DevicePolicyManager;
|
D | FaceUnlock.java | 23 import android.app.admin.DevicePolicyManager; 199 return DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK; in getQuality()
|
D | KeyguardSecurityContainer.java | 20 import android.app.admin.DevicePolicyManager; 282 final DevicePolicyManager dpm = mLockPatternUtils.getDevicePolicyManager(); in reportFailedUnlockAttempt()
|
/frameworks/base/docs/html/guide/topics/admin/ |
D | device-admin.jd | 28 <li>{@link android.app.admin.DevicePolicyManager}</li> 181 {@link android.app.admin.DevicePolicyManager#setPasswordExpirationTimeout(android.content.Component… 381 <dt>{@link android.app.admin.DevicePolicyManager}</dt> 384 has currently enabled. The {@link android.app.admin.DevicePolicyManager} manages policies for 393 {@link android.app.admin.DevicePolicyManager} APIs to write a device admin application.</p> 440 action that triggers the {@link android.app.admin.DevicePolicyManager#ACTION_ADD_DEVICE_ADMIN} 467 Intent intent = new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN); 468 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mDeviceAdminSample); 469 intent.putExtra(DevicePolicyManager.EXTRA_ADD_EXPLANATION, 489 <code>intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardDisableHandler.java | 20 import android.app.admin.DevicePolicyManager; 96 DevicePolicyManager dpm = (DevicePolicyManager) mContext.getSystemService( in updateAllowState() 102 == DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED ? in updateAllowState()
|
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/ |
D | KeyguardTestActivity.java | 25 import android.app.admin.DevicePolicyManager; 182 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; in setMode() 185 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_NUMERIC; in setMode() 189 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC; in setMode() 193 mSecurityModeMock = DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; in setMode()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 232 private DevicePolicyManager mManager; 239 public DevicePolicyManager getManager(Context context) { in getManager() 243 mManager = (DevicePolicyManager)context.getSystemService( in getManager()
|
D | DevicePolicyManager.java | 79 public class DevicePolicyManager { class 85 private DevicePolicyManager(Context context, Handler handler) { in DevicePolicyManager() method in DevicePolicyManager 92 public static DevicePolicyManager create(Context context, Handler handler) { in create() 93 DevicePolicyManager me = new DevicePolicyManager(context, handler); in create()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | ApplicationRestrictionsTest.java | 20 import android.app.admin.DevicePolicyManager; 42 static DevicePolicyManager sDpm; 65 sDpm = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 19 import android.app.admin.DevicePolicyManager; 55 private final DevicePolicyManager mDevicePolicyManager; 66 mDevicePolicyManager = (DevicePolicyManager) in SecurityControllerImpl()
|
/frameworks/base/docs/html/training/enterprise/ |
D | device-management-policy.jd | 55 android.app.admin.DevicePolicyManager} (defining minimum password length and minimum number of 120 {@link android.app.admin.DevicePolicyManager#EXTRA_ADD_EXPLANATION} extra in the intent.</p> 132 new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN); 135 DevicePolicyManager.EXTRA_DEVICE_ADMIN, 143 DevicePolicyManager.EXTRA_ADD_EXPLANATION, 171 DevicePolicyManager mDPM = (DevicePolicyManager) 194 new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD);
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 21 import android.app.admin.DevicePolicyManager; 345 DevicePolicyManager dpm = in updateDevicePolicyFeatures() 346 (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in updateDevicePolicyFeatures() 349 & DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS) != 0) { in updateDevicePolicyFeatures()
|
D | TrustManagerService.java | 29 import android.app.admin.DevicePolicyManager; 231 DevicePolicyManager dpm = lockPatternUtils.getDevicePolicyManager(); in refreshAgentList() 234 (disabledFeatures & DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS) != 0; in refreshAgentList() 850 if (DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED.equals(action)) { in onReceive() 888 filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); in register()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBottomAreaView.java | 20 import android.app.admin.DevicePolicyManager; 254 final DevicePolicyManager dpm = in isCameraDisabledByDpm() 255 (DevicePolicyManager) getContext().getSystemService(Context.DEVICE_POLICY_SERVICE); in isCameraDisabledByDpm() 261 (disabledFlags & DevicePolicyManager.KEYGUARD_DISABLE_SECURE_CAMERA) != 0 in isCameraDisabledByDpm() 273 filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); in watchForCameraPolicyChanges()
|
/frameworks/base/docs/html/sdk/api_diff/preview-21/ |
D | missingSinces.txt | 122 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addCrossProfileIntentFilter(android.cont… 123 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addCrossProfileWidgetProvider(android.co… 150 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearCrossProfileIntentFilters(android.c… 151 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearDeviceOwnerApp(java.lang.String) 159 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method createAndInitializeUser(android.content.… 195 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method getAutoTimeRequired() 220 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method getCrossProfileCallerIdDisabled(android.… 221 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method getCrossProfileWidgetProviders(android.c… 264 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method getInstalledCaCerts(android.content.Comp… 294 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method getPermittedAccessibilityServices(androi… [all …]
|
/frameworks/base/core/java/android/service/restrictions/ |
D | RestrictionsReceiver.java | 19 import android.app.admin.DevicePolicyManager;
|
/frameworks/base/docs/html/sdk/api_diff/21/ |
D | missingSinces.txt | 251 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addCrossProfileIntentFilter(android.cont… 252 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addCrossProfileWidgetProvider(android.co… 258 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addPersistentPreferredActivity(android.c… 267 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method addUserRestriction(android.content.Compo… 292 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearCrossProfileIntentFilters(android.c… 293 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearDeviceOwnerApp(java.lang.String) 294 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearPackagePersistentPreferredActivitie… 295 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method clearUserRestriction(android.content.Com… 310 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method createAndInitializeUser(android.content.… 319 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method createUser(android.content.ComponentName… [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 20 import static android.app.admin.DevicePolicyManager.WIPE_EXTERNAL_STORAGE; 21 import static android.app.admin.DevicePolicyManager.WIPE_RESET_PROTECTION_DATA; 36 import android.app.admin.DevicePolicyManager; 249 int mActivePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; 368 int passwordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; 459 if (passwordQuality != DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED) { in writeToXml() 1389 Intent intent = new Intent(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); in sendChangedNotification() 1526 policy.mActivePasswordQuality = DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; in loadSettingsLocked() 1543 case DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED: in validateQualityConstant() 1544 case DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK: in validateQualityConstant() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 25 import android.app.admin.DevicePolicyManager;
|
/frameworks/base/core/java/android/service/trust/ |
D | TrustAgentService.java | 23 import android.app.admin.DevicePolicyManager;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BaseStatusBar.java | 28 import android.app.admin.DevicePolicyManager; 192 protected DevicePolicyManager mDevicePolicyManager; 381 } else if (DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED.equals( 499 mDevicePolicyManager = (DevicePolicyManager)mContext.getSystemService( in start() 609 filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); in start() 1198 & DevicePolicyManager.KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS) == 0; 1811 & DevicePolicyManager.KEYGUARD_DISABLE_SECURE_NOTIFICATIONS) == 0;
|