Home
last modified time | relevance | path

Searched refs:GetLastLocation (Results 1 – 12 of 12) sorted by relevance

/base/location/services/location_locator/locator/source/
Dreport_manager.cpp175 if (request->GetLastLocation() == nullptr || request->GetRequestConfig() == nullptr) { in ResultCheck()
185 if (CommonUtils::DoubleEqual(request->GetLastLocation()->GetLatitude(), MIN_LATITUDE - 1)) { in ResultCheck()
190 …long deltaMs = (location->GetTimeSinceBoot() - request->GetLastLocation()->GetTimeSinceBoot()) / N… in ResultCheck()
200 request->GetLastLocation()->GetLatitude(), request->GetLastLocation()->GetLongitude()); in ResultCheck()
221 std::unique_ptr<Location> ReportManager::GetLastLocation() in GetLastLocation() function in OHOS::Location::ReportManager
Drequest.cpp122 sptr<Location> Request::GetLastLocation() in GetLastLocation() function in OHOS::Location::Request
Dlocator_ability.cpp848 auto lastLocation = reportManager_->GetLastLocation(); in GetCacheLocation()
/base/location/services/location_locator/locator/include/
Dreport_manager.h37 std::unique_ptr<Location> GetLastLocation();
Drequest.h47 sptr<Location> GetLastLocation();
/base/location/test/fuzztest/locator/reportmanager_fuzzer/
Dreportmanager_fuzzer.cpp50 reportManager->GetLastLocation(); in ReportManagerFuzzerTest()
/base/location/frameworks/js/napi/source/
Dlocation_napi_entry.cpp103 DECLARE_NAPI_FUNCTION("getLastLocation", GetLastLocation), in Init()
157 DECLARE_NAPI_FUNCTION("getLastLocation", GetLastLocation), in InitManager()
Dlocation_napi_adapter.cpp25 napi_value GetLastLocation(napi_env env, napi_callback_info info) in GetLastLocation() function
/base/location/frameworks/js/napi/include/
Dlocation_napi_adapter.h25 napi_value GetLastLocation(napi_env env, napi_callback_info info);
/base/location/test/fuzztest/locator/requestmanager_fuzzer/
Drequestmanager_fuzzer.cpp72 request->GetLastLocation(); in RequestFuzzerTest()
/base/location/test/location_locator/source/
Dreport_manager_test.cpp172 EXPECT_EQ(nullptr, reportManager_->GetLastLocation());
191 EXPECT_NE(nullptr, reportManager_->GetLastLocation());
Drequest_manager_test.cpp118 EXPECT_NE(nullptr, request->GetLastLocation()); in VerifyRequestField()