Home
last modified time | relevance | path

Searched refs:reportManager_ (Results 1 – 7 of 7) sorted by relevance

/base/location/test/location_locator/source/
Dreport_manager_test.cpp42 reportManager_ = DelayedSingleton<ReportManager>::GetInstance(); in SetUp()
43 EXPECT_NE(nullptr, reportManager_); in SetUp()
48 reportManager_ = nullptr; in TearDown()
83 EXPECT_EQ(true, reportManager_->
85 EXPECT_EQ(true, reportManager_->
87 EXPECT_EQ(false, reportManager_->
120 EXPECT_EQ(true, reportManager_->ResultCheck(location, request));
121 EXPECT_EQ(false, reportManager_->ResultCheck(nullptr, request)); // no location
122 EXPECT_EQ(false, reportManager_->ResultCheck(location, nullptr)); // no request
123 EXPECT_EQ(false, reportManager_->ResultCheck(nullptr, nullptr)); // no location & no request
[all …]
Dlocation_approximately_permission_test.cpp34 reportManager_ = DelayedSingleton<ReportManager>::GetInstance(); in SetUp()
35 EXPECT_NE(nullptr, reportManager_); in SetUp()
40 reportManager_ = nullptr; in TearDown()
67 EXPECT_EQ(nullptr, reportManager_->GetPermittedLocation(0, tokenId_, 0, nullptr));
85 auto newLocation = reportManager_->GetPermittedLocation(0, tokenId_, 0, location);
94 EXPECT_EQ(nullptr, reportManager_->GetPermittedLocation(0, tokenId_, 0, nullptr));
112 auto newLocation = reportManager_->GetPermittedLocation(0, tokenId_, 0, location);
Dlocator_service_test.cpp1998 locatorAbility->reportManager_ = nullptr;
/base/location/test/location_locator/include/
Dlocation_approximately_permission_test.h32 std::shared_ptr<ReportManager> reportManager_; variable
Dreport_manager_test.h32 std::shared_ptr<ReportManager> reportManager_; variable
/base/location/services/location_locator/locator/source/
Dlocator_ability.cpp73 reportManager_ = DelayedSingleton<ReportManager>::GetInstance(); in LocatorAbility()
811 if (reportManager_ == nullptr || requestManager_ == nullptr) { in StartLocating()
814 reportManager_->UpdateRandom(); in StartLocating()
848 auto lastLocation = reportManager_->GetLastLocation(); in GetCacheLocation()
849 loc = reportManager_->GetPermittedLocation(identity.GetUid(), identity.GetTokenId(), in GetCacheLocation()
876 if (reportManager_->OnReportLocation(location, abilityName)) { in ReportLocation()
893 …if (reportManager_->ReportRemoteCallback(callback, ILocatorCallback::RECEIVE_LOCATION_STATUS_EVENT… in ReportLocationStatus()
910 …if (reportManager_->ReportRemoteCallback(callback, ILocatorCallback::RECEIVE_ERROR_INFO_EVENT, res… in ReportErrorStatus()
/base/location/services/location_locator/locator/include/
Dlocator_ability.h170 std::shared_ptr<ReportManager> reportManager_; variable