/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParser.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_FINANCED_DEVICE; 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 23 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE; 24 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… [all …]
|
D | PropertiesProvisioningDataParser.java | 19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU… 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECK… 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE… 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCALE; [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | PropertiesProvisioningDataParserTest.java | 18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU… 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA… 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_UR… 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL; [all …]
|
D | ExtrasProvisioningDataParserTest.java | 18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_FINANCED_DEVICE; 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE; 23 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER; 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION… [all …]
|
D | MessageParserTest.java | 18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE; 22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER; 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 25 import static android.app.admin.DevicePolicyManager.MIME_TYPE_PROVISIONING_NFC; 30 import android.app.admin.DevicePolicyManager;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 3 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED; 8 import android.app.admin.DevicePolicyManager; 9 import android.app.admin.PasswordMetrics; 10 import android.app.admin.PasswordPolicy; 34 public void setShortSupportMessageForUser(ComponentName admin, int userHandle, String message) { in setShortSupportMessageForUser() argument 35 mSupportMessagesMap.put(Objects.hash(admin, userHandle), message); in setShortSupportMessageForUser() 39 protected @Nullable CharSequence getShortSupportMessageForUser(@NonNull ComponentName admin, in getShortSupportMessageForUser() argument 41 return mSupportMessagesMap.get(Objects.hash(admin, userHandle)); in getShortSupportMessageForUser() 45 protected boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() argument 55 protected long getMaximumTimeToLock(ComponentName admin, @UserIdInt int userHandle) { in getMaximumTimeToLock() argument [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY; 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_DOMAIN; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_EAP_METHOD; 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_HIDDEN; 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_IDENTITY; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PAC_URL; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PASSWORD; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PHASE2_AUTH; 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PROXY_BYPASS; [all …]
|
D | ProvisioningParams.java | 19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE; 20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE; 21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_UR… 23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL; 24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME; 25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DISCLAIMERS; 26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION; 27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE… 28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCALE; [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | ActionDisabledByAdminDialog.java | 20 import android.app.admin.DevicePolicyManager; 49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local 51 mDialogHelper.updateDialog(restriction, admin); in onNewIntent() 56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local 58 return admin; in getAdminDetailsFromIntent() 60 admin.component = intent.getParcelableExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN); in getAdminDetailsFromIntent() 63 admin.user = intent.getParcelableExtra(Intent.EXTRA_USER); in getAdminDetailsFromIntent() 67 admin.user = null; in getAdminDetailsFromIntent() 69 admin.user = UserHandle.of(userId); in getAdminDetailsFromIntent() 72 return admin; in getAdminDetailsFromIntent()
|
D | ActionDisabledByAdminDialogHelper.java | 22 import android.app.admin.DevicePolicyManager; 64 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId() argument 65 if (admin.user == null) { in getEnforcementAdminUserId() 68 return admin.user.getIdentifier(); in getEnforcementAdminUserId() 89 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog() argument 90 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 93 mEnforcedAdmin = admin; in updateDialog() 99 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews() argument 101 if (admin == null) { in initializeDialogViews() 114 setAdminSupportDetails(mActivity, root, new EnforcedAdmin(admin, user)); in initializeDialogViews()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialog.java | 20 import android.app.admin.DevicePolicyManager; 49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local 51 mDialogHelper.updateDialog(restriction, admin); in onNewIntent() 56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local 58 return admin; in getAdminDetailsFromIntent() 60 admin.component = intent.getParcelableExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN); in getAdminDetailsFromIntent() 63 admin.user = intent.getParcelableExtra(Intent.EXTRA_USER); in getAdminDetailsFromIntent() 67 admin.user = null; in getAdminDetailsFromIntent() 69 admin.user = UserHandle.of(userId); in getAdminDetailsFromIntent() 72 return admin; in getAdminDetailsFromIntent()
|
D | ActionDisabledByAdminDialogHelper.java | 22 import android.app.admin.DevicePolicyManager; 67 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId() argument 68 if (admin.user == null) { in getEnforcementAdminUserId() 71 return admin.user.getIdentifier(); in getEnforcementAdminUserId() 107 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog() argument 108 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 111 mEnforcedAdmin = admin; in updateDialog() 117 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews() argument 119 if (admin == null) { in initializeDialogViews() 123 if (!RestrictedLockUtilsInternal.isAdminInCurrentUserOrProfile(mActivity, admin) in initializeDialogViews() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | ActionDisabledByAdminDialog.java | 20 import android.app.admin.DevicePolicyManager; 49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local 51 mDialogHelper.updateDialog(restriction, admin); in onNewIntent() 56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local 58 return admin; in getAdminDetailsFromIntent() 60 admin.component = intent.getParcelableExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN); in getAdminDetailsFromIntent() 63 admin.user = intent.getParcelableExtra(Intent.EXTRA_USER); in getAdminDetailsFromIntent() 67 admin.user = null; in getAdminDetailsFromIntent() 69 admin.user = UserHandle.of(userId); in getAdminDetailsFromIntent() 72 return admin; in getAdminDetailsFromIntent()
|
D | ActionDisabledByAdminDialogHelper.java | 22 import android.app.admin.DevicePolicyManager; 67 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId() argument 68 if (admin.user == null) { in getEnforcementAdminUserId() 71 return admin.user.getIdentifier(); in getEnforcementAdminUserId() 107 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog() argument 108 if (mEnforcedAdmin.equals(admin) && Objects.equals(mRestriction, restriction)) { in updateDialog() 111 mEnforcedAdmin = admin; in updateDialog() 117 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews() argument 119 if (admin == null) { in initializeDialogViews() 123 if (!RestrictedLockUtilsInternal.isAdminInCurrentUserOrProfile(mActivity, admin) in initializeDialogViews() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_FINANCED_DEVICE; 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO… 22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 23 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE; 24 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER; 25 import static android.app.admin.DevicePolicyManager.CODE_CANNOT_ADD_MANAGED_PROFILE; 26 import static android.app.admin.DevicePolicyManager.CODE_HAS_DEVICE_OWNER; 27 import static android.app.admin.DevicePolicyManager.CODE_MANAGED_USERS_NOT_SUPPORTED; 28 import static android.app.admin.DevicePolicyManager.CODE_NOT_SYSTEM_USER; [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPasswordTest.java | 19 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_HIGH; 20 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_LOW; 21 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_MEDIUM; 22 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE; 23 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC; 24 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC; 25 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX; 26 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC; 27 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_NUMERIC_COMPLEX; 28 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_SOMETHING; [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 30 import android.app.admin.DevicePolicyManager; 86 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(userId)); in testShowAdminPoliciesWithComponent() local 88 mHelper.showAdminPolicies(admin, mActivity); in testShowAdminPoliciesWithComponent() 100 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(userId)); in testShowAdminPoliciesWithoutComponent() local 101 mHelper.showAdminPolicies(admin, mActivity); in testShowAdminPoliciesWithoutComponent() 156 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetails() local 167 mHelper.setAdminSupportDetails(mActivity, view, admin); in testSetAdminSupportDetails() 168 assertNotNull(admin.component); in testSetAdminSupportDetails() 180 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetailsNotAdmin() local 186 mHelper.setAdminSupportDetails(mActivity, null, admin); in testSetAdminSupportDetailsNotAdmin() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelperTest.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE; 20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 21 import static android.app.admin.DevicePolicyManager.STATE_USER_PROFILE_COMPLETE; 22 import static android.app.admin.DevicePolicyManager.STATE_USER_SETUP_COMPLETE; 23 import static android.app.admin.DevicePolicyManager.STATE_USER_SETUP_FINALIZED; 24 import static android.app.admin.DevicePolicyManager.STATE_USER_SETUP_INCOMPLETE; 25 import static android.app.admin.DevicePolicyManager.STATE_USER_UNMANAGED; 30 import android.app.admin.DevicePolicyManager;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothEnabler.java | 220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions() local 221 mSwitchController.setDisabledByAdmin(admin); in maybeEnforceRestrictions() 222 if (admin != null) { in maybeEnforceRestrictions() 226 return admin != null; in maybeEnforceRestrictions() 231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() local 233 if (admin == null) { in getEnforcedAdmin() 234 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() 237 return admin; in getEnforcedAdmin()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEnabler.java | 220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions() local 221 mSwitchController.setDisabledByAdmin(admin); in maybeEnforceRestrictions() 222 if (admin != null) { in maybeEnforceRestrictions() 226 return admin != null; in maybeEnforceRestrictions() 231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() local 233 if (admin == null) { in getEnforcedAdmin() 234 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() 237 return admin; in getEnforcedAdmin()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelper.java | 19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE; 20 import static android.app.admin.DevicePolicyManager.STATE_USER_PROFILE_COMPLETE; 21 import static android.app.admin.DevicePolicyManager.STATE_USER_SETUP_COMPLETE; 22 import static android.app.admin.DevicePolicyManager.STATE_USER_SETUP_FINALIZED; 23 import static android.app.admin.DevicePolicyManager.STATE_USER_SETUP_INCOMPLETE; 24 import static android.app.admin.DevicePolicyManager.STATE_USER_UNMANAGED; 28 import android.app.admin.DevicePolicyManager;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | SetNewPasswordActivity.java | 20 import static android.app.admin.DevicePolicyManager.ACTION_SET_NEW_PARENT_PROFILE_PASSWORD; 21 import static android.app.admin.DevicePolicyManager.ACTION_SET_NEW_PASSWORD; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PASSWORD_COMPLEXITY; 23 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE; 29 import android.app.admin.DevicePolicyManager; 30 import android.app.admin.DevicePolicyManager.PasswordComplexity; 31 import android.app.admin.PasswordMetrics;
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | SetNewPasswordActivity.java | 20 import static android.app.admin.DevicePolicyManager.ACTION_SET_NEW_PARENT_PROFILE_PASSWORD; 21 import static android.app.admin.DevicePolicyManager.ACTION_SET_NEW_PASSWORD; 22 import static android.app.admin.DevicePolicyManager.EXTRA_PASSWORD_COMPLEXITY; 23 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE; 30 import android.app.admin.DevicePolicyManager; 31 import android.app.admin.DevicePolicyManager.PasswordComplexity; 32 import android.app.admin.PasswordMetrics;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | TimeoutListPreference.java | 22 import android.app.admin.DevicePolicyManager; 78 public void removeUnusableTimeouts(long maxTimeout, EnforcedAdmin admin) { in removeUnusableTimeouts() argument 85 if (admin == null && mAdmin == null && !isDisabledByAdmin()) { in removeUnusableTimeouts() 88 if (admin == null) { in removeUnusableTimeouts() 105 setDisabledByAdmin(admin); in removeUnusableTimeouts() 115 mAdmin = admin; in removeUnusableTimeouts()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutListPreference.java | 22 import android.app.admin.DevicePolicyManager; 78 public void removeUnusableTimeouts(long maxTimeout, EnforcedAdmin admin) { in removeUnusableTimeouts() argument 85 if (admin == null && mAdmin == null && !isDisabledByAdmin()) { in removeUnusableTimeouts() 88 if (admin == null) { in removeUnusableTimeouts() 105 setDisabledByAdmin(admin); in removeUnusableTimeouts() 115 mAdmin = admin; in removeUnusableTimeouts()
|