Searched refs:gnssHal (Results 1 – 4 of 4) sorted by relevance
145 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 …]
125 sp<hardware::gnss::V1_0::IGnss> gnssHal = nullptr; variable
129 std::unique_ptr<android::gnss::GnssHal> gnssHal = nullptr; variable196 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 …]
338 public static synchronized void setGnssHalForTest(GnssHal gnssHal) { in setGnssHalForTest() argument339 sGnssHal = Objects.requireNonNull(gnssHal); in setGnssHalForTest()417 private GnssNative(GnssHal gnssHal, Injector injector, GnssConfiguration configuration) { in GnssNative() argument418 mGnssHal = Objects.requireNonNull(gnssHal); in GnssNative()