Lines Matching refs:mWifiApi
35 if (mWifiApi != nullptr) { in ~PlatformWifi()
38 mWifiApi->close(); in ~PlatformWifi()
45 mWifiApi = chrePalWifiGetApi(CHRE_PAL_WIFI_API_CURRENT_VERSION); in init()
46 if (mWifiApi != nullptr) { in init()
47 if (!mWifiApi->open(&gChrePalSystemApi, &sWifiCallbacks)) { in init()
49 mWifiApi = nullptr; in init()
51 LOGD("Opened WiFi PAL version 0x%08" PRIx32, mWifiApi->moduleVersion); in init()
60 if (mWifiApi != nullptr) { in getCapabilities()
62 return mWifiApi->getCapabilities(); in getCapabilities()
69 if (mWifiApi != nullptr) { in configureScanMonitor()
71 return mWifiApi->configureScanMonitor(enable); in configureScanMonitor()
78 if (mWifiApi != nullptr in requestRanging()
79 && mWifiApi->moduleVersion >= CHRE_PAL_WIFI_API_V1_2) { in requestRanging()
81 return mWifiApi->requestRanging(params); in requestRanging()
88 if (mWifiApi != nullptr) { in requestScan()
90 return mWifiApi->requestScan(params); in requestScan()
98 mWifiApi->releaseRangingEvent(event); in releaseRangingEvent()
103 mWifiApi->releaseScanEvent(event); in releaseScanEvent()