Home
last modified time | relevance | path

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

123456789

/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerSetupViewTest.java133 performClick(R.id.timer_setup_digit_0); in type0InDefaultState()
158 performClick(R.id.timer_setup_digit_1); in fillDisplayThenDeleteAll()
160 performClick(R.id.timer_setup_digit_2); in fillDisplayThenDeleteAll()
162 performClick(R.id.timer_setup_digit_3); in fillDisplayThenDeleteAll()
164 performClick(R.id.timer_setup_digit_4); in fillDisplayThenDeleteAll()
166 performClick(R.id.timer_setup_digit_5); in fillDisplayThenDeleteAll()
168 performClick(R.id.timer_setup_digit_6); in fillDisplayThenDeleteAll()
172 performClick(R.id.timer_setup_digit_7); in fillDisplayThenDeleteAll()
174 performClick(R.id.timer_setup_digit_8); in fillDisplayThenDeleteAll()
178 performClick(R.id.timer_setup_delete); in fillDisplayThenDeleteAll()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkConfirmFragmentTest.java116 mResetButton.performClick(); in testResetButtonClick_connectivityManagerReset()
122 mResetButton.performClick(); in testResetButtonClick_wifiManagerReset()
128 mResetButton.performClick(); in testResetButtonClick_bluetoothAdapterReset()
134 mResetButton.performClick(); in testResetButtonClick_cleanSmsRawTable()
142 mResetButton.performClick(); in testResetButtonClick_euiccResetEnabled_euiccReset()
149 mResetButton.performClick(); in testResetButtonClick_euiccResetDisabled_euiccNotReset()
156 assertThrows(NumberFormatException.class, () -> mResetButton.performClick()); in testResetButtonClick_nonIntegerNetworkSubscriptionId_numberExceptionError()
162 mResetButton.performClick(); in testResetButtonClick_emptyNetworkSubscriptionId_telephonyNotReset()
170 mResetButton.performClick(); in testResetButtonClick_validNetworkSubscriptionId_telephonyReset()
177 mResetButton.performClick(); in testResetButtonClick_emptyNetworkSubscriptionId_networkManagerNotReset()
[all …]
DMasterClearConfirmFragmentTest.java89 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_sendsResetIntent()
105 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_resetEsimFalse_resetIntentReflectsChoice()
115 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_pdbManagerNull_sendsResetIntent()
125 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_oemUnlockAllowed_doesNotWipePdb()
134 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_oemUnlockAllowed_sendsResetIntent()
144 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_notProvisioned_doesNotWipePdb()
153 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_notProvisioned_sendsResetIntent()
165 findMasterClearConfirmButton(mFragment.requireActivity()).performClick(); in confirmClicked_noOemUnlockAllowed_provisioned_wipesPdb()
176 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.java297 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_securityDialogShown()
313 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
337 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
360 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
382 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
405 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded()
429 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled()
451 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled()
474 mPreferenceGroup.getPreference(0).performClick(); in performClick_toggleTrue_directBootWarningShown()
500 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.java116 muteButton.performClick(); in testMuteButton()
120 muteButton.performClick(); in testMuteButton()
138 dialpadButton.performClick(); in testDialpadButton()
142 dialpadButton.performClick(); in testDialpadButton()
155 endCallButton.performClick(); in testEndCallButton()
190 pauseButton.performClick(); in testClickPauseButton_activeCall()
194 pauseButton.performClick(); in testClickPauseButton_activeCall()
207 pauseButton.performClick(); in testClickPauseButton_onholdCall()
218 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.java256 pref.performClick(); in disableThenReenableOneProfile()
264 pref.performClick(); in disableThenReenableOneProfile()
297 pref.performClick(); in pbapProfileStartsEnabled()
320 pref.performClick(); in pbapProfileStartsDisabled()
342 pref.performClick(); in mapProfile()
377 pref.performClick(); in highQualityAudio_prefIsPresentWhenSupported()
380 pref.performClick(); in highQualityAudio_prefIsPresentWhenSupported()
417 audioPref.performClick(); in highQualityAudio_mediaAudioDisabledAndReEnabled()
426 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.java99 findForgetButton(mFragment.requireActivity()).performClick(); in forgetButtonClicked_unpairsDevice()
108 findForgetButton(mFragment.requireActivity()).performClick(); in forgetButtonClicked_goesBack()
119 findConnectionButton(mFragment.requireActivity()).performClick(); in connectionButtonClicked_deviceConnected_disconnectsDevice()
129 findConnectionButton(mFragment.requireActivity()).performClick(); in connectionButtonClicked_deviceNotConnected_connectsDevice()
/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/location/
DLocationSettingsFragmentTest.java70 mLocationSwitch.performClick(); in locationSwitch_toggle_shouldBroadcastLocationModeChangedIntent()
81 mLocationSwitch.performClick(); in locationSwitch_checked_enablesLocation()
89 mLocationSwitch.performClick(); in locationSwitch_unchecked_disablesLocation()
93 mLocationSwitch.performClick(); in locationSwitch_unchecked_disablesLocation()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java470 findForceStopButton(mActivity).performClick(); in forceStopClicked_showsDialog()
482 findForceStopButton(mActivity).performClick(); in forceStopDialogConfirmed_forceStopsPackage()
485 dialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in forceStopDialogConfirmed_forceStopsPackage()
500 findDisableButton(mActivity).performClick(); in disableClicked_showsDialog()
515 findDisableButton(mActivity).performClick(); in disableDialogConfirmed_disablesPackage()
518 dialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in disableDialogConfirmed_disablesPackage()
536 findDisableButton(mActivity).performClick(); in enableClicked_enablesPackage()
549 findUninstallButton(mActivity).performClick(); in uninstallClicked_startsUninstallActivity()
563 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/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragmentTest.java113 getSyncButton().performClick(); in onButtonClicked_doesNotHaveActiveSyncs_shouldSyncSyncableAdapters()
134 getSyncButton().performClick(); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOff_shouldNotSyncOffAdapters()
155 getSyncButton().performClick(); in onButtonClicked_doesNotHaveActiveSyncs_oneTimeSyncIsOn_shouldSyncOffAdapters()
178 getSyncButton().performClick(); in onButtonClicked_doesHaveActiveSyncs_shouldCancelSyncForSyncableAdapters()

123456789