Home
last modified time | relevance | path

Searched refs:gnssAbility (Results 1 – 5 of 5) sorted by relevance

/base/location/services/location_gnss/gnss/source/
Dgnss_event_callback.cpp30 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ReportLocation() local
31 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() local
62 if (gnssAbility == nullptr) { in ReportGnssWorkingStatus()
66 gnssAbility.get()->ReportGnssSessionStatus(static_cast<int>(status)); in ReportGnssWorkingStatus()
72 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ReportNmea() local
73 if (gnssAbility == nullptr) { in ReportNmea()
[all …]
Dgnss_ability_skeleton.cpp204 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in OnRemoteDied() local
205 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() local
223 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() local
241 if (gnssAbility != nullptr) { in OnRemoteDied()
[all …]
Dagnss_event_callback.cpp55 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in RequestSubscriberSetId() local
56 if (gnssAbility == nullptr) { in RequestSubscriberSetId()
60 gnssAbility.get()->SetSetId(setId); in RequestSubscriberSetId()
101 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in RequestAgnssRefInfo() local
102 if (gnssAbility == nullptr) { in RequestAgnssRefInfo()
106 gnssAbility.get()->SetRefInfo(refInfo); in RequestAgnssRefInfo()
Dgnss_ability.cpp750 auto gnssAbility = DelayedSingleton<GnssAbility>::GetInstance(); in ProcessEvent() local
751 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() local
798 if (gnssAbility != nullptr) { in OnRemoteDied()
802 gnssAbility->ReConnectHdi(); in OnRemoteDied()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp989 sptr<GnssAbility> gnssAbility = new (std::nothrow) GnssAbility(); variable
990 ASSERT_TRUE(gnssAbility != nullptr);
991 gnssAbility->state_ = ServiceRunningState::STATE_RUNNING;
992 gnssAbility->OnStart();
1001 sptr<GnssAbility> gnssAbility = new (std::nothrow) GnssAbility(); variable
1002 ASSERT_TRUE(gnssAbility != nullptr);
1004 gnssAbility->SendLocationRequest(workrecord);
1047 sptr<GnssAbility> gnssAbility = new (std::nothrow) GnssAbility(); variable
1048 ASSERT_TRUE(gnssAbility != nullptr);
1049 gnssAbility->registerToAbility_ = true;
[all …]