Home
last modified time | relevance | path

Searched refs:CHPP_ASSERT (Results 1 – 15 of 15) 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.h615 CHPP_ASSERT((signal & ~(CHPP_TRANSPORT_SIGNAL_PLATFORM_MASK)) == 0); in chppWorkThreadSignalFromLink()
/system/chre/chpp/
Dapp.c789 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAppShortResponseErrorHandler()
802 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocNotification()
803 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_NOTIFICATION || in chppAllocNotification()
822 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocRequest()
823 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_REQUEST || in chppAllocRequest()
844 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocResponse()
847 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_REQUEST || in chppAllocResponse()
889 CHPP_ASSERT(msgType == CHPP_MESSAGE_TYPE_CLIENT_REQUEST || in chppTimestampOutgoingRequest()
943 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_RESPONSE || in chppTimestampIncomingResponse()
1060 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppSendTimestampedRequestOrFail()
Dtransport.c200 CHPP_ASSERT(context->rxStatus.locInState < in chppConsumeHeader()
266 CHPP_ASSERT(context->rxStatus.locInState < context->rxHeader.length); in chppConsumePayload()
295 CHPP_ASSERT(context->rxStatus.locInState < in chppConsumeFooter()
416 CHPP_ASSERT(context->rxDatagram.length >= undoLen); in chppAbortRxPacket()
417 CHPP_ASSERT(context->rxStatus.locInDatagram >= undoLoc); in chppAbortRxPacket()
1114 CHPP_ASSERT(bufferSize + len <= in chppAppendToPendingTxPacket()
DAndroid.bp54 // Enable assert (i.e. CHPP_ASSERT, ...)
Dclients.c413 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppClientProcessOpenResponse()
/system/chre/chpp/clients/
Dloopback.c84 CHPP_ASSERT(len >= CHPP_LOOPBACK_HEADER_LEN); in chppDispatchLoopbackServiceResponse()
91 CHPP_ASSERT(chppTimestampIncomingResponse( in chppDispatchLoopbackServiceResponse()
Dgnss.c399 CHPP_ASSERT((result->capabilities & CHPP_GNSS_DEFAULT_CAPABILITIES) == in chppGnssGetCapabilitiesResult()
Dwifi.c467 CHPP_ASSERT((result->capabilities & CHPP_WIFI_DEFAULT_CAPABILITIES) == in chppWifiGetCapabilitiesResult()
/system/chre/chpp/services/
Ddiscovery.c60 CHPP_ASSERT(false); in chppDiscoveryDiscoverAll()
Dgnss.c503 CHPP_ASSERT(false); in chppGnssServiceRequestStateResyncCallback()
535 CHPP_ASSERT(false); in chppGnssServiceLocationStatusChangeCallback()
607 CHPP_ASSERT(false); in chppGnssServiceMeasurementStatusChangeCallback()
Dwifi.c688 CHPP_ASSERT(false); in chppWifiServiceScanMonitorStatusChangeCallback()
721 CHPP_ASSERT(false); in chppWifiServiceScanResponseCallback()
/system/chre/chpp/common/
Dwifi_convert.c140 CHPP_ASSERT((size_t)(*vlaOffset + out->scannedFreqList.length) <= in chppWifiConvertScanEventFromChre()
156 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
184 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
200 CHPP_ASSERT((size_t)(*vlaOffset + out->ssidList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
250 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertRangingEventFromChre()
282 CHPP_ASSERT((size_t)(*vlaOffset + out->targetList.length) <= payloadSize); in chppWifiConvertRangingParamsFromChre()
313 CHPP_ASSERT((size_t)(*vlaOffset + out->serviceSpecificInfo.length) <= in chppWifiConvertNanSubscribeConfigFromChre()
326 CHPP_ASSERT((size_t)(*vlaOffset + out->matchFilter.length) <= payloadSize); in chppWifiConvertNanSubscribeConfigFromChre()
349 CHPP_ASSERT((size_t)(*vlaOffset + out->serviceSpecificInfo.length) <= in chppWifiConvertNanDiscoveryEventFromChre()
Dwwan_convert.c253 CHPP_ASSERT(false); in chppWwanConvertCellInfoFromChre()
270 CHPP_ASSERT((size_t)(*vlaOffset + out->cells.length) <= payloadSize); in chppWwanConvertCellInfoResultFromChre()
590 CHPP_ASSERT(false); in chppWwanConvertCellInfoToChre()
Dgnss_convert.c95 CHPP_ASSERT((size_t)(*vlaOffset + out->measurements.length) <= payloadSize); in chppGnssConvertDataEventFromChre()