Searched refs:reportManager_ (Results 1 - 8 of 8) sorted by relevance
/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_-> 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 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)); 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 D | locator_service_test.cpp | 1988 locatorAbility->reportManager_->UpdateCacheLocation(location, NETWORK_ABILITY); in HWTEST_F() 1997 locatorAbility->reportManager_ = nullptr; in HWTEST_F()
|
/base/location/test/location_locator/include/ |
H A D | location_approximately_permission_test.h | 32 ReportManager* reportManager_; member in OHOS::Location::LocationApproximatelyPermissionTest
|
H A D | report_manager_test.h | 32 ReportManager* reportManager_; member in OHOS::Location::ReportManagerTest
|
/base/location/test/location_manager/source/ |
H A D | locator_ability_test.cpp | 229 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 D | locator_ability.cpp | 129 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 D | locator_ability.h | 252 ReportManager* reportManager_; member in OHOS::Location::LocatorAbility
|
Completed in 11 milliseconds