Home
last modified time | relevance | path

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

/system/chre/chpp/test/
Dtransport_test.cpp400 bool validLen = (len <= CHPP_TRANSPORT_RX_MTU_BYTES); in TEST_P() local
420 !validLen); in TEST_P()
422 if (!validLen) { in TEST_P()
433 EXPECT_EQ(mTransportContext.rxDatagram.length, validLen ? len : 0); in TEST_P()
442 !validLen); in TEST_P()
444 validLen ? CHPP_STATE_FOOTER : CHPP_STATE_PREAMBLE); in TEST_P()
448 EXPECT_EQ(mTransportContext.rxStatus.locInDatagram, validLen ? len : 0); in TEST_P()
461 uint8_t nextSeq = transHeader->seq + ((validLen && len > 0) ? 1 : 0); in TEST_P()
466 if (validLen && len > 0) { in TEST_P()