Searched refs:captor (Results 1 – 20 of 20) sorted by relevance
92 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = in testUnmuteOfSecondIncomingCall() local99 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testUnmuteOfSecondIncomingCall()109 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()111 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testUnmuteOfSecondIncomingCall()112 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall()153 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor =160 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture());170 assertMessageArgEquality(correctArgs, captor.getValue());172 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture());173 assertMessageArgEquality(correctArgs, captor.getValue());[all …]
652 ArgumentCaptor<CountryListener> captor = verifyCountryIso(mockDetector, resultIso); in testCountryIso_newCountryDetected() local655 CountryListener listener = captor.getValue(); in testCountryIso_newCountryDetected()664 ArgumentCaptor<CountryListener> captor = ArgumentCaptor.forClass(CountryListener.class); in verifyCountryIso() local665 verify(mockDetector).addCountryListener(captor.capture(), any(Looper.class)); in verifyCountryIso()667 return captor; in verifyCountryIso()697 ArgumentCaptor<ContentValues> captor = ArgumentCaptor.forClass(ContentValues.class); in verifyInsertionWithCapture() local701 .insert(any(String.class), eq(uri), captor.capture()); in verifyInsertionWithCapture()706 return captor.getValue(); in verifyInsertionWithCapture()
104 ArgumentCaptor<CallerInfoLookupHelper.OnQueryCompleteListener> captor = in verifyLookupStart() local106 verify(mCallerInfoLookupHelper).startLookup(eq(handle), captor.capture()); in verifyLookupStart()107 return captor.getValue(); in verifyLookupStart()
216 ArgumentCaptor<ICallScreeningAdapter> captor = in getCallScreeningAdapter() local218 verify(mCallScreeningService).screenCall(captor.capture(), nullable(ParcelableCall.class)); in getCallScreeningAdapter()219 return captor.getValue(); in getCallScreeningAdapter()
86 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearShowsIfActiveDreamInfoHasOptions() local91 verify(mockPref).setOnGearClickListener(captor.capture()); in gearShowsIfActiveDreamInfoHasOptions()92 captor.getAllValues().forEach(listener -> assertThat(listener).isNotNull()); in gearShowsIfActiveDreamInfoHasOptions()103 ArgumentCaptor<GearPreference.OnGearClickListener> captor = in gearHidesIfActiveDreamInfoHasNoOptions() local108 verify(mockPref).setOnGearClickListener(captor.capture()); in gearHidesIfActiveDreamInfoHasNoOptions()109 captor.getAllValues().forEach(listener -> assertThat(listener).isNull()); in gearHidesIfActiveDreamInfoHasNoOptions()
71 ArgumentCaptor<OnClickListener> captor = in setsOnClickListenerForStartNow() local75 verify(mButton).setOnClickListener(captor.capture()); in setsOnClickListenerForStartNow()76 assertThat(captor.getValue()).isNotNull(); in setsOnClickListenerForStartNow()
201 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOff_switchTurnsOff() local202 when(mContext.registerReceiver(captor.capture(), any(IntentFilter.class))).thenReturn(null); in bluetoothTurnsOff_switchTurnsOff()210 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOff_switchTurnsOff()227 ArgumentCaptor<BroadcastReceiver> captor = ArgumentCaptor.forClass(BroadcastReceiver.class); in bluetoothTurnsOn_switchTurnsOn() local228 when(mContext.registerReceiver(captor.capture(), any(IntentFilter.class))).thenReturn(null); in bluetoothTurnsOn_switchTurnsOn()235 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOn_switchTurnsOn()
109 ArgumentCaptor<Fragment> captor = ArgumentCaptor.forClass(Fragment.class); in renameControlClicked() local111 verify(ft).add(captor.capture(), eq(RemoteDeviceNameDialogFragment.TAG)); in renameControlClicked()112 RemoteDeviceNameDialogFragment dialog = (RemoteDeviceNameDialogFragment) captor.getValue(); in renameControlClicked()
206 final ArgumentCaptor<Bundle> captor = ArgumentCaptor.forClass(Bundle.class); in setUp() local209 mBundle = captor.getValue(); in setUp()213 nullable(Fragment.class), nullable(String.class), captor.capture(), anyInt(), in setUp()354 final ArgumentCaptor<Bundle> captor = ArgumentCaptor.forClass(Bundle.class); in testStartBatteryDetailPage_noBatteryUsage_hasBasicData() local356 mBundle = captor.getValue(); in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()360 nullable(String.class), captor.capture(), anyInt(), nullable(CharSequence.class), in testStartBatteryDetailPage_noBatteryUsage_hasBasicData()
136 final ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in setUp() local140 mUninstallIntent = captor.getValue(); in setUp()144 doAnswer(callable).when(mFragment).startActivityForResult(captor.capture(), anyInt()); in setUp()
163 ArgumentCaptor<Notification> captor = ArgumentCaptor.forClass(Notification.class); in testNotificationIsLocalOnly() local166 verify(mNotificationManager).notify(anyInt(), captor.capture()); in testNotificationIsLocalOnly()167 assertThat(captor.getValue().flags & Notification.FLAG_LOCAL_ONLY) in testNotificationIsLocalOnly()
106 ArgumentCaptor<Runnable> captor = ArgumentCaptor.forClass(Runnable.class); in executeTaskForTest() local107 verify(mockExecutor, atLeast(0)).execute(captor.capture()); in executeTaskForTest()109 return captor.getAllValues(); in executeTaskForTest()
754 ArgumentCaptor<OnClickListener> captor = ArgumentCaptor.forClass(OnClickListener.class); in testSignInButton_shouldStartCaptivePortalApp() local755 verify(mockSignInButton).setOnClickListener(captor.capture()); in testSignInButton_shouldStartCaptivePortalApp()756 captor.getValue().onClick(mockSignInButton); in testSignInButton_shouldStartCaptivePortalApp()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...