Home
last modified time | relevance | path

Searched refs:mGnssApi (Results 1 – 2 of 2) sorted by relevance

/system/chre/platform/shared/
Dplatform_gnss.cc36 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 …]
/system/chre/platform/shared/include/chre/target_platform/
Dplatform_gnss_base.h36 const chrePalGnssApi *mGnssApi; variable