Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/gnss/
DGnss.cpp132 gnssHalAidl = waitForVintfService<IGnssAidl>(); in GnssHal()
133 if (gnssHalAidl != nullptr) { in GnssHal()
134 ALOGD("Successfully got GNSS AIDL handle. Version=%d.", gnssHalAidl->getInterfaceVersion()); in GnssHal()
135 if (gnssHalAidl->getInterfaceVersion() >= 2) { in GnssHal()
169 return (gnssHalAidl != nullptr || gnssHal != nullptr) ? JNI_TRUE : JNI_FALSE; in isSupported()
173 if (gnssHalAidl != nullptr) { in linkToDeath()
175 status_t linked = IInterface::asBinder(gnssHalAidl)->linkToDeath(gnssHalDeathRecipientAidl); in linkToDeath()
198 if (gnssHalAidl != nullptr) { in setCallback()
200 new GnssCallbackAidl(gnssHalAidl->getInterfaceVersion()); in setCallback()
201 auto status = gnssHalAidl->setCallback(gnssCbIfaceAidl); in setCallback()
[all …]
DGnss.h129 sp<hardware::gnss::IGnss> gnssHalAidl = nullptr; variable