Home
last modified time | relevance | path

Searched refs:rxHeader (Results 1 – 14 of 14) sorted by relevance

/aosp12/system/chre/chpp/
H A Dapp.c127 rxHeader->handle, rxHeader->command, rxHeader->transaction); in chppProcessPredefinedClientRequest()
179 rxHeader->handle, rxHeader->command, rxHeader->transaction, len); in chppProcessPredefinedServiceResponse()
548 rxHeader->handle, rxHeader->type, len, rxHeader->transaction); in chppProcessPredefinedHandleDatagram()
572 rxHeader->handle, rxHeader->type, len, rxHeader->transaction); in chppProcessNegotiatedHandleDatagram()
583 rxHeader->handle, rxHeader->type, len, rxHeader->transaction); in chppProcessNegotiatedHandleDatagram()
595 error, rxHeader->handle, rxHeader->type, in chppProcessNegotiatedHandleDatagram()
596 rxHeader->transaction, rxHeader->command, len); in chppProcessNegotiatedHandleDatagram()
698 len, rxHeader->handle, rxHeader->type, rxHeader->transaction, in chppAppProcessRxDatagram()
699 rxHeader->error, rxHeader->command); in chppAppProcessRxDatagram()
703 len, rxHeader->handle, rxHeader->type, rxHeader->transaction, in chppAppProcessRxDatagram()
[all …]
H A Dtransport.c290 context->rxHeader.length, context->rxHeader.seq, in chppConsumeFooter()
298 context->rxHeader.length, context->rxHeader.seq, in chppConsumeFooter()
319 context->rxHeader.seq, context->rxHeader.length); in chppConsumeFooter()
326 context->rxHeader.seq, in chppConsumeFooter()
336 context->rxHeader.seq, context->rxHeader.length); in chppConsumeFooter()
346 context->rxHeader.seq, context->rxHeader.length); in chppConsumeFooter()
444 *txHeader = context->rxHeader; in chppProcessTransportLoopbackRequest()
525 context->rxHeader.seq, context->rxHeader.packetCode); in chppProcessResetAck()
581 if (context->rxHeader.length > 0 && in chppProcessRxPacket()
625 context->rxHeader.seq, context->rxHeader.length, in chppProcessRxPayload()
[all …]
H A Dclients.c529 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppClientProcessOpenResponse() local
530 if (rxHeader->error != CHPP_APP_ERROR_NONE) { in chppClientProcessOpenResponse()
/aosp12/system/chre/chpp/clients/
H A Dgnss.c179 if (rxHeader->command > CHPP_GNSS_CLIENT_REQUEST_MAX) { in chppDispatchGnssResponse()
184 &gnssClientContext->rRState[rxHeader->command], rxHeader)) { in chppDispatchGnssResponse()
188 switch (rxHeader->command) { in chppDispatchGnssResponse()
255 switch (rxHeader->command) { in chppDispatchGnssNotification()
425 if (rxHeader->error == CHPP_APP_ERROR_NONE) { in chppGnssControlLocationSessionResult()
426 rxHeader->error = CHPP_APP_ERROR_INVALID_LENGTH; in chppGnssControlLocationSessionResult()
429 false, chppAppErrorToChreError(rxHeader->error)); in chppGnssControlLocationSessionResult()
465 if (rxHeader->error == CHPP_APP_ERROR_NONE) { in chppGnssControlMeasurementSessionResult()
466 rxHeader->error = CHPP_APP_ERROR_INVALID_LENGTH; in chppGnssControlMeasurementSessionResult()
469 false, chppAppErrorToChreError(rxHeader->error)); in chppGnssControlMeasurementSessionResult()
[all …]
H A Dwifi.c180 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWifiResponse() local
185 if (rxHeader->command > CHPP_WIFI_CLIENT_REQUEST_MAX) { in chppDispatchWifiResponse()
190 &wifiClientContext->rRState[rxHeader->command], rxHeader)) { in chppDispatchWifiResponse()
194 switch (rxHeader->command) { in chppDispatchWifiResponse()
257 switch (rxHeader->command) { in chppDispatchWifiNotification()
442 if (rxHeader->error == CHPP_APP_ERROR_NONE) { in chppWifiConfigureScanMonitorResult()
443 rxHeader->error = CHPP_APP_ERROR_INVALID_LENGTH; in chppWifiConfigureScanMonitorResult()
446 false, chppAppErrorToChreError(rxHeader->error)); in chppWifiConfigureScanMonitorResult()
491 if (rxHeader->error == CHPP_APP_ERROR_NONE) { in chppWifiRequestScanResult()
492 rxHeader->error = CHPP_APP_ERROR_INVALID_LENGTH; in chppWifiRequestScanResult()
[all …]
H A Dwwan.c155 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWwanResponse() local
160 if (rxHeader->command > CHPP_WWAN_CLIENT_REQUEST_MAX) { in chppDispatchWwanResponse()
165 &wwanClientContext->rRState[rxHeader->command], rxHeader)) { in chppDispatchWwanResponse()
169 switch (rxHeader->command) { in chppDispatchWwanResponse()
305 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWwanGetCapabilitiesResult() local
306 CHPP_LOGE("GetCapabilities resp. too short. err=%" PRIu8, rxHeader->error); in chppWwanGetCapabilitiesResult()
340 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppWwanGetCellInfoAsyncResult() local
346 CHPP_LOGE("GetCellInfo resp. too short. err=%" PRIu8, rxHeader->error); in chppWwanGetCellInfoAsyncResult()
348 if (rxHeader->error == CHPP_APP_ERROR_NONE) { in chppWwanGetCellInfoAsyncResult()
351 errorCode = chppAppErrorToChreError(rxHeader->error); in chppWwanGetCellInfoAsyncResult()
[all …]
H A Ddiscovery.c296 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchDiscoveryServiceResponse() local
299 switch (rxHeader->command) { in chppDispatchDiscoveryServiceResponse()
/aosp12/system/chre/chpp/services/
H A Dwwan.c138 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWwanRequest() local
147 switch (rxHeader->command) { in chppDispatchWwanRequest()
150 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWwanRequest()
151 error = chppWwanServiceOpen(wwanServiceContext, rxHeader); in chppDispatchWwanRequest()
157 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWwanRequest()
158 error = chppWwanServiceClose(wwanServiceContext, rxHeader); in chppDispatchWwanRequest()
164 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWwanRequest()
165 error = chppWwanServiceGetCapabilities(wwanServiceContext, rxHeader); in chppDispatchWwanRequest()
171 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWwanRequest()
172 error = chppWwanServiceGetCellInfoAsync(wwanServiceContext, rxHeader); in chppDispatchWwanRequest()
H A Dgnss.c150 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchGnssRequest() local
160 switch (rxHeader->command) { in chppDispatchGnssRequest()
163 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchGnssRequest()
164 error = chppGnssServiceOpen(gnssServiceContext, rxHeader); in chppDispatchGnssRequest()
170 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchGnssRequest()
171 error = chppGnssServiceClose(gnssServiceContext, rxHeader); in chppDispatchGnssRequest()
177 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchGnssRequest()
184 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchGnssRequest()
192 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchGnssRequest()
200 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchGnssRequest()
[all …]
H A Dwifi.c146 struct ChppAppHeader *rxHeader = (struct ChppAppHeader *)buf; in chppDispatchWifiRequest() local
156 switch (rxHeader->command) { in chppDispatchWifiRequest()
159 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWifiRequest()
160 error = chppWifiServiceOpen(wifiServiceContext, rxHeader); in chppDispatchWifiRequest()
166 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWifiRequest()
167 error = chppWifiServiceClose(wifiServiceContext, rxHeader); in chppDispatchWifiRequest()
173 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWifiRequest()
174 error = chppWifiServiceGetCapabilities(wifiServiceContext, rxHeader); in chppDispatchWifiRequest()
180 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWifiRequest()
188 chppServiceTimestampRequest(rRState, rxHeader); in chppDispatchWifiRequest()
[all …]
H A Ddiscovery.c35 const struct ChppAppHeader *rxHeader);
85 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchDiscoveryClientRequest() local
88 switch (rxHeader->command) { in chppDispatchDiscoveryClientRequest()
91 chppDiscoveryDiscoverAll(context, rxHeader); in chppDispatchDiscoveryClientRequest()
H A Dtimesync.c71 const struct ChppAppHeader *rxHeader = (const struct ChppAppHeader *)buf; in chppDispatchTimesyncClientRequest() local
74 switch (rxHeader->command) { in chppDispatchTimesyncClientRequest()
/aosp12/system/chre/chpp/test/
H A Dtransport_test.cpp431 EXPECT_EQ(mTransportContext.rxHeader.length, len); in TEST_P()
553 EXPECT_EQ(mTransportContext.rxHeader.length, payloadLen); in TEST_F()
581 EXPECT_EQ(mTransportContext.rxHeader.length, payloadLen); in TEST_F()
614 EXPECT_EQ(mTransportContext.rxHeader.length, payloadLen); in TEST_F()
/aosp12/system/chre/chpp/include/chpp/
H A Dtransport.h426 struct ChppTransportHeader rxHeader; // Rx packet header member