Lines Matching refs:nullptr

86     if (mGnss != nullptr) {  in serviceDied()
94 if (sGnss != nullptr) { in location_on_battery_status_changed()
112 if (mApi != nullptr) { in ~Gnss()
114 mApi = nullptr; in ~Gnss()
116 sGnss = nullptr; in ~Gnss()
120 if (mApi != nullptr) { in getApi()
124 if (mGnssCbIface_2_0 != nullptr) { in getApi()
126 } else if (mGnssCbIface_1_1 != nullptr) { in getApi()
128 } else if (mGnssCbIface != nullptr) { in getApi()
140 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
151 if (nullptr == mGnssInterface && !getGnssInterfaceFailed) { in getGnssInterface()
152 void * libHandle = nullptr; in getGnssInterface()
156 if (nullptr == getter) { in getGnssInterface()
171 if (mApi != nullptr) { in setCallback()
172 mApi->gnssUpdateCallbacks_2_0(nullptr); in setCallback()
174 if (mGnssCbIface_1_1 != nullptr) { in setCallback()
176 mGnssCbIface_1_1 = nullptr; in setCallback()
178 if (mGnssCbIface_2_0 != nullptr) { in setCallback()
180 mGnssCbIface_2_0 = nullptr; in setCallback()
184 if (mGnssCbIface != nullptr) { in setCallback()
188 if (mGnssCbIface != nullptr) { in setCallback()
193 if (api != nullptr) { in setCallback()
205 if (api != nullptr) { in setGnssNiCb()
232 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
302 if (mApi != nullptr) { in cleanup()
315 if (nullptr != gnssInterface) { in injectLocation()
355 return nullptr; in getExtensionAGnss()
361 return nullptr; in getExtensionGnssNi()
366 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement()
373 if (mGnssConfig == nullptr) { in getExtensionGnssConfiguration()
381 if (mGnssGeofencingIface == nullptr) { in getExtensionGnssGeofencing()
389 if (mGnssBatching == nullptr) { in getExtensionGnssBatching()
397 if (mGnssDebug == nullptr) { in getExtensionGnssDebug()
405 if (mGnssRil == nullptr) { in getExtensionAGnssRil()
423 if (mApi != nullptr) { in setCallback_1_1()
424 mApi->gnssUpdateCallbacks_2_0(nullptr); in setCallback_1_1()
426 if (mGnssCbIface != nullptr) { in setCallback_1_1()
428 mGnssCbIface = nullptr; in setCallback_1_1()
430 if (mGnssCbIface_2_0 != nullptr) { in setCallback_1_1()
432 mGnssCbIface_2_0 = nullptr; in setCallback_1_1()
436 if (mGnssCbIface_1_1 != nullptr) { in setCallback_1_1()
440 if (mGnssCbIface_1_1 != nullptr) { in setCallback_1_1()
445 if (nullptr != gnssInterface) { in setCallback_1_1()
453 if (api != nullptr) { in setCallback_1_1()
483 return nullptr; in getExtensionGnssMeasurement_1_1()
485 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement_1_1()
493 if (mGnssConfig == nullptr) in getExtensionGnssConfiguration_1_1()
501 if (nullptr != gnssInterface) { in injectBestLocation()
515 if (mGnssCbIface_2_0 != nullptr) { in odcpiRequestCb()
528 } else if (mGnssCbIface_1_1 != nullptr) { in odcpiRequestCb()
556 if (mApi != nullptr) { in setCallback_2_0()
557 mApi->gnssUpdateCallbacks(nullptr, nullptr); in setCallback_2_0()
559 mGnssNiCbIface = nullptr; in setCallback_2_0()
560 if (mGnssCbIface != nullptr) { in setCallback_2_0()
562 mGnssCbIface = nullptr; in setCallback_2_0()
564 if (mGnssCbIface_1_1 != nullptr) { in setCallback_2_0()
566 mGnssCbIface_1_1 = nullptr; in setCallback_2_0()
569 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_0()
573 if (mGnssCbIface_2_0 != nullptr) { in setCallback_2_0()
578 if (nullptr != gnssInterface) { in setCallback_2_0()
586 if (api != nullptr) { in setCallback_2_0()
597 if (mAGnssIface_2_0 == nullptr) { in getExtensionAGnss_2_0()
603 if (mGnssRil == nullptr) { in getExtensionAGnssRil_2_0()
611 if (mGnssConfig == nullptr) { in getExtensionGnssConfiguration_2_0()
619 return nullptr; in getExtensionGnssMeasurement_2_0()
621 if (mGnssMeasurement == nullptr) in getExtensionGnssMeasurement_2_0()
629 return nullptr; in getExtensionMeasurementCorrections()
634 if (mVisibCtrl == nullptr) { in getExtensionVisibilityControl()
643 if (nullptr != gnssInterface) { in injectBestLocation_2_0()
653 if (mGnssDebug == nullptr) { in getExtensionGnssDebug_2_0()
660 return nullptr; in getExtensionGnssBatching_2_0()
665 V1_0::IGnss* iface = nullptr; in HIDL_FETCH_IGnss()
667 if (iface == nullptr) { in HIDL_FETCH_IGnss()