/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ValidatedEditTextPreferenceDialogFragmentTest.java | 81 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit() local 86 assertThat(positiveButton.isEnabled()).isTrue(); in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit() 90 assertThat(positiveButton.isEnabled()).isTrue(); in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit() 105 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit() local 111 assertThat(positiveButton.isEnabled()).isFalse(); in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit() 126 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit() local 132 assertThat(positiveButton.isEnabled()).isTrue(); in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | RemoteDeviceNameDialogFragmentTest.java | 91 Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in deviceNameDisplayIsCorrect() local 92 assertThat(positiveButton.isEnabled()).isFalse(); in deviceNameDisplayIsCorrect() 105 Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in deviceNameEditSucceeds() local 108 assertThat(positiveButton.isEnabled()).isFalse(); in deviceNameEditSucceeds() 114 assertThat(positiveButton.isEnabled()).isTrue(); in deviceNameEditSucceeds() 115 positiveButton.performClick(); in deviceNameEditSucceeds()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | ContactDiscoveryDialogFragmentTest.java | 85 final Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in testOkEnablesDiscovery() local 86 assertThat(positiveButton).isNotNull(); in testOkEnablesDiscovery() 87 positiveButton.performClick(); in testOkEnablesDiscovery()
|
D | RenameMobileNetworkDialogFragmentTest.java | 154 final Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in dialog_saveButtonClicked_setDisplayNameAndIconTint() local 155 positiveButton.performClick(); in dialog_saveButtonClicked_setDisplayNameAndIconTint()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestErrorDialogFragmentTest.java | 112 Button positiveButton = alertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in clickPositiveButton_shouldCallStartScanningDialog() local 113 assertThat(positiveButton).isNotNull(); in clickPositiveButton_shouldCallStartScanningDialog() 115 positiveButton.performClick(); in clickPositiveButton_shouldCallStartScanningDialog()
|
D | NetworkRequestDialogFragmentTest.java | 102 Button positiveButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCloseTheDialog() local 103 assertThat(positiveButton).isNotNull(); in clickNegativeButton_shouldCloseTheDialog() 105 positiveButton.performClick(); in clickNegativeButton_shouldCloseTheDialog()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | DialogTestUtils.java | 35 Button positiveButton = dialogFragment.getDialog().getWindow().findViewById( in clickPositiveButton() local 37 positiveButton.callOnClick(); in clickPositiveButton()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | DialogTestUtils.java | 35 Button positiveButton = dialogFragment.getDialog().getWindow().findViewById( in clickPositiveButton() local 37 positiveButton.callOnClick(); in clickPositiveButton()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingDialogFragment.java | 96 Button positiveButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in afterTextChanged() local 97 if (positiveButton != null) { in afterTextChanged() 98 positiveButton.setEnabled(mPairingController.isPasskeyValid(s)); in afterTextChanged()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingDialogFragment.java | 99 Button positiveButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in afterTextChanged() local 100 if (positiveButton != null) { in afterTextChanged() 101 positiveButton.setEnabled(mPairingController.isPasskeyValid(s)); in afterTextChanged()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityDialogUtils.java | 234 final Button positiveButton = contentView.findViewById( in setCustomButtonsClickListener() local 239 if (positiveButton != null) { in setCustomButtonsClickListener() 240 positiveButton.setOnClickListener(v -> { in setCustomButtonsClickListener()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | PhoneCallDetailsHelper.java | 404 Button positiveButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in showVoicemailDonationPromo() local 405 if (positiveButton != null) { in showVoicemailDonationPromo() 406 positiveButton.setTextColor(ThemeComponent.get(context).theme().getColorPrimary()); in showVoicemailDonationPromo()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 106 public void onClick(View positiveButton) { in onClick() argument
|