Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java252 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in disableSingleSimDialog_onConfirm_disablesData() local
255 dialogCaptor.capture(), in disableSingleSimDialog_onConfirm_disablesData()
258 ConfirmationDialogFragment dialog = dialogCaptor.getValue(); in disableSingleSimDialog_onConfirm_disablesData()
259 assertThat(dialogCaptor).isNotNull(); in disableSingleSimDialog_onConfirm_disablesData()
273 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in disableSingleSimDialog_onConfirm_setsUnchecked() local
276 dialogCaptor.capture(), in disableSingleSimDialog_onConfirm_setsUnchecked()
279 ConfirmationDialogFragment dialog = dialogCaptor.getValue(); in disableSingleSimDialog_onConfirm_setsUnchecked()
280 assertThat(dialogCaptor).isNotNull(); in disableSingleSimDialog_onConfirm_setsUnchecked()
297 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in enableMutliSimDialog_onConfirm_enablesData() local
300 dialogCaptor.capture(), in enableMutliSimDialog_onConfirm_enablesData()
[all …]
DRoamingPreferenceControllerTest.java189 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in confirmDialog_turnOnRoaming() local
192 dialogCaptor.capture(), eq(ConfirmationDialogFragment.TAG)); in confirmDialog_turnOnRoaming()
195 ConfirmationDialogFragment dialog = dialogCaptor.getValue(); in confirmDialog_turnOnRoaming()
196 assertThat(dialogCaptor).isNotNull(); in confirmDialog_turnOnRoaming()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java315 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded() local
317 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
319 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
339 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked() local
341 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
343 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
362 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled() local
364 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
366 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
384 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled() local
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java174 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in revokeConfirmed_revokesNotificationAccess() local
176 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in revokeConfirmed_revokesNotificationAccess()
178 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in revokeConfirmed_revokesNotificationAccess()
197 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() local
199 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
201 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
228 ArgumentCaptor<ConfirmationDialogFragment> dialogCaptor = ArgumentCaptor.forClass( in grantConfirmed_grantsNotificationAccess() local
230 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in grantConfirmed_grantsNotificationAccess()
232 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in grantConfirmed_grantsNotificationAccess()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DCycleResetDayOfMonthPickerPreferenceControllerTest.java77 ArgumentCaptor<UsageCycleResetDayOfMonthPickerDialog> dialogCaptor = in performClick_startsDialogWithStartingValue() local
80 dialogCaptor.capture(), anyString()); in performClick_startsDialogWithStartingValue()
82 UsageCycleResetDayOfMonthPickerDialog dialog = dialogCaptor.getValue(); in performClick_startsDialogWithStartingValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsButtonsControllerTest.java152 ArgumentCaptor<ForgetDeviceDialogFragment> dialogCaptor = in forgetDialog() local
154 verify(ft).add(dialogCaptor.capture(), anyString()); in forgetDialog()
156 ForgetDeviceDialogFragment dialogFragment = dialogCaptor.getValue(); in forgetDialog()