Home
last modified time | relevance | path

Searched refs:ChppAppHeader (Results 1 – 25 of 33) sorted by relevance

12

/aosp12/system/chre/chpp/services/
H A Dgnss.c103 struct ChppAppHeader *requestHeader);
106 struct ChppAppHeader *requestHeader);
109 struct ChppAppHeader *requestHeader);
150 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchGnssRequest()
151 buf += sizeof(struct ChppAppHeader); in chppDispatchGnssRequest()
152 len -= sizeof(struct ChppAppHeader); in chppDispatchGnssRequest()
262 struct ChppAppHeader *response = in chppGnssServiceOpen()
297 struct ChppAppHeader *response = in chppGnssServiceClose()
476 struct ChppAppHeader *response = in chppGnssServiceConfigurePassiveLocationListener()
500 struct ChppAppHeader *notification = in chppGnssServiceRequestStateResyncCallback()
[all …]
H A Dwifi.c101 struct ChppAppHeader *requestHeader);
104 struct ChppAppHeader *requestHeader);
107 struct ChppAppHeader *requestHeader);
146 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWifiRequest()
147 buf += sizeof(struct ChppAppHeader); in chppDispatchWifiRequest()
148 len -= sizeof(struct ChppAppHeader); in chppDispatchWifiRequest()
256 struct ChppAppHeader *response = in chppWifiServiceOpen()
291 struct ChppAppHeader *response = in chppWifiServiceClose()
481 struct ChppAppHeader *response = in chppWifiServiceRequestRangingAsync()
515 struct ChppAppHeader requestHeader = { in chppWifiServiceScanMonitorStatusChangeCallback()
[all …]
H A Dwwan.c104 struct ChppAppHeader *requestHeader);
107 struct ChppAppHeader *requestHeader);
110 struct ChppAppHeader *requestHeader);
113 struct ChppAppHeader *requestHeader);
138 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWwanRequest()
203 struct ChppAppHeader *requestHeader) { in chppWwanServiceOpen()
226 struct ChppAppHeader *response = in chppWwanServiceOpen()
253 struct ChppAppHeader *requestHeader) { in chppWwanServiceClose()
261 struct ChppAppHeader *response = in chppWwanServiceClose()
306 struct ChppAppHeader *requestHeader) { in chppWwanServiceGetCapabilities()
[all …]
H A Ddiscovery.c35 const struct ChppAppHeader *rxHeader);
48 struct ChppAppState *context, const struct ChppAppHeader *requestHeader) { in chppDiscoveryDiscoverAll()
51 sizeof(struct ChppAppHeader) + in chppDiscoveryDiscoverAll()
85 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchDiscoveryClientRequest()
H A Dtimesync.c43 const struct ChppAppHeader *requestHeader = (const struct ChppAppHeader *)buf; in chppTimesyncGetTime()
71 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchTimesyncClientRequest()
H A Dloopback.c48 struct ChppAppHeader *responseHeader = (struct ChppAppHeader *)response; in chppDispatchLoopbackClientRequest()
/aosp12/system/chre/chpp/test/
H A Dclients_test.cpp150 struct ChppAppHeader *reqHeader = in TEST_F()
155 struct ChppAppHeader *respHeader = in TEST_F()
164 struct ChppAppHeader *reqHeader = in TEST_F()
169 struct ChppAppHeader *respHeader = in TEST_F()
180 struct ChppAppHeader *reqHeader = in TEST_F()
187 struct ChppAppHeader *respHeader = in TEST_F()
200 struct ChppAppHeader *reqHeader = in TEST_F()
217 struct ChppAppHeader *reqHeader1 = in TEST_F()
272 struct ChppAppHeader *reqHeader = in TEST_F()
297 struct ChppAppHeader *response = in TEST_F()
[all …]
H A Dtransport_test.cpp205 transHeader.length = sizeof(ChppAppHeader); in addTransportHeaderToBuf()
229 ChppAppHeader appHeader = {}; in addAppHeaderToBuf()
239 return (ChppAppHeader *)&buf[oldLoc]; in addAppHeaderToBuf()
282 ChppAppHeader *appHeader = addAppHeaderToBuf(buf, &len); in openService()
335 ChppAppHeader *appHeader = addAppHeaderToBuf(buf, &len); in sendCommandToService()
716 ChppAppHeader *appHeader = addAppHeaderToBuf(mBuf, &len); in TEST_P()
727 struct ChppAppHeader *responseHeader = in TEST_P()
739 .payload[sizeof(ChppAppHeader)]; in TEST_P()
1035 ChppAppHeader *appHeader = addAppHeaderToBuf(buf, &len); in TEST_F()
1110 ChppAppHeader *appHeader = addAppHeaderToBuf(buf, &len); in messageToInvalidHandle()
[all …]
H A Dclients_test.h31 struct ChppAppHeader *chppTransportGetClientRequestTimeoutResponse(
H A Dtransport_test.h37 struct ChppAppHeader appHeader;
/aosp12/system/chre/chpp/
H A Dapp.c100 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppProcessPredefinedClientRequest()
145 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppProcessPredefinedServiceResponse()
197 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppProcessPredefinedClientNotification()
224 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppProcessPredefinedServiceNotification()
262 sizeof_member(struct ChppAppHeader, type); in chppDatagramLenIsOk()
267 minLen = sizeof(struct ChppAppHeader); in chppDatagramLenIsOk()
520 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppProcessPredefinedHandleDatagram()
564 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppProcessNegotiatedHandleDatagram()
600 struct ChppAppHeader *response = in chppProcessNegotiatedHandleDatagram()
685 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppAppProcessRxDatagram()
[all …]
H A Dservices.c120 struct ChppAppHeader *chppAllocServiceNotification(size_t len) { in chppAllocServiceNotification()
121 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocServiceNotification()
123 struct ChppAppHeader *result = chppMalloc(len); in chppAllocServiceNotification()
134 struct ChppAppHeader *chppAllocServiceResponse( in chppAllocServiceResponse()
135 const struct ChppAppHeader *requestHeader, size_t len) { in chppAllocServiceResponse()
136 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocServiceResponse()
138 struct ChppAppHeader *result = chppMalloc(len); in chppAllocServiceResponse()
148 struct ChppAppHeader *requestHeader) { in chppServiceTimestampRequest()
H A Dclients.c283 struct ChppAppHeader *chppAllocClientRequest( in chppAllocClientRequest()
287 struct ChppAppHeader *result = chppMalloc(len); in chppAllocClientRequest()
300 struct ChppAppHeader *chppAllocClientRequestCommand( in chppAllocClientRequestCommand()
302 struct ChppAppHeader *result = in chppAllocClientRequestCommand()
313 struct ChppAppHeader *requestHeader, in chppClientTimestampRequest()
489 struct ChppAppHeader *request = in chppClientSendOpenRequest()
527 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppClientProcessOpenResponse()
529 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppClientProcessOpenResponse()
577 struct ChppAppHeader *response = in chppClientCloseOpenRequests()
578 chppMalloc(sizeof(struct ChppAppHeader)); in chppClientCloseOpenRequests()
[all …]
/aosp12/system/chre/chpp/include/chpp/common/
H A Dgnss.h49 struct ChppAppHeader header;
66 struct ChppAppHeader header;
82 struct ChppAppHeader header;
98 struct ChppAppHeader header;
107 struct ChppAppHeader header;
117 struct ChppAppHeader header;
H A Dwifi.h48 struct ChppAppHeader header;
64 struct ChppAppHeader header;
81 struct ChppAppHeader header;
98 struct ChppAppHeader header;
H A Dwifi_types.h153 struct ChppAppHeader header;
159 struct ChppAppHeader header;
165 struct ChppAppHeader header;
171 struct ChppAppHeader header;
H A Dgnss_types.h102 struct ChppAppHeader header;
108 struct ChppAppHeader header;
H A Ddiscovery.h36 struct ChppAppHeader header;
H A Dtimesync.h36 struct ChppAppHeader header;
/aosp12/system/chre/chpp/clients/
H A Dgnss.c114 .minLength = sizeof(struct ChppAppHeader),
174 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchGnssResponse()
250 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchGnssNotification()
386 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppGnssGetCapabilitiesResult()
422 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppGnssControlLocationSessionResult()
462 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppGnssControlMeasurementSessionResult()
500 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppGnssConfigurePassiveLocationListenerResult()
551 buf += sizeof(struct ChppAppHeader); in chppGnssLocationResultNotification()
552 len -= sizeof(struct ChppAppHeader); in chppGnssLocationResultNotification()
580 buf += sizeof(struct ChppAppHeader); in chppGnssMeasurementResultNotification()
[all …]
H A Dwwan.c113 .minLength = sizeof(struct ChppAppHeader),
155 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWwanResponse()
305 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWwanGetCapabilitiesResult()
340 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWwanGetCellInfoAsyncResult()
344 if (len == sizeof(struct ChppAppHeader)) { in chppWwanGetCellInfoAsyncResult()
355 buf += sizeof(struct ChppAppHeader); in chppWwanGetCellInfoAsyncResult()
356 len -= sizeof(struct ChppAppHeader); in chppWwanGetCellInfoAsyncResult()
438 struct ChppAppHeader *request = chppAllocClientRequestCommand( in chppWwanClientClose()
472 struct ChppAppHeader *request = chppAllocClientRequestCommand( in chppWwanClientGetCapabilities()
501 struct ChppAppHeader *request = chppAllocClientRequestCommand( in chppWwanClientGetCellInfoAsync()
H A Dwifi.c123 .minLength = sizeof(struct ChppAppHeader),
180 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWifiResponse()
252 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWifiNotification()
403 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWifiGetCapabilitiesResult()
439 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWifiConfigureScanMonitorResult()
488 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWifiRequestScanResult()
533 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWifiRequestRangingResult()
559 buf += sizeof(struct ChppAppHeader); in chppWifiScanEventNotification()
560 len -= sizeof(struct ChppAppHeader); in chppWifiScanEventNotification()
601 buf += sizeof(struct ChppAppHeader); in chppWifiRangingEventNotification()
[all …]
H A Ddiscovery.c109 size_t servicesLen = len - sizeof(struct ChppAppHeader); in chppDiscoveryProcessDiscoverAll()
296 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchDiscoveryServiceResponse()
322 struct ChppAppHeader *request = chppMalloc(sizeof(struct ChppAppHeader)); in chppInitiateDiscovery()
/aosp12/system/chre/chpp/include/chpp/
H A Dservices.h164 struct ChppAppHeader *chppAllocServiceNotification(size_t len);
182 struct ChppAppHeader *chppAllocServiceResponse(
183 const struct ChppAppHeader *requestHeader, size_t len);
199 struct ChppAppHeader *requestHeader);
H A Dclients.h220 struct ChppAppHeader *chppAllocClientRequest(
232 struct ChppAppHeader *chppAllocClientRequestCommand(
252 struct ChppAppHeader *requestHeader,
275 const struct ChppAppHeader *responseHeader);

12