Home
last modified time | relevance | path

Searched refs:timeoutCaptor (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java465 ArgumentCaptor<Long> timeoutCaptor = ArgumentCaptor.forClass(Long.class); in testCallNumberModifiedToNull() local
466 verify(mCall).disconnect(timeoutCaptor.capture()); in testCallNumberModifiedToNull()
467 assertTrue(timeoutCaptor.getValue() > 0); in testCallNumberModifiedToNull()
485 ArgumentCaptor<Long> timeoutCaptor = ArgumentCaptor.forClass(Long.class); in testCallNumberModifiedToNullWithLongCustomTimeout() local
486 verify(mCall).disconnect(timeoutCaptor.capture()); in testCallNumberModifiedToNullWithLongCustomTimeout()
487 assertTrue(timeoutCaptor.getValue() < customTimeout); in testCallNumberModifiedToNullWithLongCustomTimeout()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/
DNfcServiceTest.java2251 ArgumentCaptor<byte[]> timeoutCaptor = ArgumentCaptor.forClass(byte[].class); in testSetFirmwareExitFrameTable() local
2259 timeoutCaptor.capture()); in testSetFirmwareExitFrameTable()
2263 byte[] timeoutBytes = timeoutCaptor.getValue(); in testSetFirmwareExitFrameTable()
2273 ArgumentCaptor<byte[]> timeoutCaptor = ArgumentCaptor.forClass(byte[].class); in testSetFirmwareExitFrameTable_largeTimeout() local
2280 verify(mDeviceHost).setFirmwareExitFrameTable(any(), timeoutCaptor.capture()); in testSetFirmwareExitFrameTable_largeTimeout()
2281 byte[] timeoutBytes = timeoutCaptor.getValue(); in testSetFirmwareExitFrameTable_largeTimeout()