Home
last modified time | relevance | path

Searched refs:CHPP_ASSERT (Results 1 – 12 of 12) sorted by relevance

/system/chre/chpp/include/chpp/
Dmacros.h50 #ifndef CHPP_ASSERT
51 #define CHPP_ASSERT(var) assert(var) macro
59 CHPP_ASSERT(false); \
65 #define CHPP_NOT_NULL(var) CHPP_ASSERT((var) != NULL)
73 #define CHPP_DEBUG_ASSERT(var) CHPP_ASSERT(var)
Dtransport.h639 CHPP_ASSERT((signal & ~(CHPP_TRANSPORT_SIGNAL_PLATFORM_MASK)) == 0); in chppWorkThreadSignalFromLink()
/system/chre/chpp/
Dservices.c121 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocServiceNotification()
136 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocServiceResponse()
Dclients.c285 CHPP_ASSERT(len >= CHPP_APP_MIN_LEN_HEADER_WITH_TRANSACTION); in chppAllocClientRequest()
418 CHPP_ASSERT(len >= CHPP_APP_MIN_LEN_HEADER_WITH_TRANSACTION); in chppSendTimestampedRequestOrFail()
527 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppClientProcessOpenResponse()
Dtransport.c180 CHPP_ASSERT(context->rxStatus.locInState < in chppConsumeHeader()
246 CHPP_ASSERT(context->rxStatus.locInState < context->rxHeader.length); in chppConsumePayload()
275 CHPP_ASSERT(context->rxStatus.locInState < in chppConsumeFooter()
396 CHPP_ASSERT(context->rxDatagram.length >= undoLen); in chppAbortRxPacket()
397 CHPP_ASSERT(context->rxStatus.locInDatagram >= undoLoc); in chppAbortRxPacket()
1072 CHPP_ASSERT(packet->length + len <= sizeof(packet->payload)); in chppAppendToPendingTxPacket()
/system/chre/chpp/services/
Ddiscovery.c60 CHPP_ASSERT(false); in chppDiscoveryDiscoverAll()
Dgnss.c506 CHPP_ASSERT(false); in chppGnssServiceRequestStateResyncCallback()
538 CHPP_ASSERT(false); in chppGnssServiceLocationStatusChangeCallback()
610 CHPP_ASSERT(false); in chppGnssServiceMeasurementStatusChangeCallback()
Dwifi.c528 CHPP_ASSERT(false); in chppWifiServiceScanMonitorStatusChangeCallback()
561 CHPP_ASSERT(false); in chppWifiServiceScanResponseCallback()
/system/chre/chpp/clients/
Dloopback.c85 CHPP_ASSERT(len >= CHPP_LOOPBACK_HEADER_LEN); in chppDispatchLoopbackServiceResponse()
90 CHPP_ASSERT(chppClientTimestampResponse( in chppDispatchLoopbackServiceResponse()
/system/chre/chpp/common/
Dwifi_convert.c115 CHPP_ASSERT((size_t)(*vlaOffset + out->scannedFreqList.length) <= in chppWifiConvertScanEventFromChre()
130 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
157 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
172 CHPP_ASSERT((size_t)(*vlaOffset + out->ssidList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
221 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertRangingEventFromChre()
253 CHPP_ASSERT((size_t)(*vlaOffset + out->targetList.length) <= payloadSize); in chppWifiConvertRangingParamsFromChre()
Dwwan_convert.c253 CHPP_ASSERT(false); in chppWwanConvertCellInfoFromChre()
269 CHPP_ASSERT((size_t)(*vlaOffset + out->cells.length) <= payloadSize); in chppWwanConvertCellInfoResultFromChre()
589 CHPP_ASSERT(false); in chppWwanConvertCellInfoToChre()
Dgnss_convert.c95 CHPP_ASSERT((size_t)(*vlaOffset + out->measurements.length) <= payloadSize); in chppGnssConvertDataEventFromChre()