Home
last modified time | relevance | path

Searched refs:gnssHal (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/jni/gnss/
DGnss.cpp145 gnssHal = gnssHal_V2_1; in GnssHal()
153 gnssHal = gnssHal_V2_0; in GnssHal()
160 gnssHal = gnssHal_V1_1; in GnssHal()
165 gnssHal = IGnss_V1_0::getService(); in GnssHal()
169 return (gnssHalAidl != nullptr || gnssHal != nullptr) ? JNI_TRUE : JNI_FALSE; in isSupported()
183 if (gnssHal != nullptr) { in linkToDeath()
185 hardware::Return<bool> linked = gnssHal->linkToDeath(gnssHalDeathRecipient, /*cookie*/ 0); in linkToDeath()
206 if (gnssHal != nullptr) { in setCallback()
216 result = gnssHal->setCallback(gnssCbIface); in setCallback()
231 if (gnssHal != nullptr) { in close()
[all …]
DGnss.h125 sp<hardware::gnss::V1_0::IGnss> gnssHal = nullptr; variable
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp129 std::unique_ptr<android::gnss::GnssHal> gnssHal = nullptr; variable
196 gnssHal = std::make_unique<gnss::GnssHal>(); in android_location_gnss_hal_GnssNative_set_gps_service_handle()
250 if (gnssHal == nullptr || !gnssHal->isSupported()) { in android_location_gnss_hal_GnssNative_init_once()
255 gnssHal->linkToDeath(); in android_location_gnss_hal_GnssNative_init_once()
256 gnssPsdsIface = gnssHal->getGnssPsdsInterface(); in android_location_gnss_hal_GnssNative_init_once()
257 agnssRilIface = gnssHal->getAGnssRilInterface(); in android_location_gnss_hal_GnssNative_init_once()
258 agnssIface = gnssHal->getAGnssInterface(); in android_location_gnss_hal_GnssNative_init_once()
259 gnssNavigationMessageIface = gnssHal->getGnssNavigationMessageInterface(); in android_location_gnss_hal_GnssNative_init_once()
260 gnssMeasurementIface = gnssHal->getGnssMeasurementInterface(); in android_location_gnss_hal_GnssNative_init_once()
261 gnssAntennaInfoIface = gnssHal->getGnssAntennaInfoInterface(); in android_location_gnss_hal_GnssNative_init_once()
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/
DGnssNative.java338 public static synchronized void setGnssHalForTest(GnssHal gnssHal) { in setGnssHalForTest() argument
339 sGnssHal = Objects.requireNonNull(gnssHal); in setGnssHalForTest()
417 private GnssNative(GnssHal gnssHal, Injector injector, GnssConfiguration configuration) { in GnssNative() argument
418 mGnssHal = Objects.requireNonNull(gnssHal); in GnssNative()