/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CallAudioManagerTest.java | 87 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = local 94 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); 104 assertMessageArgEquality(correctArgs, captor.getValue()); 106 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 107 assertMessageArgEquality(correctArgs, captor.getValue()); 122 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = local 127 eq(CallAudioModeStateMachine.MT_AUDIO_SPEEDUP_FOR_RINGING_CALL), captor.capture()); 137 assertMessageArgEquality(correctArgs, captor.getValue()); 138 assertMessageArgEquality(correctArgs, captor.getValue()); 156 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor local 203 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = local 222 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = local 249 ArgumentCaptor<CallAudioModeStateMachine.MessageArgs> captor = local [all...] |
DirectToVoicemailCallFilterTest.java | 86 ArgumentCaptor<CallerInfoLookupHelper.OnQueryCompleteListener> captor = local 88 verify(mCallerInfoLookupHelper).startLookup(eq(TEST_HANDLE), captor.capture()); 89 return captor.getValue();
|
CallScreeningServiceFilterTest.java | 215 ArgumentCaptor<ICallScreeningAdapter> captor = local 217 verify(mCallScreeningService).screenCall(captor.capture(), any(ParcelableCall.class)); 218 return captor.getValue();
|
CallLogManagerTest.java | 614 ArgumentCaptor<CountryListener> captor = verifyCountryIso(mockDetector, resultIso); local 617 CountryListener listener = captor.getValue(); 626 ArgumentCaptor<CountryListener> captor = ArgumentCaptor.forClass(CountryListener.class); local 627 verify(mockDetector).addCountryListener(captor.capture(), any(Looper.class)); 629 return captor; 653 ArgumentCaptor<ContentValues> captor = ArgumentCaptor.forClass(ContentValues.class); local 657 .insert(any(String.class), eq(uri), captor.capture()); 662 return captor.getValue(); [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
TileServicesTests.java | 67 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); local 68 Mockito.verify(mManagers.get(i), Mockito.times(1)).setBindAllowed(captor.capture()); 71 (boolean) captor.getValue()); 80 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); local 81 Mockito.verify(mManagers.get(i), Mockito.times(2)).setBindAllowed(captor.capture()); 84 (boolean) captor.getValue()); 100 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); local 101 Mockito.verify(mManagers.get(i), Mockito.times(1)).setBindAllowed(captor.capture()); 103 assertTrue(captor.getValue());
|
TileServiceManagerTests.java | 86 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); local 87 Mockito.verify(mTileLifecycle, Mockito.times(1)).setBindService(captor.capture()); 88 assertTrue((boolean) captor.getValue()); 97 captor = ArgumentCaptor.forClass(Boolean.class); 98 Mockito.verify(mTileLifecycle, Mockito.times(2)).setBindService(captor.capture()); 99 assertFalse((boolean) captor.getValue());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ImsSMSDispatcherTest.java | 125 ArgumentCaptor<byte[]> captor = ArgumentCaptor.forClass(byte[].class); local 131 verify(mSimulatedCommandsVerifier).sendImsCdmaSms(captor.capture(), eq(0), eq(0), 133 assertEquals(1, captor.getAllValues().size()); 134 assertNull(captor.getAllValues().get(0));
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
CallbackHandlerTest.java | 62 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); local 63 Mockito.verify(mEmengencyListener).setEmergencyCallsOnly(captor.capture()); 64 assertTrue(captor.getValue());
|