Home
last modified time | relevance | path

Searched refs:gSystemApi (Results 1 – 13 of 13) 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->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()
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.c27 static const struct chrePalSystemApi *gSystemApi; variable
32 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()
/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_audio.cc36 const struct chrePalSystemApi *gSystemApi = nullptr; variable
62 gSystemApi = systemApi; in chrePalAudioApiOpen()
76 data->timestamp = gSystemApi->getCurrentTime(); in sendHandle0Events()
Dpal_wwan.cc34 const struct chrePalSystemApi *gSystemApi = nullptr; variable
43 cell->timeStamp = gSystemApi->getCurrentTime(); in sendCellInfoResult()
97 gSystemApi = systemApi; in chrePalWwanApiOpen()
Dpal_gnss.cc37 const struct chrePalSystemApi *gSystemApi = nullptr; variable
66 event->timestamp = gSystemApi->getCurrentTime(); in sendLocationEvents()
94 event->clock.time_ns = static_cast<int64_t>(gSystemApi->getCurrentTime()); in sendMeasurementEvents()
214 gSystemApi = systemApi; in chrePalGnssApiOpen()
Dpal_sensor.cc36 const struct chrePalSystemApi *gSystemApi = nullptr; variable
74 gSystemApi = systemApi; in chrePalSensorApiOpen()
104 data->header.baseTimestamp = gSystemApi->getCurrentTime(); in sendSensor0Events()
Dpal_wifi.cc39 const struct chrePalSystemApi *gSystemApi = nullptr; variable
82 event->referenceTime = gSystemApi->getCurrentTime(); in sendScanResponse()
237 gSystemApi = systemApi; in chrePalWifiApiOpen()
Dpal_ble.cc36 const struct chrePalSystemApi *gSystemApi = nullptr; variable
229 gSystemApi = systemApi; in chrePalBleApiOpen()
/system/chre/chpp/clients/
Dwwan.c81 static const struct chrePalSystemApi *gSystemApi; variable
409 gSystemApi = systemApi; in chppWwanClientOpen()
Dgnss.c81 static const struct chrePalSystemApi *gSystemApi; variable
598 gSystemApi = systemApi; in chppGnssClientOpen()
Dwifi.c96 static const struct chrePalSystemApi *gSystemApi; variable
849 gSystemApi = systemApi; in chppWifiClientOpen()