Home
last modified time | relevance | path

Searched refs:reportManager_ (Results 1 - 8 of 8) sorted by relevance

/base/location/test/location_locator/source/
H A Dreport_manager_test.cpp43 reportManager_ = ReportManager::GetInstance(); in SetUp()
44 EXPECT_NE(nullptr, reportManager_); in SetUp()
49 reportManager_ = nullptr; in TearDown()
103 EXPECT_EQ(true, reportManager_-> in HWTEST_F()
105 EXPECT_EQ(true, reportManager_-> in HWTEST_F()
107 EXPECT_EQ(false, reportManager_-> in HWTEST_F()
125 EXPECT_EQ(true, reportManager_->ResultCheck(location, request)); in HWTEST_F()
126 EXPECT_EQ(false, reportManager_->ResultCheck(nullptr, request)); // no location in HWTEST_F()
127 EXPECT_EQ(false, reportManager_->ResultCheck(location, nullptr)); // no request in HWTEST_F()
128 EXPECT_EQ(false, reportManager_ in HWTEST_F()
[all...]
H A Dlocation_approximately_permission_test.cpp35 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)); in HWTEST_F()
84 auto newLocation = reportManager_->GetPermittedLocation(request, location); in HWTEST_F()
96 EXPECT_EQ(nullptr, reportManager_->GetPermittedLocation(request, nullptr)); in HWTEST_F()
111 auto newLocation = reportManager_->GetPermittedLocation(request, location); in HWTEST_F()
H A Dlocator_service_test.cpp1988 locatorAbility->reportManager_->UpdateCacheLocation(location, NETWORK_ABILITY); in HWTEST_F()
1997 locatorAbility->reportManager_ = nullptr; in HWTEST_F()
/base/location/test/location_locator/include/
H A Dlocation_approximately_permission_test.h32 ReportManager* reportManager_; member in OHOS::Location::LocationApproximatelyPermissionTest
H A Dreport_manager_test.h32 ReportManager* reportManager_; member in OHOS::Location::ReportManagerTest
/base/location/test/location_manager/source/
H A Dlocator_ability_test.cpp229 locatorAbility->reportManager_ = ReportManager::GetInstance(); in HWTEST_F()
294 locatorAbility->reportManager_ = nullptr; in HWTEST_F()
308 locatorAbility->reportManager_ = ReportManager::GetInstance(); in HWTEST_F()
324 locatorAbility->reportManager_ = ReportManager::GetInstance(); in HWTEST_F()
340 locatorAbility->reportManager_ = ReportManager::GetInstance(); in HWTEST_F()
356 locatorAbility->reportManager_ = ReportManager::GetInstance(); in HWTEST_F()
/base/location/services/location_locator/locator/source/
H A Dlocator_ability.cpp129 reportManager_ = ReportManager::GetInstance(); in LocatorAbility()
950 if (reportManager_ == nullptr || requestManager_ == nullptr) { in StartLocating()
953 reportManager_->UpdateRandom(); in StartLocating()
1014 if (reportManager_ == nullptr || request == nullptr || callback == nullptr || in NeedReportCacheLocation()
1019 auto cacheLocation = reportManager_->GetCacheLocation(request); in NeedReportCacheLocation()
1105 auto lastLocation = reportManager_->GetLastLocation(); in GetCacheLocation()
1113 loc = reportManager_->GetPermittedLocation(request, lastLocation); in GetCacheLocation()
1114 reportManager_->UpdateLocationByRequest(identity.GetTokenId(), identity.GetTokenIdEx(), loc); in GetCacheLocation()
1159 if (reportManager_->ReportRemoteCallback(callback, ILocatorCallback::RECEIVE_LOCATION_STATUS_EVENT, result)) { in ReportLocationStatus()
1177 if (reportManager_ in ReportErrorStatus()
[all...]
/base/location/services/location_locator/locator/include/
H A Dlocator_ability.h252 ReportManager* reportManager_; member in OHOS::Location::LocatorAbility

Completed in 11 milliseconds