Home
last modified time | relevance | path

Searched refs:ChppAppState (Results 1 – 25 of 40) sorted by relevance

12

/system/chre/chpp/include/chpp/clients/
Dtimesync.h66 void chppTimesyncClientInit(struct ChppAppState *context);
73 void chppTimesyncClientDeinit(struct ChppAppState *context);
80 void chppTimesyncClientReset(struct ChppAppState *context);
92 bool chppDispatchTimesyncServiceResponse(struct ChppAppState *context,
102 bool chppTimesyncMeasureOffset(struct ChppAppState *context);
114 int64_t chppTimesyncGetOffset(struct ChppAppState *context,
125 struct ChppAppState *context);
Ddiscovery.h38 void chppDiscoveryInit(struct ChppAppState *context);
43 void chppDiscoveryDeinit(struct ChppAppState *context);
55 bool chppWaitForDiscoveryComplete(struct ChppAppState *context,
66 bool chppDispatchDiscoveryServiceResponse(struct ChppAppState *context,
77 void chppInitiateDiscovery(struct ChppAppState *context);
87 bool chppAreAllClientsMatched(struct ChppAppState *context);
Dloopback.h60 void chppLoopbackClientInit(struct ChppAppState *context);
67 void chppLoopbackClientDeinit(struct ChppAppState *context);
77 bool chppDispatchLoopbackServiceResponse(struct ChppAppState *context,
86 struct ChppLoopbackTestResult chppRunLoopbackTest(struct ChppAppState *context,
Dgnss.h43 void chppRegisterGnssClient(struct ChppAppState *appContext);
50 void chppDeregisterGnssClient(struct ChppAppState *appContext);
Dwifi.h43 void chppRegisterWifiClient(struct ChppAppState *appContext);
50 void chppDeregisterWifiClient(struct ChppAppState *appContext);
Dwwan.h43 void chppRegisterWwanClient(struct ChppAppState *appContext);
50 void chppDeregisterWwanClient(struct ChppAppState *appContext);
/system/chre/chpp/
Dapp.c49 static bool chppProcessPredefinedClientRequest(struct ChppAppState *context,
51 static bool chppProcessPredefinedServiceResponse(struct ChppAppState *context,
54 struct ChppAppState *context, uint8_t *buf, size_t len);
56 struct ChppAppState *context, uint8_t *buf, size_t len);
58 static bool chppDatagramLenIsOk(struct ChppAppState *context,
60 ChppDispatchFunction *chppGetDispatchFunction(struct ChppAppState *context,
64 struct ChppAppState *context, uint8_t index);
66 struct ChppAppState *context, uint8_t index);
68 struct ChppAppState *appContext, uint8_t handle);
70 struct ChppAppState *appContext, uint8_t handle);
[all …]
Dclients.c55 struct ChppAppState *context, uint8_t index);
113 struct ChppAppState *context, uint8_t index) { in chppGetClientDeinitFunction()
121 void chppRegisterCommonClients(struct ChppAppState *context) { in chppRegisterCommonClients()
144 void chppDeregisterCommonClients(struct ChppAppState *context) { in chppDeregisterCommonClients()
167 void chppRegisterClient(struct ChppAppState *appContext, void *clientContext, in chppRegisterClient()
202 void chppInitBasicClients(struct ChppAppState *context) { in chppInitBasicClients()
243 void chppDeinitBasicClients(struct ChppAppState *context) { in chppDeinitBasicClients()
262 void chppDeinitMatchedClients(struct ChppAppState *context) { in chppDeinitMatchedClients()
539 void chppClientRecalculateNextTimeout(struct ChppAppState *context) { in chppClientRecalculateNextTimeout()
Dservices.c43 void chppRegisterCommonServices(struct ChppAppState *context) { in chppRegisterCommonServices()
65 void chppDeregisterCommonServices(struct ChppAppState *context) { in chppDeregisterCommonServices()
87 uint8_t chppRegisterService(struct ChppAppState *appContext, in chppRegisterService()
/system/chre/chpp/include/chpp/
Dclients.h71 struct ChppAppState *appContext; // Pointer to app layer context
130 void chppRegisterCommonClients(struct ChppAppState *context);
139 void chppDeregisterCommonClients(struct ChppAppState *context);
161 void chppRegisterClient(struct ChppAppState *appContext, void *clientContext,
171 void chppInitBasicClients(struct ChppAppState *context);
194 void chppDeinitBasicClients(struct ChppAppState *context);
201 void chppDeinitMatchedClients(struct ChppAppState *context);
369 void chppClientRecalculateNextTimeout(struct ChppAppState *context);
Dservices.h102 struct ChppAppState *appContext; // Pointer to app layer context
119 void chppRegisterCommonServices(struct ChppAppState *context);
128 void chppDeregisterCommonServices(struct ChppAppState *context);
146 uint8_t chppRegisterService(struct ChppAppState *appContext,
Dapp.h372 struct ChppAppState { struct
438 void chppAppInit(struct ChppAppState *appContext, argument
452 struct ChppAppState *appContext,
462 void chppAppDeinit(struct ChppAppState *appContext);
471 void chppAppProcessRxDatagram(struct ChppAppState *context, uint8_t *buf,
483 void chppAppProcessReset(struct ChppAppState *context);
Dpal_api.h31 void chppPalSystemApiInit(struct ChppAppState *context);
38 void chppPalSystemApiDeinit(struct ChppAppState *context);
/system/chre/chpp/clients/
Ddiscovery.c39 struct ChppAppState *context, const struct ChppServiceDescriptor *service);
40 static void chppDiscoveryProcessDiscoverAll(struct ChppAppState *context,
43 struct ChppAppState *context, uint8_t index);
78 struct ChppAppState *context, const struct ChppServiceDescriptor *service) { in chppFindMatchingClient()
100 static void chppDiscoveryProcessDiscoverAll(struct ChppAppState *context, in chppDiscoveryProcessDiscoverAll()
233 struct ChppAppState *context, uint8_t index) { in chppGetClientMatchNotifierFunction()
241 void chppDiscoveryInit(struct ChppAppState *context) { in chppDiscoveryInit()
258 void chppDiscoveryDeinit(struct ChppAppState *context) { in chppDiscoveryDeinit()
266 bool chppWaitForDiscoveryComplete(struct ChppAppState *context, in chppWaitForDiscoveryComplete()
294 bool chppDispatchDiscoveryServiceResponse(struct ChppAppState *context, in chppDispatchDiscoveryServiceResponse()
[all …]
Dtimesync.c53 void chppTimesyncClientInit(struct ChppAppState *context) { in chppTimesyncClientInit()
71 void chppTimesyncClientDeinit(struct ChppAppState *context) { in chppTimesyncClientDeinit()
79 void chppTimesyncClientReset(struct ChppAppState *context) { in chppTimesyncClientReset()
90 bool chppDispatchTimesyncServiceResponse(struct ChppAppState *context, in chppDispatchTimesyncServiceResponse()
155 bool chppTimesyncMeasureOffset(struct ChppAppState *context) { in chppTimesyncMeasureOffset()
187 int64_t chppTimesyncGetOffset(struct ChppAppState *context, in chppTimesyncGetOffset()
209 struct ChppAppState *context) { in chppTimesyncGetResult()
Dloopback.c56 void chppLoopbackClientInit(struct ChppAppState *context) { in chppLoopbackClientInit()
71 void chppLoopbackClientDeinit(struct ChppAppState *context) { in chppLoopbackClientDeinit()
81 bool chppDispatchLoopbackServiceResponse(struct ChppAppState *context, in chppDispatchLoopbackServiceResponse()
146 struct ChppLoopbackTestResult chppRunLoopbackTest(struct ChppAppState *context, in chppRunLoopbackTest()
/system/chre/chpp/include/chpp/services/
Dwifi.h39 void chppRegisterWifiService(struct ChppAppState *appContext);
46 void chppDeregisterWifiService(struct ChppAppState *appContext);
Dgnss.h39 void chppRegisterGnssService(struct ChppAppState *appContext);
46 void chppDeregisterGnssService(struct ChppAppState *appContext);
Dwwan.h39 void chppRegisterWwanService(struct ChppAppState *appContext);
46 void chppDeregisterWwanService(struct ChppAppState *appContext);
Dtimesync.h42 bool chppDispatchTimesyncClientRequest(struct ChppAppState *context,
Ddiscovery.h42 bool chppDispatchDiscoveryClientRequest(struct ChppAppState *context,
/system/chre/chpp/services/
Ddiscovery.c34 static void chppDiscoveryDiscoverAll(struct ChppAppState *context,
48 struct ChppAppState *context, const struct ChppAppHeader *requestHeader) { in chppDiscoveryDiscoverAll()
82 bool chppDispatchDiscoveryClientRequest(struct ChppAppState *context, in chppDispatchDiscoveryClientRequest()
Dtimesync.c40 static void chppTimesyncGetTime(struct ChppAppState *context, in chppTimesyncGetTime()
68 bool chppDispatchTimesyncClientRequest(struct ChppAppState *context, in chppDispatchTimesyncClientRequest()
/system/chre/chpp/test/
Dapp_test_base.h42 ChppAppState mClientAppContext = {};
45 ChppAppState mServiceAppContext = {};
/system/chre/chpp/platform/
Dpal_api.c70 void chppPalSystemApiInit(struct ChppAppState *context) { in chppPalSystemApiInit()
84 void chppPalSystemApiDeinit(struct ChppAppState *context) { in chppPalSystemApiDeinit()

12