/aosp12/system/chre/chpp/services/ |
H A D | gnss.c | 103 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 D | wifi.c | 101 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 D | wwan.c | 104 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 D | discovery.c | 35 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 D | timesync.c | 43 const struct ChppAppHeader *requestHeader = (const struct ChppAppHeader *)buf; in chppTimesyncGetTime() 71 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchTimesyncClientRequest()
|
H A D | loopback.c | 48 struct ChppAppHeader *responseHeader = (struct ChppAppHeader *)response; in chppDispatchLoopbackClientRequest()
|
/aosp12/system/chre/chpp/test/ |
H A D | clients_test.cpp | 150 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 D | transport_test.cpp | 205 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 D | clients_test.h | 31 struct ChppAppHeader *chppTransportGetClientRequestTimeoutResponse(
|
H A D | transport_test.h | 37 struct ChppAppHeader appHeader;
|
/aosp12/system/chre/chpp/ |
H A D | app.c | 100 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 D | services.c | 120 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 D | clients.c | 283 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 D | gnss.h | 49 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 D | wifi.h | 48 struct ChppAppHeader header; 64 struct ChppAppHeader header; 81 struct ChppAppHeader header; 98 struct ChppAppHeader header;
|
H A D | wifi_types.h | 153 struct ChppAppHeader header; 159 struct ChppAppHeader header; 165 struct ChppAppHeader header; 171 struct ChppAppHeader header;
|
H A D | gnss_types.h | 102 struct ChppAppHeader header; 108 struct ChppAppHeader header;
|
H A D | discovery.h | 36 struct ChppAppHeader header;
|
H A D | timesync.h | 36 struct ChppAppHeader header;
|
/aosp12/system/chre/chpp/clients/ |
H A D | gnss.c | 114 .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 D | wwan.c | 113 .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 D | wifi.c | 123 .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 D | discovery.c | 109 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 D | services.h | 164 struct ChppAppHeader *chppAllocServiceNotification(size_t len); 182 struct ChppAppHeader *chppAllocServiceResponse( 183 const struct ChppAppHeader *requestHeader, size_t len); 199 struct ChppAppHeader *requestHeader);
|
H A D | clients.h | 220 struct ChppAppHeader *chppAllocClientRequest( 232 struct ChppAppHeader *chppAllocClientRequestCommand( 252 struct ChppAppHeader *requestHeader, 275 const struct ChppAppHeader *responseHeader);
|