/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 33 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()
|
D | ShadowRestrictedLockUtils.java | 32 protected static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 86 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/ |
D | ActionDisabledByAdminDialog.java | 49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local 56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
|
D | ActionDisabledByAdminDialogHelper.java | 67 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/ |
D | ActionDisabledByAdminDialog.java | 49 final EnforcedAdmin admin = getAdminDetailsFromIntent(intent); in onNewIntent() local 56 final EnforcedAdmin admin = new EnforcedAdmin(null, UserHandle.of(UserHandle.myUserId())); in getAdminDetailsFromIntent() local
|
D | ActionDisabledByAdminDialogHelper.java | 67 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/ |
D | OtaControllerTest.java | 258 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/ |
D | TimeoutPreferenceController.java | 68 final RestrictedLockUtils.EnforcedAdmin admin = in updateState() local 77 final EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in updateState() local
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutPreferenceController.java | 68 final RestrictedLockUtils.EnforcedAdmin admin = in updateState() local 77 final EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in updateState() local
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ProviderPreference.java | 50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | ProviderPreference.java | 50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RestrictedCheckBox.java | 56 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RestrictedCheckBox.java | 56 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentManager.java | 62 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/ |
D | NotificationSwitchBarPreference.java | 79 public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setDisabledByAdmin()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSwitchBarPreference.java | 79 public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setDisabledByAdmin()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothEnabler.java | 220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions() local 231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() local
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothEnabler.java | 220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions() local 231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() local
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationForWorkPreferenceController.java | 80 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/ |
D | LocationForWorkPreferenceController.java | 80 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged() local
|
D | LocationSwitchBarController.java | 68 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged() local
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MasterSwitchController.java | 74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | MasterSwitchController.java | 74 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationSwitchBarControllerTest.java | 101 final RestrictedLockUtils.EnforcedAdmin admin = in onLocationModeChanged_hasEnforcedAdmin_shouldDisableSwitchByAdmin() local
|