Searched refs:reportManager_ (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/location/test/location_locator/source/ |
H A D | report_manager_test.cpp | 43 reportManager_ = ReportManager::GetInstance(); in SetUp() 44 EXPECT_NE(nullptr, reportManager_); in SetUp() 49 reportManager_ = nullptr; in TearDown() 103 EXPECT_EQ(true, reportManager_-> 105 EXPECT_EQ(true, reportManager_-> 107 EXPECT_EQ(false, reportManager_-> 198 reportManager_->GetLastLocation(); 222 reportManager_->GetCacheLocation(request); 387 reportManager_->UpdateRandom(); 393 reportManager_->UpdateRandom(); [all …]
|
H A D | location_approximately_permission_test.cpp | 35 reportManager_ = ReportManager::GetInstance(); in SetUp() 36 EXPECT_NE(nullptr, reportManager_); in SetUp() 41 reportManager_ = nullptr; in TearDown() 69 EXPECT_EQ(nullptr, reportManager_->GetPermittedLocation(request, nullptr)); 84 auto newLocation = reportManager_->GetPermittedLocation(request, location); 96 EXPECT_EQ(nullptr, reportManager_->GetPermittedLocation(request, nullptr)); 111 auto newLocation = reportManager_->GetPermittedLocation(request, location);
|
H A D | locator_service_test.cpp | 1984 locatorAbility->reportManager_->UpdateCacheLocation(location, NETWORK_ABILITY); 1993 locatorAbility->reportManager_ = nullptr;
|
/ohos5.0/base/location/test/location_locator/include/ |
H A D | location_approximately_permission_test.h | 32 ReportManager* reportManager_; variable
|
H A D | report_manager_test.h | 32 ReportManager* reportManager_; variable
|
/ohos5.0/base/location/test/location_manager/source/ |
H A D | locator_ability_test.cpp | 229 locatorAbility->reportManager_ = ReportManager::GetInstance(); 294 locatorAbility->reportManager_ = nullptr; 308 locatorAbility->reportManager_ = ReportManager::GetInstance(); 324 locatorAbility->reportManager_ = ReportManager::GetInstance(); 340 locatorAbility->reportManager_ = ReportManager::GetInstance(); 356 locatorAbility->reportManager_ = ReportManager::GetInstance();
|
/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | locator_ability.cpp | 137 reportManager_ = ReportManager::GetInstance(); in LocatorAbility() 958 if (reportManager_ == nullptr || requestManager_ == nullptr) { in StartLocating() 961 reportManager_->UpdateRandom(); in StartLocating() 972 !reportManager_->IsCacheGnssLocationValid()) { in StartLocating() 1026 …if (reportManager_ == nullptr || requestManager_ == nullptr || request == nullptr || callback == n… in NeedReportCacheLocation() 1051 auto cacheLocation = reportManager_->GetCacheLocation(request); in NeedReportCacheLocation() 1153 auto lastLocation = reportManager_->GetLastLocation(); in GetCacheLocation() 1161 loc = reportManager_->GetPermittedLocation(request, lastLocation); in GetCacheLocation() 1167 reportManager_->UpdateLocationByRequest(identity.GetTokenId(), identity.GetTokenIdEx(), loc); in GetCacheLocation() 1218 …if (reportManager_->ReportRemoteCallback(callback, ILocatorCallback::RECEIVE_LOCATION_STATUS_EVENT… in ReportLocationStatus() [all …]
|
/ohos5.0/base/location/services/location_locator/locator/include/ |
H A D | locator_ability.h | 256 ReportManager* reportManager_; variable
|