Searched refs:rxStatus (Results 1 – 3 of 3) sorted by relevance
/system/chre/chpp/ |
D | transport.c | 131 chppGetRxStatusLabel(context->rxStatus.state), in chppSetRxState() 132 chppGetRxStatusLabel(newState), context->rxStatus.locInState); in chppSetRxState() 133 context->rxStatus.locInState = 0; in chppSetRxState() 134 context->rxStatus.state = newState; in chppSetRxState() 158 context->rxStatus.locInState < CHPP_PREAMBLE_LEN_BYTES) { in chppConsumePreamble() 159 size_t offset = context->rxStatus.locInState; in chppConsumePreamble() 163 context->rxStatus.locInState++; in chppConsumePreamble() 167 context->rxStatus.locInState = 1; in chppConsumePreamble() 171 context->rxStatus.locInState = 0; in chppConsumePreamble() 178 if (context->rxStatus.locInState == CHPP_PREAMBLE_LEN_BYTES) { in chppConsumePreamble() [all …]
|
/system/chre/chpp/test/ |
D | transport_test.cpp | 114 EXPECT_EQ(transportContext->rxStatus.locInDatagram, 0); in WaitForTransport() 160 EXPECT_EQ(transportContext->rxStatus.state, CHPP_STATE_PREAMBLE); in endAndValidatePacket() 161 EXPECT_EQ(transportContext->rxStatus.locInDatagram, 0); in endAndValidatePacket() 287 EXPECT_EQ(transportContext->rxStatus.expectedSeq, nextSeq); in openService() 288 EXPECT_EQ(transportContext->rxStatus.state, CHPP_STATE_PREAMBLE); in openService() 340 EXPECT_EQ(transportContext->rxStatus.expectedSeq, nextSeq); in sendCommandToService() 341 EXPECT_EQ(transportContext->rxStatus.state, CHPP_STATE_PREAMBLE); in sendCommandToService() 359 EXPECT_EQ(mTransportContext.rxStatus.state, CHPP_STATE_PREAMBLE); in TEST_P() 379 EXPECT_EQ(mTransportContext.rxStatus.state, CHPP_STATE_HEADER); in TEST_P() 382 EXPECT_EQ(mTransportContext.rxStatus.state, CHPP_STATE_PREAMBLE); in TEST_P() [all …]
|
/system/chre/chpp/include/chpp/ |
D | transport.h | 399 struct ChppRxStatus rxStatus; // Rx state and location within member
|