Home
last modified time | relevance | path

Searched refs:ResultCheck (Results 1 – 4 of 4) sorted by relevance

/base/location/test/location_locator/source/
Dreport_manager_test.cpp120 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
131 EXPECT_EQ(true, reportManager_->ResultCheck(location, request)); // no last location
136 EXPECT_EQ(true, reportManager_->ResultCheck(location, request)); // no need to check
140 EXPECT_EQ(false, reportManager_->ResultCheck(location, request)); // time interval check failed
147 …EXPECT_EQ(false, reportManager_->ResultCheck(location, request)); // distance interval check failed
155 EXPECT_EQ(false, reportManager_->ResultCheck(location, request)); // acc check failed
163 EXPECT_EQ(false, reportManager_->ResultCheck(location, request)); // check pass
/base/location/services/location_locator/locator/include/
Dreport_manager.h35 …bool ResultCheck(const std::unique_ptr<Location>& location, const std::shared_ptr<Request>& reques…
/base/location/test/fuzztest/locator/reportmanager_fuzzer/
Dreportmanager_fuzzer.cpp48 reportManager->ResultCheck(location, request); in ReportManagerFuzzerTest()
/base/location/services/location_locator/locator/source/
Dreport_manager.cpp98 if (!ResultCheck(finalLocation, request)) { in ProcessRequestForReport()
156 bool ReportManager::ResultCheck(const std::unique_ptr<Location>& location, in ResultCheck() function in OHOS::Location::ReportManager