Searched refs:GetLastLocation (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | report_manager.cpp | 303 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 D | locator_ability.cpp | 1153 auto lastLocation = reportManager_->GetLastLocation(); in GetCacheLocation()
|
/ohos5.0/base/location/test/fuzztest/locator/reportmanager_fuzzer/ |
H A D | reportmanager_fuzzer.cpp | 50 reportManager->GetLastLocation(); in ReportManagerFuzzerTest()
|
/ohos5.0/base/location/frameworks/js/napi/include/ |
H A D | location_napi_adapter.h | 29 napi_value GetLastLocation(napi_env env, napi_callback_info info);
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | request.h | 50 sptr<Location> GetLastLocation();
|
/ohos5.0/base/location/services/location_locator/locator/include/ |
H A D | report_manager.h | 39 std::unique_ptr<Location> GetLastLocation();
|
/ohos5.0/base/location/test/fuzztest/locator/requestmanager_fuzzer/ |
H A D | requestmanager_fuzzer.cpp | 71 request->GetLastLocation(); in RequestFuzzerTest()
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | location_napi_entry.cpp | 230 DECLARE_NAPI_FUNCTION("getLastLocation", GetLastLocation), in Init() 284 DECLARE_NAPI_FUNCTION("getLastLocation", GetLastLocation), in InitManager()
|
H A D | location_napi_adapter.cpp | 31 napi_value GetLastLocation(napi_env env, napi_callback_info info) in GetLastLocation() function
|
/ohos5.0/base/location/test/location_locator/source/ |
H A D | report_manager_test.cpp | 198 reportManager_->GetLastLocation(); 221 EXPECT_NE(nullptr, reportManager_->GetLastLocation());
|
/ohos5.0/base/location/frameworks/location_common/common/source/ |
H A D | request.cpp | 176 sptr<Location> Request::GetLastLocation() in GetLastLocation() function in OHOS::Location::Request
|
/ohos5.0/base/location/test/location_manager/source/ |
H A D | request_manager_test.cpp | 118 EXPECT_NE(nullptr, request->GetLastLocation()); in VerifyRequestField()
|