Home
last modified time | relevance | path

Searched refs:performClick (Results 1 – 25 of 216) sorted by relevance

123456789

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java110 mResetButton.performClick(); in testResetButtonClick_connectivityManagerReset()
116 mResetButton.performClick(); in testResetButtonClick_wifiManagerReset()
122 mResetButton.performClick(); in testResetButtonClick_bluetoothAdapterReset()
128 mResetButton.performClick(); in testResetButtonClick_cleanSmsRawTable()
136 mResetButton.performClick(); in testResetButtonClick_euiccResetEnabled_euiccReset()
143 mResetButton.performClick(); in testResetButtonClick_euiccResetDisabled_euiccNotReset()
150 assertThrows(NumberFormatException.class, () -> mResetButton.performClick()); in testResetButtonClick_nonIntegerNetworkSubscriptionId_numberExceptionError()
156 mResetButton.performClick(); in testResetButtonClick_emptyNetworkSubscriptionId_telephonyNotReset()
164 mResetButton.performClick(); in testResetButtonClick_validNetworkSubscriptionId_telephonyReset()
171 mResetButton.performClick(); in testResetButtonClick_emptyNetworkSubscriptionId_networkManagerNotReset()
[all …]
DMasterClearConfirmFragmentTest.java88 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_sendsResetIntent()
104 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_resetEsimFalse_resetIntentReflectsChoice()
114 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_pdbManagerNull_sendsResetIntent()
124 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_oemUnlockAllowed_doesNotWipePdb()
133 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_oemUnlockAllowed_sendsResetIntent()
143 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_notProvisioned_doesNotWipePdb()
152 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_notProvisioned_sendsResetIntent()
164 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_provisioned_wipesPdb()
175 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_provisioned_sendsResetIntent()
DBuildNumberPreferenceControllerTest.java126 mPreference.performClick(); in testHandlePreferenceClicked_devSettingsDisabled_firstClick_noToast()
133 mPreference.performClick(); in testHandlePreferenceClicked_devSettingsDisabled_someClicks_showToast()
145 mPreference.performClick(); in testHandlePreferenceClicked_devSettingsDisabled_allClicks_showDevEnabledToast()
154 mPreference.performClick(); in testHandlePreferenceClicked_devSettingsDisabled_allClicks_devSettingsEnabled()
164 mPreference.performClick(); in testHandlePreferenceClicked_devSettingsDisabled_extraClicks_noAlreadyDevToast()
176 mPreference.performClick(); in testHandlePreferenceClicked_devSettingsEnabled_click_showAlreadyDevToast()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DRestrictedListPreferenceTest.java81 mPreference.performClick(); in performClick_profileLocked()
83 verify(mMockHelper, never()).performClick(); in performClick_profileLocked()
96 mPreference.performClick(); in performClick_profileDisabled()
98 verify(mMockHelper, never()).performClick(); in performClick_profileDisabled()
113 when(mMockHelper.performClick()).thenReturn(true); in performClick_profileAvailable()
114 mPreference.performClick(); in performClick_profileAvailable()
115 verify(mMockHelper).performClick(); in performClick_profileAvailable()
124 when(mMockHelper.performClick()).thenReturn(true); in performClick_profileLockedAndUnlockedProfileNotRequired()
125 mPreference.performClick(); in performClick_profileLockedAndUnlockedProfileNotRequired()
126 verify(mMockHelper).performClick(); in performClick_profileLockedAndUnlockedProfileNotRequired()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java286 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_securityDialogShown()
302 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
326 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
349 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
371 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
394 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded()
418 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled()
440 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled()
463 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_directBootWarningShown()
489 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded()
[all …]
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java109 muteButton.performClick(); in testMuteButton()
113 muteButton.performClick(); in testMuteButton()
131 dialpadButton.performClick(); in testDialpadButton()
135 dialpadButton.performClick(); in testDialpadButton()
148 endCallButton.performClick(); in testEndCallButton()
182 pauseButton.performClick(); in testClickPauseButton_activeCall()
186 pauseButton.performClick(); in testClickPauseButton_activeCall()
195 pauseButton.performClick(); in testClickPauseButton_connectingCall()
DRingingCallControllerBarFragmentTest.java74 answerCallButton.performClick(); in testAnswerCallButton()
85 answerCallText.performClick(); in testAnswerCallText()
96 endCallButton.performClick(); in testEndCallButton()
107 endCallText.performClick(); in testEndCallText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java266 pref.performClick(); in disableThenReenableOneProfile()
274 pref.performClick(); in disableThenReenableOneProfile()
307 pref.performClick(); in pbapProfileStartsEnabled()
330 pref.performClick(); in pbapProfileStartsDisabled()
352 pref.performClick(); in mapProfile()
387 pref.performClick(); in highQualityAudio_prefIsPresentWhenSupported()
390 pref.performClick(); in highQualityAudio_prefIsPresentWhenSupported()
427 audioPref.performClick(); in highQualityAudio_mediaAudioDisabledAndReEnabled()
436 audioPref.performClick(); in highQualityAudio_mediaAudioDisabledAndReEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsDataRoleControllerTest.java138 devicePref.performClick(); in onClickDevice_hostEnabled_shouldSetDevice()
151 devicePref.performClick(); in onClickDeviceTwice_hostEnabled_shouldSetDeviceOnce()
155 devicePref.performClick(); in onClickDeviceTwice_hostEnabled_shouldSetDeviceOnce()
165 devicePref.performClick(); in onClickDeviceAndRefresh_success_shouldClearSubtext()
183 devicePref.performClick(); in onClickDeviceAndRefresh_failed_shouldShowFailureText()
202 devicePref.performClick(); in onClickDevice_timedOut_shouldShowFailureText()
DUsbDetailsPowerRoleControllerTest.java154 pref.performClick(); in onClick_sink_shouldSetSource()
167 pref.performClick(); in onClickTwice_sink_shouldSetSourceOnce()
171 pref.performClick(); in onClickTwice_sink_shouldSetSourceOnce()
181 pref.performClick(); in onClickDeviceAndRefresh_success_shouldClearSubtext()
199 pref.performClick(); in onClickDeviceAndRefresh_failed_shouldShowFailureText()
218 pref.performClick(); in onClickDevice_timedOut_shouldShowFailureText()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicePickerPreferenceControllerTest.java166 devicePreference.performClick(); in onDeviceClicked_bondedDevice_sendsPickedIntent()
187 devicePreference.performClick(); in onDeviceClicked_bondedDevice_goesBack()
202 devicePreference.performClick(); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
219 devicePreference.performClick(); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
236 devicePreference.performClick(); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
252 devicePreference.performClick(); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent()
273 devicePreference.performClick(); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
DBluetoothDeviceDetailsFragmentTest.java98 findForgetButton(mFragment.requireActivity()).performClick(); in forgetButtonClicked_unpairsDevice()
107 findForgetButton(mFragment.requireActivity()).performClick(); in forgetButtonClicked_goesBack()
118 findConnectionButton(mFragment.requireActivity()).performClick(); in connectionButtonClicked_deviceConnected_disconnectsDevice()
128 findConnectionButton(mFragment.requireActivity()).performClick(); in connectionButtonClicked_deviceNotConnected_connectsDevice()
DBluetoothUnbondedDevicesPreferenceControllerTest.java138 devicePreference.performClick(); in onDeviceClicked_startsPairing()
151 devicePreference.performClick(); in onDeviceClicked_pairingStartFails_resumesScanning()
163 devicePreference.performClick(); in onDeviceClicked_requestsPhonebookAccess()
175 devicePreference.performClick(); in onDeviceClicked_requestsMessageAccess()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollFinishTest.java75 mLayout.getMixin(FooterBarMixin.class).getSecondaryButtonView().performClick(); in clickAddAnother_shouldLaunchEnrolling()
90 mLayout.getMixin(FooterBarMixin.class).getSecondaryButtonView().performClick(); in clickAddAnother_shouldPropagateResults()
101 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_shouldFinish()
130 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_fingerprintCountIsNotOne_fingerprintSuggestionActivityDisabled()
140 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled()
DSetupFingerprintEnrollIntroductionTest.java94 skipButton.performClick(); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip()
113 skipButton.performClick(); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
157 skipButton.performClick(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
173 skipButton.performClick(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
219 layout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in testLockPattern()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DRingtonePreferenceControllerTest.java102 mRingtonePreference.performClick(); in testHandlePreferenceClicked_listenerTriggered()
110 mRingtonePreference.performClick(); in testHandlePreferenceClicked_captureIntent_checkDefaultUri()
120 mRingtonePreference.performClick(); in testHandlePreferenceClicked_captureIntent_checkDialogTitle()
131 mRingtonePreference.performClick(); in testHandlePreferenceClicked_captureIntent_checkRingtoneType()
142 mRingtonePreference.performClick(); in testHandlePreferenceClicked_captureIntent_checkShowSilent()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java468 findForceStopButton(mActivity).performClick(); in forceStopClicked_showsDialog()
480 findForceStopButton(mActivity).performClick(); in forceStopDialogConfirmed_forceStopsPackage()
483 dialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in forceStopDialogConfirmed_forceStopsPackage()
498 findDisableButton(mActivity).performClick(); in disableClicked_showsDialog()
513 findDisableButton(mActivity).performClick(); in disableDialogConfirmed_disablesPackage()
516 dialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in disableDialogConfirmed_disablesPackage()
533 findDisableButton(mActivity).performClick(); in enableClicked_enablesPackage()
546 findUninstallButton(mActivity).performClick(); in uninstallClicked_startsUninstallActivity()
560 findUninstallButton(mActivity).performClick(); in processActivityResult_uninstall_resultOk_goesBack()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DMasterCheckBoxPreferenceTest.java136 widgetView.performClick(); in clickWidgetView_shouldToggleCheckBox()
139 widgetView.performClick(); in clickWidgetView_shouldToggleCheckBox()
156 widgetView.performClick(); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
170 widgetView.performClick(); in clickWidgetView_shouldNotifyPreferenceChanged()
174 widgetView.performClick(); in clickWidgetView_shouldNotifyPreferenceChanged()
DMasterSwitchPreferenceTest.java118 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
121 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
139 widgetView.performClick(); in clickWidgetView_shouldNotToggleButtonIfDisabled()
154 widgetView.performClick(); in clickWidgetView_shouldNotifyPreferenceChanged()
158 widgetView.performClick(); in clickWidgetView_shouldNotifyPreferenceChanged()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java141 preference.performClick(); in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog()
156 preference.performClick(); in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog()
172 preference.performClick(); in revokeConfirmed_revokesNotificationAccess()
195 preference.performClick(); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
226 preference.performClick(); in grantConfirmed_grantsNotificationAccess()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAppPreferenceTest.java123 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
126 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
144 widgetView.performClick(); in clickWidgetView_shouldNotToggleButtonIfDisabled()
160 widgetView.performClick(); in clickWidgetView_shouldNotifyPreferenceChanged()
164 widgetView.performClick(); in clickWidgetView_shouldNotifyPreferenceChanged()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DPinPadViewTest.java82 mPinPadView.findViewById(R.id.key_backspace).performClick(); in testBackspaceClickHandler()
90 mPinPadView.findViewById(R.id.key_enter).performClick(); in testEnterKeyClickHandler()
99 mPinPadView.findViewById(PinPadView.PIN_PAD_DIGIT_KEYS[i]).performClick(); in testDigitKeyClickHandler()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceControllerTest.java84 mTwoStatePreference.performClick(); in handlePreferenceClicked_locationDisabled_startNewActivity()
96 mTwoStatePreference.performClick(); in handlePreferenceClicked_wifiWakeupEnabled_disablesWifiWakeup()
111 mTwoStatePreference.performClick(); in handlePreferenceClicked_wifiScanningDisabled_showsDialog()
126 mTwoStatePreference.performClick(); in handlePreferenceClicked_wifiScanningEnabled_wifiWakeupDisabled_enablesWifiWakeup()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRestrictedAppPreference.java74 public void performClick() { in performClick() method in RestrictedAppPreference
75 if (!mHelper.performClick()) { in performClick()
76 super.performClick(); in performClick()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java74 public void performClick() { in performClick() method in RestrictedAppPreference
75 if (!mHelper.performClick()) { in performClick()
76 super.performClick(); in performClick()

123456789