Home
last modified time | relevance | path

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

/system/chre/chpp/include/chpp/
Dtransport.h396 struct ChppTransportState { struct
453 void chppTransportInit(struct ChppTransportState *transportContext,
464 void chppTransportDeinit(struct ChppTransportState *transportContext);
476 struct ChppTransportState *transportContext, uint64_t timeoutMs);
496 bool chppRxDataCb(struct ChppTransportState *context, const uint8_t *buf,
506 void chppRxPacketCompleteCb(struct ChppTransportState *context);
526 bool chppEnqueueTxDatagramOrFail(struct ChppTransportState *context, void *buf,
536 void chppEnqueueTxErrorDatagram(struct ChppTransportState *context,
559 struct ChppTransportState *context);
578 void chppWorkThreadStart(struct ChppTransportState *context);
[all …]
Dlink.h53 struct ChppTransportState;
93 void (*init)(void *linkContext, struct ChppTransportState *transportContext);
Dapp.h517 struct ChppTransportState *transportContext; // Pointing to transport context
584 struct ChppTransportState *transportContext);
598 struct ChppTransportState *transportContext,
/system/chre/chpp/
Dtransport.c41 static void chppSetRxState(struct ChppTransportState *context,
43 static size_t chppConsumePreamble(struct ChppTransportState *context,
45 static size_t chppConsumeHeader(struct ChppTransportState *context,
47 static size_t chppConsumePayload(struct ChppTransportState *context,
49 static size_t chppConsumeFooter(struct ChppTransportState *context,
51 static void chppAbortRxPacket(struct ChppTransportState *context);
54 struct ChppTransportState *context);
58 struct ChppTransportState *context);
60 static void chppSetResetComplete(struct ChppTransportState *context);
61 static void chppProcessResetAck(struct ChppTransportState *context);
[all …]
Dapp.c610 struct ChppTransportState *transportContext) { in chppAppInit()
620 struct ChppTransportState *transportContext, in chppAppInitWithClientServiceSet()
DRELEASE_NOTES.md230 The `init` function now takes a second `struct ChppTransportState *transportContext` parameter. Tha…
DREADME.md122 The CHPP Transport Layer state is stored in the ChppTransportState struct transportContext, and pas…
/system/chre/chpp/test/
Dapp_test_base.h43 ChppTransportState mClientTransportContext = {};
47 ChppTransportState mServiceTransportContext = {};
Dapp_test_base.cpp37 ChppTransportState *transportContext = static_cast<ChppTransportState *>(arg); in workThread()
Dapp_notification_test.cpp46 ChppTransportState *state = static_cast<ChppTransportState *>(transportState); in workThread()
278 ChppTransportState mClientTransportContext = {};
285 ChppTransportState mServiceTransportContext = {};
Dapp_timeout_test.h32 struct ChppTransportState *context, enum ChppEndpointType type);
Dapp_discovery_test.cpp43 ChppTransportState *state = static_cast<ChppTransportState *>(transportState); in workThread()
198 ChppTransportState mClientTransportContext = {};
205 ChppTransportState mServiceTransportContext = {};
Dtransport_test.h45 size_t chppDequeueTxDatagram(struct ChppTransportState *context);
Dfake_link_sync_test.cpp39 struct ChppTransportState *transportContext) { in init()
135 ChppTransportState mTransportContext = {};
Dapp_req_resp_test.cpp45 ChppTransportState *state = static_cast<ChppTransportState *>(transportState); in workThread()
429 ChppTransportState mClientTransportState = {};
436 ChppTransportState mServiceTransportState = {};
Dtransport_test.cpp98 ChppTransportState mTransportContext = {};
107 void WaitForTransport(struct ChppTransportState *transportContext) { in WaitForTransport()
158 void endAndValidatePacket(struct ChppTransportState *transportContext) { in endAndValidatePacket()
264 void openService(ChppTransportState *transportContext, uint8_t *buf, in openService()
317 void sendCommandToService(ChppTransportState *transportContext, uint8_t *buf, in sendCommandToService()
1086 void messageToInvalidHandle(ChppTransportState *transportContext, in messageToInvalidHandle()
Dapp_timeout_test.cpp306 ChppTransportState mClientTransportContext = {};
312 ChppTransportState mServiceTransportContext = {};
/system/chre/chpp/platform/linux/include/chpp/platform/
Dplatform_link.h35 struct ChppTransportState;
77 struct ChppTransportState *transportContext;
/system/chre/chpp/test/include/fake_link/chpp/platform/
Dplatform_link.h30 const struct ChppTransportState *transportContext;
/system/chre/chpp/platform/linux/
Dlink.c111 struct ChppTransportState *transportContext) { in init()