Lines Matching refs:api
77 const struct chrePalWifiApi *api; // WiFi PAL API member
299 } else if (!wifiServiceContext->api->open( in chppWifiServiceOpen()
339 wifiServiceContext->api->close(); in chppWifiServiceClose()
373 wifiServiceContext->api->close(); in chppWifiServiceNotifyReset()
399 response->params.capabilities = wifiServiceContext->api->getCapabilities(); in chppWifiServiceGetCapabilities()
437 if (!wifiServiceContext->api->configureScanMonitor(*enable)) { in chppWifiServiceConfigureScanMonitorAsync()
479 if (!wifiServiceContext->api->requestScan(chre)) { in chppWifiServiceRequestScanAsync()
529 if (!wifiServiceContext->api->requestRanging(chre)) { in chppWifiServiceRequestRangingAsync()
572 if (!wifiServiceContext->api->nanSubscribe(chreConfig)) { in chppWifiServiceRequestNanSubscribe()
607 if (!wifiServiceContext->api->nanSubscribeCancel(subscriptionId)) { in chppWifiServiceRequestNanSubscribeCancel()
644 if (!wifiServiceContext->api->requestNanRanging(chreParams)) { in chppWifiServiceRequestNanRanging()
773 gWifiServiceContext.api->releaseScanEvent(event); in chppWifiServiceScanEventCallback()
826 gWifiServiceContext.api->releaseRangingEvent(event); in chppWifiServiceRangingEventCallback()
893 gWifiServiceContext.api->releaseNanDiscoveryEvent(event); in chppWifiServiceNanDiscoveryCallback()
1012 gWifiServiceContext.api = chrePalWifiGetApi(CHRE_PAL_WIFI_API_V1_2); in chppRegisterWifiService()
1016 if (gWifiServiceContext.api == NULL) { in chppRegisterWifiService()