Searched refs:gSystemApi (Results 1 – 13 of 13) sorted by relevance
25 static const struct chrePalSystemApi *gSystemApi; variable30 gSystemApi = systemApi; in wifiPalOpen()56 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->scannedFreqList)); in wifiPalReleaseScanEvent()57 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseScanEvent()58 gSystemApi->memoryFree(event); in wifiPalReleaseScanEvent()68 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseRangingEvent()69 gSystemApi->memoryFree(event); in wifiPalReleaseRangingEvent()
24 static const struct chrePalSystemApi *gSystemApi; variable29 gSystemApi = systemApi; in wwanPalOpen()43 gSystemApi->memoryAlloc(sizeof(struct chreWwanCellInfoResult)); in wwanPalRequestCellInfo()49 result->cells = gSystemApi->memoryAlloc(result->cellInfoCount * in wwanPalRequestCellInfo()63 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(result->cells)); in wwanPalReleaseCellInfoResult()64 gSystemApi->memoryFree(result); in wwanPalReleaseCellInfoResult()
27 static const struct chrePalSystemApi *gSystemApi; variable32 gSystemApi = systemApi; in gnssPalOpen()64 event->timestamp = gSystemApi->getCurrentTime(); in gnssPalSendLocationEvent()87 event->clock.time_ns = (int64_t)(gSystemApi->getCurrentTime()); in gnssPalSendMeasurementEvent()93 gSystemApi->memoryFree(event); in gnssPalReleaseLocationEvent()107 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->measurements)); in gnssPalReleaseMeasurementDataEvent()108 gSystemApi->memoryFree(event); in gnssPalReleaseMeasurementDataEvent()
54 static const struct chrePalSystemApi *gSystemApi = NULL; variable69 return (gSystemApi != NULL && gCallbacks != NULL); in chreWifiScanCacheIsInitialized()84 (timeNs >= gSystemApi->getCurrentTime() - in paramsMatchScanCache()109 gSystemApi->log(CHRE_LOG_ERROR, "Scan cache already started"); in isWifiScanCacheBusy()113 gSystemApi->log(CHRE_LOG_ERROR, "Scan cache events pending release"); in isWifiScanCacheBusy()123 gSystemApi->log(CHRE_LOG_DEBUG, "Dispatching %" PRIu8 " events", in chreWifiScanCacheDispatchAll()177 gSystemApi = systemApi; in chreWifiScanCacheInit()186 gSystemApi = NULL; in chreWifiScanCacheDeinit()200 gSystemApi->log(CHRE_LOG_ERROR, "Invalid frequency argument"); in chreWifiScanCacheScanEventBegin()235 gSystemApi->log(CHRE_LOG_ERROR, "Cannot add to cache before starting it"); in chreWifiScanCacheScanEventAdd()[all …]
36 const struct chrePalSystemApi *gSystemApi = nullptr; variable62 gSystemApi = systemApi; in chrePalAudioApiOpen()76 data->timestamp = gSystemApi->getCurrentTime(); in sendHandle0Events()
34 const struct chrePalSystemApi *gSystemApi = nullptr; variable43 cell->timeStamp = gSystemApi->getCurrentTime(); in sendCellInfoResult()97 gSystemApi = systemApi; in chrePalWwanApiOpen()
37 const struct chrePalSystemApi *gSystemApi = nullptr; variable66 event->timestamp = gSystemApi->getCurrentTime(); in sendLocationEvents()94 event->clock.time_ns = static_cast<int64_t>(gSystemApi->getCurrentTime()); in sendMeasurementEvents()214 gSystemApi = systemApi; in chrePalGnssApiOpen()
36 const struct chrePalSystemApi *gSystemApi = nullptr; variable74 gSystemApi = systemApi; in chrePalSensorApiOpen()104 data->header.baseTimestamp = gSystemApi->getCurrentTime(); in sendSensor0Events()
39 const struct chrePalSystemApi *gSystemApi = nullptr; variable82 event->referenceTime = gSystemApi->getCurrentTime(); in sendScanResponse()237 gSystemApi = systemApi; in chrePalWifiApiOpen()
36 const struct chrePalSystemApi *gSystemApi = nullptr; variable229 gSystemApi = systemApi; in chrePalBleApiOpen()
81 static const struct chrePalSystemApi *gSystemApi; variable409 gSystemApi = systemApi; in chppWwanClientOpen()
81 static const struct chrePalSystemApi *gSystemApi; variable598 gSystemApi = systemApi; in chppGnssClientOpen()
96 static const struct chrePalSystemApi *gSystemApi; variable849 gSystemApi = systemApi; in chppWifiClientOpen()