Home
last modified time | relevance | path

Searched refs:negativeButton (Results 1 – 8 of 8) 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.java127 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_subscriptionMissing_noCrash() local
128 assertThat(negativeButton).isNotNull(); in dialog_subscriptionMissing_noCrash()
129 negativeButton.performClick(); in dialog_subscriptionMissing_noCrash()
138 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled() local
139 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/unit/src/com/android/car/settings/testutils/
DDialogTestUtils.java44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton() local
46 negativeButton.callOnClick(); in clickNegativeButton()
/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/Settings/src/com/android/settings/accessibility/
DAccessibilityDialogUtils.java236 final Button negativeButton = contentView.findViewById( in setCustomButtonsClickListener() local
248 if (negativeButton != null) { in setCustomButtonsClickListener()
249 negativeButton.setOnClickListener(v -> { in setCustomButtonsClickListener()
/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()