Home
last modified time | relevance | path

Searched refs:admin (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java19 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…
28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
[all …]
DPropertiesProvisioningDataParser.java19 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/
DPropertiesProvisioningDataParserTest.java18 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 …]
DExtrasProvisioningDataParserTest.java18 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_ACCOUNT_TO_MIGRATE;
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
[all …]
DMessageParserTest.java18 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/
DShadowDevicePolicyManager.java3 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED;
8 import android.app.admin.DevicePolicyManager;
33 public void setShortSupportMessageForUser(ComponentName admin, int userHandle, String message) { in setShortSupportMessageForUser() argument
34 mSupportMessagesMap.put(Objects.hash(admin, userHandle), message); in setShortSupportMessageForUser()
38 protected @Nullable CharSequence getShortSupportMessageForUser(@NonNull ComponentName admin, in getShortSupportMessageForUser() argument
40 return mSupportMessagesMap.get(Objects.hash(admin, userHandle)); in getShortSupportMessageForUser()
44 protected boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() argument
54 protected long getMaximumTimeToLock(ComponentName admin, @UserIdInt int userHandle) { in getMaximumTimeToLock() argument
75 public void setDeviceOwnerComponentOnAnyUser(ComponentName admin) { in setDeviceOwnerComponentOnAnyUser() argument
76 mDeviceOwnerComponentName = admin; in setDeviceOwnerComponentOnAnyUser()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java19 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 …]
DProvisioningParams.java19 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/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialog.java20 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()
DActionDisabledByAdminDialogHelper.java22 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/
DActionDisabledByAdminDialog.java20 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()
DActionDisabledByAdminDialogHelper.java22 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/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockPasswordTest.java19 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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java19 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.CODE_ADD_MANAGED_PROFILE_DISALLOWED;
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/enterprise/
DActionDisabledByAdminDialogHelperTest.java30 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/
DUserProvisioningStateHelperTest.java19 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/
DBluetoothEnabler.java220 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/
DBluetoothEnabler.java220 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/
DUserProvisioningStateHelper.java19 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/
DSetNewPasswordActivity.java20 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/
DSetNewPasswordActivity.java20 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/
DTimeoutListPreference.java22 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()
DTimeoutPreferenceController.java18 import android.app.admin.DevicePolicyManager;
68 final RestrictedLockUtils.EnforcedAdmin admin = in updateState() local
72 timeoutListPreference.removeUnusableTimeouts(maxTimeout, admin); in updateState()
77 final EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in updateState() local
80 if (admin != null) { in updateState()
81 timeoutListPreference.removeUnusableTimeouts(0/* disable all*/, admin); in updateState()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java22 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()
DTimeoutPreferenceController.java18 import android.app.admin.DevicePolicyManager;
68 final RestrictedLockUtils.EnforcedAdmin admin = in updateState() local
72 timeoutListPreference.removeUnusableTimeouts(maxTimeout, admin); in updateState()
77 final EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in updateState() local
80 if (admin != null) { in updateState()
81 timeoutListPreference.removeUnusableTimeouts(0/* disable all*/, admin); in updateState()

12345678910>>...17