Home
last modified time | relevance | path

Searched refs:GetSingleLocation (Results 1 - 6 of 6) sorted by relevance

/base/location/frameworks/cj/include/
H A Dlocator_callback.h68 inline std::shared_ptr<Location::Location> GetSingleLocation() in GetSingleLocation() function in OHOS::GeoLocationManager::LocatorCallback
/base/location/frameworks/cj/source/
H A Dlocator_callback.cpp91 if (GetSingleLocation() != nullptr) { in OnRemoteRequest()
H A Dgeolocationmanager_impl.cpp240 if (singleLocatorCallbackHost->GetSingleLocation() == nullptr) { in GetCurrentLocation()
248 singleLocatorCallbackHost->GetSingleLocation() == nullptr) { in GetCurrentLocation()
256 std::make_unique<Location::Location>(*singleLocatorCallbackHost->GetSingleLocation()); in GetCurrentLocation()
/base/location/frameworks/js/napi/include/
H A Dlocator_callback_napi.h130 inline std::shared_ptr<Location> GetSingleLocation() in GetSingleLocation() function in OHOS::Location::LocatorCallbackNapi
/base/location/frameworks/js/napi/source/
H A Dlocation_napi_event.cpp430 if (callbackHost->GetSingleLocation() == nullptr) { in GenerateExecuteContext()
437 if (callbackHost->GetCount() != 0 && callbackHost->GetSingleLocation() == nullptr) { in GenerateExecuteContext()
465 if (callbackHost != nullptr && callbackHost->GetSingleLocation() != nullptr) { in GenerateCompleteContext()
466 std::unique_ptr<Location> location = std::make_unique<Location>(*callbackHost->GetSingleLocation()); in GenerateCompleteContext()
H A Dlocator_callback_napi.cpp97 if (GetSingleLocation() != nullptr) { in OnRemoteRequest()

Completed in 6 milliseconds