Lines Matching refs:nullptr

85     if (mGnss != nullptr) {  in serviceDied()
92 if (sGnss != nullptr) { in location_on_battery_status_changed()
110 if (mApi != nullptr) { in ~Gnss()
112 mApi = nullptr; in ~Gnss()
114 sGnss = nullptr; in ~Gnss()
118 if (mApi != nullptr) { in getApi()
122 if (mGnssCbIface_2_0 != nullptr) { in getApi()
124 } else if (mGnssCbIface_1_1 != nullptr) { in getApi()
126 } else if (mGnssCbIface != nullptr) { in getApi()
138 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
148 if (nullptr == mGnssInterface && !getGnssInterfaceFailed) { in getGnssInterface()
179 if (mApi != nullptr) { in setCallback()
180 mApi->gnssUpdateCallbacks_2_0(nullptr); in setCallback()
182 if (mGnssCbIface_1_1 != nullptr) { in setCallback()
184 mGnssCbIface_1_1 = nullptr; in setCallback()
186 if (mGnssCbIface_2_0 != nullptr) { in setCallback()
188 mGnssCbIface_2_0 = nullptr; in setCallback()
192 if (mGnssCbIface != nullptr) { in setCallback()
196 if (mGnssCbIface != nullptr) { in setCallback()
201 if (api != nullptr) { in setCallback()
213 if (api != nullptr) { in setGnssNiCb()
240 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
310 if (mApi != nullptr) { in cleanup()
323 if (nullptr != gnssInterface) { in injectLocation()
363 return nullptr; in getExtensionAGnss()
369 return nullptr; in getExtensionGnssNi()
374 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()
434 if (mGnssCbIface != nullptr) { in setCallback_1_1()
436 mGnssCbIface = nullptr; in setCallback_1_1()
438 if (mGnssCbIface_2_0 != nullptr) { in setCallback_1_1()
440 mGnssCbIface_2_0 = nullptr; in setCallback_1_1()
444 if (mGnssCbIface_1_1 != nullptr) { in setCallback_1_1()
448 if (mGnssCbIface_1_1 != nullptr) { in setCallback_1_1()
453 if (nullptr != gnssInterface) { in setCallback_1_1()
461 if (api != nullptr) { in setCallback_1_1()
491 return nullptr; in getExtensionGnssMeasurement_1_1()
493 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement_1_1()
501 if (mGnssConfig == nullptr) in getExtensionGnssConfiguration_1_1()
509 if (nullptr != gnssInterface) { in injectBestLocation()
520 if (mGnssCbIface_2_0 != nullptr) { in odcpiRequestCb()
533 } else if (mGnssCbIface_1_1 != nullptr) { in odcpiRequestCb()
561 if (mApi != nullptr) { in setCallback_2_0()
562 mApi->gnssUpdateCallbacks(nullptr, nullptr); in setCallback_2_0()
564 mGnssNiCbIface = nullptr; in setCallback_2_0()
565 if (mGnssCbIface != nullptr) { in setCallback_2_0()
567 mGnssCbIface = nullptr; in setCallback_2_0()
569 if (mGnssCbIface_1_1 != nullptr) { in setCallback_2_0()
571 mGnssCbIface_1_1 = nullptr; in setCallback_2_0()
574 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_0()
578 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_0()
583 if (nullptr != gnssInterface) { in setCallback_2_0()
591 if (api != nullptr) { in setCallback_2_0()
602 if (mAGnssIface_2_0 == nullptr) { in getExtensionAGnss_2_0()
608 if (mGnssRil == nullptr) { in getExtensionAGnssRil_2_0()
616 if (mGnssConfig == nullptr) { in getExtensionGnssConfiguration_2_0()
624 return nullptr; in getExtensionGnssMeasurement_2_0()
626 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement_2_0()
634 return nullptr; in getExtensionMeasurementCorrections()
639 if (mVisibCtrl == nullptr) { in getExtensionVisibilityControl()
648 if (nullptr != gnssInterface) { in injectBestLocation_2_0()
658 if (mGnssDebug == nullptr) { in getExtensionGnssDebug_2_0()
666 if (mGnssBatching == nullptr) { in getExtensionGnssBatching_2_0()
674 V1_0::IGnss* iface = nullptr; in HIDL_FETCH_IGnss()
676 if (iface == nullptr) { in HIDL_FETCH_IGnss()