Home
last modified time | relevance | path

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

/ohos5.0/base/location/services/location_locator/locator/source/
H A Dreport_manager.cpp303 if (request->GetLastLocation() == nullptr || request->GetRequestConfig() == nullptr) { in ResultCheck()
313 if (CommonUtils::DoubleEqual(request->GetLastLocation()->GetLatitude(), MIN_LATITUDE - 1) || in ResultCheck()
314 request->GetLastLocation()->GetIsFromMock() != location->GetIsFromMock()) { in ResultCheck()
319 …long deltaMs = (location->GetTimeSinceBoot() - request->GetLastLocation()->GetTimeSinceBoot()) / N… in ResultCheck()
329 request->GetLastLocation()->GetLatitude(), request->GetLastLocation()->GetLongitude()); in ResultCheck()
363 std::unique_ptr<Location> ReportManager::GetLastLocation() in GetLastLocation() function in OHOS::Location::ReportManager
H A Dlocator_ability.cpp1153 auto lastLocation = reportManager_->GetLastLocation(); in GetCacheLocation()
/ohos5.0/base/location/test/fuzztest/locator/reportmanager_fuzzer/
H A Dreportmanager_fuzzer.cpp50 reportManager->GetLastLocation(); in ReportManagerFuzzerTest()
/ohos5.0/base/location/frameworks/js/napi/include/
H A Dlocation_napi_adapter.h29 napi_value GetLastLocation(napi_env env, napi_callback_info info);
/ohos5.0/base/location/interfaces/inner_api/include/
H A Drequest.h50 sptr<Location> GetLastLocation();
/ohos5.0/base/location/services/location_locator/locator/include/
H A Dreport_manager.h39 std::unique_ptr<Location> GetLastLocation();
/ohos5.0/base/location/test/fuzztest/locator/requestmanager_fuzzer/
H A Drequestmanager_fuzzer.cpp71 request->GetLastLocation(); in RequestFuzzerTest()
/ohos5.0/base/location/frameworks/js/napi/source/
H A Dlocation_napi_entry.cpp230 DECLARE_NAPI_FUNCTION("getLastLocation", GetLastLocation), in Init()
284 DECLARE_NAPI_FUNCTION("getLastLocation", GetLastLocation), in InitManager()
H A Dlocation_napi_adapter.cpp31 napi_value GetLastLocation(napi_env env, napi_callback_info info) in GetLastLocation() function
/ohos5.0/base/location/test/location_locator/source/
H A Dreport_manager_test.cpp198 reportManager_->GetLastLocation();
221 EXPECT_NE(nullptr, reportManager_->GetLastLocation());
/ohos5.0/base/location/frameworks/location_common/common/source/
H A Drequest.cpp176 sptr<Location> Request::GetLastLocation() in GetLastLocation() function in OHOS::Location::Request
/ohos5.0/base/location/test/location_manager/source/
H A Drequest_manager_test.cpp118 EXPECT_NE(nullptr, request->GetLastLocation()); in VerifyRequestField()