Lines Matching refs:nullptr
88 if (mGnss != nullptr) { in serviceDied()
96 if (sGnss != nullptr) { in location_on_battery_status_changed()
114 if (mApi != nullptr) { in ~Gnss()
116 mApi = nullptr; in ~Gnss()
118 sGnss = nullptr; in ~Gnss()
122 if (mApi != nullptr) { in getApi()
126 if (mGnssCbIface_2_1 != nullptr) { in getApi()
128 } else if (mGnssCbIface_2_0 != nullptr) { in getApi()
130 } else if (mGnssCbIface_1_1 != nullptr) { in getApi()
132 } else if (mGnssCbIface != nullptr) { in getApi()
144 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
154 if (mGnssInterface == nullptr && !getGnssInterfaceFailed) { in getGnssInterface()
155 void * libHandle = nullptr; in getGnssInterface()
173 if (mApi != nullptr) { in setCallback()
174 mApi->gnssUpdateCallbacks_2_0(nullptr); in setCallback()
175 mApi->gnssUpdateCallbacks_2_1(nullptr); in setCallback()
177 if (mGnssCbIface_1_1 != nullptr) { in setCallback()
179 mGnssCbIface_1_1 = nullptr; in setCallback()
181 if (mGnssCbIface_2_0 != nullptr) { in setCallback()
183 mGnssCbIface_2_0 = nullptr; in setCallback()
185 if (mGnssCbIface_2_1 != nullptr) { in setCallback()
187 mGnssCbIface_2_1 = nullptr; in setCallback()
191 if (mGnssCbIface != nullptr) { in setCallback()
195 if (mGnssCbIface != nullptr) { in setCallback()
200 if (api != nullptr) { in setCallback()
212 if (api != nullptr) { in setGnssNiCb()
239 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
309 if (mApi != nullptr) { in cleanup()
322 if (nullptr != gnssInterface) { in injectLocation()
362 return nullptr; in getExtensionAGnss()
368 return nullptr; in getExtensionGnssNi()
373 if (mGnssMeasurement == nullptr) { in getExtensionGnssMeasurement()
381 if (mGnssConfig == nullptr) { in getExtensionGnssConfiguration()
389 if (mGnssGeofencingIface == nullptr) { in getExtensionGnssGeofencing()
397 if (mGnssBatching == nullptr) { in getExtensionGnssBatching()
405 if (mGnssDebug == nullptr) { in getExtensionGnssDebug()
413 if (mGnssRil == nullptr) { in getExtensionAGnssRil()
431 if (mApi != nullptr) { in setCallback_1_1()
432 mApi->gnssUpdateCallbacks_2_0(nullptr); in setCallback_1_1()
433 mApi->gnssUpdateCallbacks_2_1(nullptr); in setCallback_1_1()
435 if (mGnssCbIface != nullptr) { in setCallback_1_1()
437 mGnssCbIface = nullptr; in setCallback_1_1()
439 if (mGnssCbIface_2_0 != nullptr) { in setCallback_1_1()
441 mGnssCbIface_2_0 = nullptr; in setCallback_1_1()
443 if (mGnssCbIface_2_1 != nullptr) { in setCallback_1_1()
445 mGnssCbIface_2_1 = nullptr; in setCallback_1_1()
449 if (mGnssCbIface_1_1 != nullptr) { in setCallback_1_1()
453 if (mGnssCbIface_1_1 != nullptr) { in setCallback_1_1()
458 if (nullptr != gnssInterface) { in setCallback_1_1()
466 if (api != nullptr) { in setCallback_1_1()
496 return nullptr; in getExtensionGnssMeasurement_1_1()
498 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement_1_1()
506 if (mGnssConfig == nullptr) in getExtensionGnssConfiguration_1_1()
514 if (nullptr != gnssInterface) { in injectBestLocation()
527 if (mGnssCbIface_2_1 != nullptr) { in odcpiRequestCb()
540 } else if (mGnssCbIface_2_0 != nullptr) { in odcpiRequestCb()
553 } else if (mGnssCbIface_1_1 != nullptr) { in odcpiRequestCb()
581 if (mApi != nullptr) { in setCallback_2_0()
582 mApi->gnssUpdateCallbacks(nullptr, nullptr); in setCallback_2_0()
583 mApi->gnssUpdateCallbacks_2_1(nullptr); in setCallback_2_0()
585 mGnssNiCbIface = nullptr; in setCallback_2_0()
586 if (mGnssCbIface != nullptr) { in setCallback_2_0()
588 mGnssCbIface = nullptr; in setCallback_2_0()
590 if (mGnssCbIface_1_1 != nullptr) { in setCallback_2_0()
592 mGnssCbIface_1_1 = nullptr; in setCallback_2_0()
594 if (mGnssCbIface_2_1 != nullptr) { in setCallback_2_0()
596 mGnssCbIface_2_1 = nullptr; in setCallback_2_0()
600 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_0()
604 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_0()
609 if (nullptr != gnssInterface) { in setCallback_2_0()
617 if (api != nullptr) { in setCallback_2_0()
628 if (mAGnssIface_2_0 == nullptr) { in getExtensionAGnss_2_0()
635 if (mGnssRil == nullptr) { in getExtensionAGnssRil_2_0()
643 if (mGnssConfig == nullptr) { in getExtensionGnssConfiguration_2_0()
651 return nullptr; in getExtensionGnssMeasurement_2_0()
653 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement_2_0()
662 if (mGnssMeasCorr == nullptr) { in getExtensionMeasurementCorrections()
671 if (mGnssMeasCorr == nullptr) { in getExtensionMeasurementCorrections_1_1()
680 if (mVisibCtrl == nullptr) { in getExtensionVisibilityControl()
689 if (nullptr != gnssInterface) { in injectBestLocation_2_0()
699 if (mGnssDebug == nullptr) { in getExtensionGnssDebug_2_0()
706 return nullptr; in getExtensionGnssBatching_2_0()
721 if (mApi != nullptr) { in setCallback_2_1()
722 mApi->gnssUpdateCallbacks(nullptr, nullptr); in setCallback_2_1()
723 mApi->gnssUpdateCallbacks_2_0(nullptr); in setCallback_2_1()
725 mGnssNiCbIface = nullptr; in setCallback_2_1()
726 if (mGnssCbIface != nullptr) { in setCallback_2_1()
728 mGnssCbIface = nullptr; in setCallback_2_1()
730 if (mGnssCbIface_1_1 != nullptr) { in setCallback_2_1()
732 mGnssCbIface_1_1 = nullptr; in setCallback_2_1()
734 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_1()
736 mGnssCbIface_2_0 = nullptr; in setCallback_2_1()
738 if (mGnssCbIface_2_1 != nullptr) { in setCallback_2_1()
742 if (mGnssCbIface_2_1 != nullptr) { in setCallback_2_1()
747 if (gnssInterface != nullptr) { in setCallback_2_1()
755 if (api != nullptr) { in setCallback_2_1()
765 if (mGnssMeasurement == nullptr) { in getExtensionGnssMeasurement_2_1()
772 if (mGnssConfig == nullptr) { in getExtensionGnssConfiguration_2_1()
780 if (mGnssAntennaInfo == nullptr) { in getExtensionGnssAntennaInfo()
788 V1_0::IGnss* iface = nullptr; in HIDL_FETCH_IGnss()
790 if (iface == nullptr) { in HIDL_FETCH_IGnss()