Home
last modified time | relevance | path

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

/system/chre/platform/linux/
Dpal_gnss.cc32 const struct chrePalGnssCallbacks *gCallbacks = nullptr; variable
49 gCallbacks->locationStatusChangeCallback(true, CHRE_ERROR_NONE); in sendLocationEvents()
56 gCallbacks->locationEventCallback(event.release()); in sendLocationEvents()
61 gCallbacks->measurementStatusChangeCallback(true, CHRE_ERROR_NONE); in sendMeasurementEvents()
73 gCallbacks->measurementEventCallback(event.release()); in sendMeasurementEvents()
78 gCallbacks->locationStatusChangeCallback(false, CHRE_ERROR_NONE); in stopLocation()
82 gCallbacks->measurementStatusChangeCallback(false, CHRE_ERROR_NONE); in stopMeasurement()
159 gCallbacks = callbacks; in chrePalGnssApiOpen()
Dpal_wifi.cc31 const struct chrePalWifiCallbacks *gCallbacks = nullptr; variable
40 gCallbacks->scanResponseCallback(true, CHRE_ERROR_NONE); in sendScanResponse()
49 gCallbacks->scanEventCallback(event.release()); in sendScanResponse()
53 gCallbacks->scanMonitorStatusChangeCallback(enable, CHRE_ERROR_NONE); in sendScanMonitorResponse()
107 gCallbacks = callbacks; in chrePalWifiApiOpen()
Dpal_wwan.cc31 const struct chrePalWwanCallbacks *gCallbacks = nullptr; variable
56 gCallbacks->cellInfoResultCallback(result.release()); in sendCellInfoResult()
95 gCallbacks = callbacks; in chrePalWwanApiOpen()
/system/chre/pal/util/
Dwifi_scan_cache.c55 static const struct chrePalWifiCallbacks *gCallbacks = NULL; variable
69 return (gSystemApi != NULL && gCallbacks != NULL); in chreWifiScanCacheIsInitialized()
129 gCallbacks->scanEventCallback(&gWifiCacheState.event); in chreWifiScanCacheDispatchAll()
144 gCallbacks->scanEventCallback(&gWifiCacheState.event); in chreWifiScanCacheDispatchAll()
178 gCallbacks = callbacks; in chreWifiScanCacheInit()
187 gCallbacks = NULL; in chreWifiScanCacheDeinit()
226 gCallbacks->scanResponseCallback(false /* pending */, error); in chreWifiScanCacheScanEventBegin()
268 gCallbacks->scanResponseCallback( in chreWifiScanCacheScanEventEnd()
304 gCallbacks->scanResponseCallback(true /* pending */, CHRE_ERROR_NONE); in chreWifiScanCacheDispatchFromCache()
/system/chre/chpp/platform/linux/services/
Dplatform_wwan.c25 static const struct chrePalWwanCallbacks *gCallbacks; variable
30 gCallbacks = callbacks; in wwanPalOpen()
56 gCallbacks->cellInfoResultCallback(result); in wwanPalRequestCellInfo()
Dplatform_wifi.c26 static const struct chrePalWifiCallbacks *gCallbacks; variable
31 gCallbacks = callbacks; in wifiPalOpen()
Dplatform_gnss.c25 static const struct chrePalGnssCallbacks *gCallbacks; variable
30 gCallbacks = callbacks; in gnssPalOpen()
/system/chre/chpp/clients/
Dgnss.c79 static const struct chrePalGnssCallbacks *gCallbacks; variable
192 gCallbacks->requestStateResync(); in chppDispatchGnssResponse()
428 gCallbacks->locationStatusChangeCallback( in chppGnssControlLocationSessionResult()
440 gCallbacks->locationStatusChangeCallback(result->enabled, in chppGnssControlLocationSessionResult()
468 gCallbacks->measurementStatusChangeCallback( in chppGnssControlMeasurementSessionResult()
480 gCallbacks->measurementStatusChangeCallback(result->enabled, in chppGnssControlMeasurementSessionResult()
531 gCallbacks->requestStateResync(); in chppGnssStateResyncNotification()
560 gCallbacks->locationEventCallback(chre); in chppGnssLocationResultNotification()
589 gCallbacks->measurementEventCallback(chre); in chppGnssMeasurementResultNotification()
609 gCallbacks = callbacks; in chppGnssClientOpen()
Dwifi.c88 static const struct chrePalWifiCallbacks *gCallbacks; variable
445 gCallbacks->scanMonitorStatusChangeCallback( in chppWifiConfigureScanMonitorResult()
463 gCallbacks->scanMonitorStatusChangeCallback(result->enabled, in chppWifiConfigureScanMonitorResult()
494 gCallbacks->scanResponseCallback(false, in chppWifiRequestScanResult()
501 gCallbacks->scanResponseCallback(result->pending, result->errorCode); in chppWifiRequestScanResult()
523 gCallbacks->rangingEventCallback(chppAppErrorToChreError(rxHeader->error), in chppWifiRequestRangingResult()
567 gCallbacks->scanEventCallback(chre); in chppWifiScanEventNotification()
618 gCallbacks->rangingEventCallback(error, chre); in chppWifiRangingEventNotification()
637 gCallbacks = callbacks; in chppWifiClientOpen()
Dwwan.c78 static const struct chrePalWwanCallbacks *gCallbacks; variable
392 gCallbacks->cellInfoResultCallback(chre); in chppWwanGetCellInfoAsyncResult()
412 gCallbacks = callbacks; in chppWwanClientOpen()