Searched refs:reportManager_ (Results 1 – 7 of 7) sorted by relevance
/base/location/test/location_locator/source/ |
D | report_manager_test.cpp | 42 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 …]
|
D | location_approximately_permission_test.cpp | 34 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);
|
D | locator_service_test.cpp | 1998 locatorAbility->reportManager_ = nullptr;
|
/base/location/test/location_locator/include/ |
D | location_approximately_permission_test.h | 32 std::shared_ptr<ReportManager> reportManager_; variable
|
D | report_manager_test.h | 32 std::shared_ptr<ReportManager> reportManager_; variable
|
/base/location/services/location_locator/locator/source/ |
D | locator_ability.cpp | 73 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/ |
D | locator_ability.h | 170 std::shared_ptr<ReportManager> reportManager_; variable
|