Searched refs:mGnssApi (Results 1 – 2 of 2) sorted by relevance
36 if (mGnssApi != nullptr) { in ~PlatformGnss()39 mGnssApi->close(); in ~PlatformGnss()46 mGnssApi = chrePalGnssGetApi(CHRE_PAL_GNSS_API_CURRENT_VERSION); in init()47 if (mGnssApi != nullptr) { in init()48 if (!mGnssApi->open(&gChrePalSystemApi, &sGnssCallbacks)) { in init()50 mGnssApi = nullptr; in init()52 LOGD("Opened GNSS PAL version 0x%08" PRIx32, mGnssApi->moduleVersion); in init()61 if (mGnssApi != nullptr) { in getCapabilities()63 return mGnssApi->getCapabilities(); in getCapabilities()71 if (mGnssApi != nullptr) { in controlLocationSession()[all …]
36 const chrePalGnssApi *mGnssApi; variable