Home
last modified time | relevance | path

Searched refs:gSystemApi (Results 1 – 10 of 10) sorted by relevance

/system/chre/chpp/platform/linux/services/
Dplatform_wifi.c25 static const struct chrePalSystemApi *gSystemApi; variable
30 gSystemApi = systemApi; in wifiPalOpen()
56 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseScanEvent()
57 gSystemApi->memoryFree(event); in wifiPalReleaseScanEvent()
67 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->scannedFreqList)); in wifiPalReleaseRangingEvent()
68 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->results)); in wifiPalReleaseRangingEvent()
69 gSystemApi->memoryFree(event); in wifiPalReleaseRangingEvent()
Dplatform_wwan.c24 static const struct chrePalSystemApi *gSystemApi; variable
29 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()
Dplatform_gnss.c24 static const struct chrePalSystemApi *gSystemApi; variable
29 gSystemApi = systemApi; in gnssPalOpen()
53 gSystemApi->memoryFree(event); in gnssPalReleaseLocationEvent()
67 gSystemApi->memoryFree(CHPP_CONST_CAST_POINTER(event->measurements)); in gnssPalReleaseMeasurementDataEvent()
68 gSystemApi->memoryFree(event); in gnssPalReleaseMeasurementDataEvent()
/system/chre/pal/util/
Dwifi_scan_cache.c54 static const struct chrePalSystemApi *gSystemApi = NULL; variable
69 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 …]
/system/chre/platform/linux/
Dpal_wifi.cc30 const struct chrePalSystemApi *gSystemApi = nullptr; variable
46 event->referenceTime = gSystemApi->getCurrentTime(); in sendScanResponse()
106 gSystemApi = systemApi; in chrePalWifiApiOpen()
Dpal_gnss.cc31 const struct chrePalSystemApi *gSystemApi = nullptr; variable
55 event->timestamp = gSystemApi->getCurrentTime(); in sendLocationEvents()
72 event->clock.time_ns = static_cast<int64_t>(gSystemApi->getCurrentTime()); in sendMeasurementEvents()
158 gSystemApi = systemApi; in chrePalGnssApiOpen()
Dpal_wwan.cc30 const struct chrePalSystemApi *gSystemApi = nullptr; variable
39 cell->timeStamp = gSystemApi->getCurrentTime(); in sendCellInfoResult()
94 gSystemApi = systemApi; in chrePalWwanApiOpen()
/system/chre/chpp/clients/
Dwwan.c77 static const struct chrePalSystemApi *gSystemApi; variable
411 gSystemApi = systemApi; in chppWwanClientOpen()
Dgnss.c78 static const struct chrePalSystemApi *gSystemApi; variable
608 gSystemApi = systemApi; in chppGnssClientOpen()
Dwifi.c87 static const struct chrePalSystemApi *gSystemApi; variable
636 gSystemApi = systemApi; in chppWifiClientOpen()