Home
last modified time | relevance | path

Searched defs:admin (Results 1 – 25 of 110) sorted by relevance

12345

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDevicePolicyManager.java33 public void setShortSupportMessageForUser(ComponentName admin, int userHandle, String message) { in setShortSupportMessageForUser()
38 protected @Nullable CharSequence getShortSupportMessageForUser(@NonNull ComponentName admin, in getShortSupportMessageForUser()
44 protected boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser()
54 protected long getMaximumTimeToLock(ComponentName admin, @UserIdInt int userHandle) { in getMaximumTimeToLock()
75 public void setDeviceOwnerComponentOnAnyUser(ComponentName admin) { in setDeviceOwnerComponentOnAnyUser()
80 public int getPasswordQuality(ComponentName admin, int userHandle) { in getPasswordQuality()
89 public int getPasswordMinimumLength(ComponentName admin, int userHandle) { in getPasswordMinimumLength()
98 public int getPasswordMinimumSymbols(ComponentName admin, int userHandle) { in getPasswordMinimumSymbols()
DShadowRestrictedLockUtils.java32 protected static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java86 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(userId)); in testShowAdminPoliciesWithComponent() local
100 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(userId)); in testShowAdminPoliciesWithoutComponent() local
156 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetails() local
180 final EnforcedAdmin admin = new EnforcedAdmin(component, UserHandle.of(123)); in testSetAdminSupportDetailsNotAdmin() local
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialog.java49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local
56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
DActionDisabledByAdminDialogHelper.java67 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId()
107 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
117 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DActionDisabledByAdminDialog.java49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local
56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
DActionDisabledByAdminDialogHelper.java67 private @UserIdInt int getEnforcementAdminUserId(@NonNull EnforcedAdmin admin) { in getEnforcementAdminUserId()
107 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
117 private void initializeDialogViews(View root, ComponentName admin, int userId, in initializeDialogViews()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java258 private void setDeviceOwner(int userId, ComponentName admin) { in setDeviceOwner()
263 private void addManagedProfile(int userId, ComponentName admin) { in addManagedProfile()
271 private void addManagedUser(int userId, ComponentName admin) { in addManagedUser()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DTimeoutPreferenceController.java68 final RestrictedLockUtils.EnforcedAdmin admin = in updateState() local
77 final EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in updateState() local
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutPreferenceController.java68 final RestrictedLockUtils.EnforcedAdmin admin = in updateState() local
77 final EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in updateState() local
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DProviderPreference.java50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRestrictedCheckBox.java56 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/
DRestrictedCheckBox.java56 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentManager.java62 public RestrictedLockUtils.EnforcedAdmin admin = null; field in TrustAgentManager.TrustAgentComponentInfo
117 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in getActiveTrustAgents() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationSwitchBarPreference.java79 public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSwitchBarPreference.java79 public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setDisabledByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothEnabler.java220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions() local
231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() local
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions() local
231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() local
/packages/apps/Settings/src/com/android/settings/location/
DLocationForWorkPreferenceController.java80 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationForWorkPreferenceController.java80 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged() local
DLocationSwitchBarController.java68 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged() local
/packages/apps/Settings/src/com/android/settings/widget/
DMasterSwitchController.java74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMasterSwitchController.java74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java101 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged_hasEnforcedAdmin_shouldDisableSwitchByAdmin() local

12345