Searched refs:gnssAbility (Results 1 – 5 of 5) sorted by relevance
30 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ReportLocation() local31 if (gnssAbility == nullptr) { in ReportLocation()46 if (gnssAbility->IsMockEnabled()) { in ReportLocation()51 gnssAbility->ReportLocationInfo(GNSS_ABILITY, locationNew); in ReportLocation()53 gnssAbility->ReportLocationInfo(PASSIVE_ABILITY, locationNew); in ReportLocation()61 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ReportGnssWorkingStatus() local62 if (gnssAbility == nullptr) { in ReportGnssWorkingStatus()66 gnssAbility.get()->ReportGnssSessionStatus(static_cast<int>(status)); in ReportGnssWorkingStatus()72 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ReportNmea() local73 if (gnssAbility == nullptr) { in ReportNmea()[all …]
204 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in OnRemoteDied() local205 if (gnssAbility != nullptr) { in OnRemoteDied()206 gnssAbility->UnregisterGnssStatusCallback(remote.promote()); in OnRemoteDied()207 gnssAbility->UnloadGnssSystemAbility(); in OnRemoteDied()222 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in OnRemoteDied() local223 if (gnssAbility != nullptr) { in OnRemoteDied()224 gnssAbility->UnregisterNmeaMessageCallback(remote.promote()); in OnRemoteDied()225 gnssAbility->UnloadGnssSystemAbility(); in OnRemoteDied()240 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in OnRemoteDied() local241 if (gnssAbility != nullptr) { in OnRemoteDied()[all …]
55 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in RequestSubscriberSetId() local56 if (gnssAbility == nullptr) { in RequestSubscriberSetId()60 gnssAbility.get()->SetSetId(setId); in RequestSubscriberSetId()101 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in RequestAgnssRefInfo() local102 if (gnssAbility == nullptr) { in RequestAgnssRefInfo()106 gnssAbility.get()->SetRefInfo(refInfo); in RequestAgnssRefInfo()
750 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ProcessEvent() local751 if (gnssAbility == nullptr) { in ProcessEvent()759 gnssAbility->ProcessReportLocationMock(); in ProcessEvent()765 gnssAbility->LocationRequest(*workrecord); in ProcessEvent()777 gnssAbility->SetMocked(timeInterval, mockLocations); in ProcessEvent()784 gnssAbility->UnloadGnssSystemAbility(); in ProcessEvent()797 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in OnRemoteDied() local798 if (gnssAbility != nullptr) { in OnRemoteDied()802 gnssAbility->ReConnectHdi(); in OnRemoteDied()
989 sptr<GnssAbility> gnssAbility = new (std::nothrow) GnssAbility(); variable990 ASSERT_TRUE(gnssAbility != nullptr);991 gnssAbility->state_ = ServiceRunningState::STATE_RUNNING;992 gnssAbility->OnStart();1001 sptr<GnssAbility> gnssAbility = new (std::nothrow) GnssAbility(); variable1002 ASSERT_TRUE(gnssAbility != nullptr);1004 gnssAbility->SendLocationRequest(workrecord);1047 sptr<GnssAbility> gnssAbility = new (std::nothrow) GnssAbility(); variable1048 ASSERT_TRUE(gnssAbility != nullptr);1049 gnssAbility->registerToAbility_ = true;[all …]