Home
last modified time | relevance | path

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

/ohos5.0/base/location/test/location_locator/source/
H A Dreport_manager_test.cpp125 EXPECT_EQ(true, reportManager_->ResultCheck(location, request));
126 EXPECT_EQ(false, reportManager_->ResultCheck(nullptr, request)); // no location
127 EXPECT_EQ(false, reportManager_->ResultCheck(location, nullptr)); // no request
128 EXPECT_EQ(false, reportManager_->ResultCheck(nullptr, nullptr)); // no location & no request
136 EXPECT_EQ(true, reportManager_->ResultCheck(location, request)); // no last location
141 EXPECT_EQ(true, reportManager_->ResultCheck(location, request)); // no need to check
145 reportManager_->ResultCheck(location, request); // time interval check failed
152 reportManager_->ResultCheck(location, request); // distance interval check failed
160 EXPECT_EQ(false, reportManager_->ResultCheck(location, request)); // acc check failed
189 reportManager_->ResultCheck(location, request); // check pass
/ohos5.0/base/location/test/fuzztest/locator/reportmanager_fuzzer/
H A Dreportmanager_fuzzer.cpp48 reportManager->ResultCheck(location, request); in ReportManagerFuzzerTest()
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dreport_manager.cpp145 if (!ResultCheck(finalLocation, request)) { in ProcessRequestForReport()
285 bool ReportManager::ResultCheck(const std::unique_ptr<Location>& location, in ResultCheck() function in OHOS::Location::ReportManager
400 if (!ResultCheck(finalLocation, request)) { in GetCacheLocation()
/ohos5.0/base/location/services/location_locator/locator/include/
H A Dreport_manager.h37 …bool ResultCheck(const std::unique_ptr<Location>& location, const std::shared_ptr<Request>& reques…