Home
last modified time | relevance | path

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

/system/chre/chpp/include/chpp/
Dtransport.h421 struct ChppTransportState { struct
475 void chppTransportInit(struct ChppTransportState *transportContext,
485 void chppTransportDeinit(struct ChppTransportState *transportContext);
497 struct ChppTransportState *transportContext, uint64_t timeoutMs);
517 bool chppRxDataCb(struct ChppTransportState *context, const uint8_t *buf,
527 void chppRxPacketCompleteCb(struct ChppTransportState *context);
547 bool chppEnqueueTxDatagramOrFail(struct ChppTransportState *context, void *buf,
557 void chppEnqueueTxErrorDatagram(struct ChppTransportState *context,
580 struct ChppTransportState *context);
599 void chppWorkThreadStart(struct ChppTransportState *context);
[all …]
Dapp.h373 struct ChppTransportState *transportContext; // Pointing to transport context
439 struct ChppTransportState *transportContext);
453 struct ChppTransportState *transportContext,
/system/chre/chpp/
Dtransport.c40 static void chppSetRxState(struct ChppTransportState *context,
42 static size_t chppConsumePreamble(struct ChppTransportState *context,
44 static size_t chppConsumeHeader(struct ChppTransportState *context,
46 static size_t chppConsumePayload(struct ChppTransportState *context,
48 static size_t chppConsumeFooter(struct ChppTransportState *context,
50 static void chppAbortRxPacket(struct ChppTransportState *context);
53 struct ChppTransportState *context);
57 struct ChppTransportState *context);
59 static void chppSetResetComplete(struct ChppTransportState *context);
60 static void chppProcessResetAck(struct ChppTransportState *context);
[all …]
Dapp.c633 struct ChppTransportState *transportContext) { in chppAppInit()
643 struct ChppTransportState *transportContext, in chppAppInitWithClientServiceSet()
DREADME.md123 The CHPP Transport Layer state is stored in the ChppTransportState struct transportContext, and pas…
/system/chre/chpp/test/
Dapp_test_base.h41 ChppTransportState mClientTransportContext = {};
44 ChppTransportState mServiceTransportContext = {};
Dclients_test.h32 struct ChppTransportState *context);
Dapp_test_base.cpp37 ChppTransportState *context = static_cast<ChppTransportState *>(arg); in workThread()
Dtransport_test.h45 size_t chppDequeueTxDatagram(struct ChppTransportState *context);
Dtransport_test.cpp91 ChppTransportState mTransportContext = {};
103 void WaitForTransport(struct ChppTransportState *transportContext) { in WaitForTransport()
165 void endAndValidatePacket(struct ChppTransportState *transportContext) { in endAndValidatePacket()
271 void openService(ChppTransportState *transportContext, uint8_t *buf, in openService()
324 void sendCommandToService(ChppTransportState *transportContext, uint8_t *buf, in sendCommandToService()
1099 void messageToInvalidHandle(ChppTransportState *transportContext, in messageToInvalidHandle()
Dclients_test.cpp57 struct ChppTransportState mTransportContext;
/system/chre/chpp/platform/linux/include/chpp/platform/
Dplatform_link.h37 struct ChppTransportState;
46 struct ChppTransportState *remoteTransportContext;