Home
last modified time | relevance | path

Searched refs:negativeButton (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DRemoteDeviceNameDialogFragmentTest.java93 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameDisplayIsCorrect() local
94 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameDisplayIsCorrect()
106 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditSucceeds() local
107 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditSucceeds()
126 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditThenCancelDoesntRename() local
127 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditThenCancelDoesntRename()
130 negativeButton.performClick(); in deviceNameEditThenCancelDoesntRename()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java124 Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCloseTheDialog() local
125 assertThat(negativeButton).isNotNull(); in clickNegativeButton_shouldCloseTheDialog()
127 negativeButton.performClick(); in clickNegativeButton_shouldCloseTheDialog()
138 final Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCallReject() local
139 negativeButton.performClick(); in clickNegativeButton_shouldCallReject()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragmentTest.java118 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_subscriptionMissing_noCrash() local
119 assertThat(negativeButton).isNotNull(); in dialog_subscriptionMissing_noCrash()
120 negativeButton.performClick(); in dialog_subscriptionMissing_noCrash()
129 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled() local
130 negativeButton.performClick(); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled()
DContactDiscoveryDialogFragmentTest.java75 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testCancelDoesNothing() local
76 assertThat(negativeButton).isNotNull(); in testCancelDoesNothing()
77 negativeButton.performClick(); in testCancelDoesNothing()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton() local
46 negativeButton.callOnClick(); in clickNegativeButton()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java408 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in showVoicemailDonationPromo() local
409 if (negativeButton != null) { in showVoicemailDonationPromo()
410 negativeButton.setTextColor(ThemeComponent.get(context).theme().getTextColorSecondary()); in showVoicemailDonationPromo()