Home
last modified time | relevance | path

Searched refs:CJLocation (Results 1 - 7 of 7) sorted by relevance

/base/location/frameworks/cj/include/
H A Dgeolocationmanager_impl.h29 CJLocation GetLastLocation(int32_t& errCode);
37 CJLocation GetCurrentLocation(int32_t& errCode);
39 CJLocation GetCurrentLocationCurrent(CJCurrentLocationRequest request, int32_t& errCode);
41 CJLocation GetCurrentLocationSingle(CJSingleLocationRequest request, int32_t& errCode);
43 CJLocation GetCurrentLocation(std::unique_ptr<Location::RequestConfig>& requestConfig, int32_t& errCode);
H A Dgeolocationmanager_ffi.h30 FFI_EXPORT CJLocation FfiOHOSGeoLocationManagerGetLastLocation(int32_t* errCode);
38 FFI_EXPORT CJLocation FfiOHOSGeoLocationManagerGetCurrentLocation(int32_t* errCode);
40 FFI_EXPORT CJLocation FfiOHOSGeoLocationManagerGetCurrentLocationCurrent(CJCurrentLocationRequest request,
43 FFI_EXPORT CJLocation FfiOHOSGeoLocationManagerGetCurrentLocationSingle(CJSingleLocationRequest request,
H A Dgeolocationmanager_utils.h36 struct CJLocation { struct
154 CJLocation* head;
185 CJLocation NativeLocationToCJLocation(const Location::Location& loc);
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_ffi.cpp22 CJLocation FfiOHOSGeoLocationManagerGetLastLocation(int32_t* errCode) in FfiOHOSGeoLocationManagerGetLastLocation()
42 CJLocation FfiOHOSGeoLocationManagerGetCurrentLocation(int32_t* errCode) in FfiOHOSGeoLocationManagerGetCurrentLocation()
47 CJLocation FfiOHOSGeoLocationManagerGetCurrentLocationCurrent(CJCurrentLocationRequest request, int32_t* errCode) in FfiOHOSGeoLocationManagerGetCurrentLocationCurrent()
52 CJLocation FfiOHOSGeoLocationManagerGetCurrentLocationSingle(CJSingleLocationRequest request, int32_t* errCode) in FfiOHOSGeoLocationManagerGetCurrentLocationSingle()
H A Dgeolocationmanager_impl.cpp128 CJLocation GetLastLocation(int32_t& errCode) in GetLastLocation()
132 return CJLocation{0}; in GetLastLocation()
140 return CJLocation{0}; in GetLastLocation()
183 CJLocation GetCurrentLocation(int32_t& errCode) in GetCurrentLocation()
191 return CJLocation{0}; in GetCurrentLocation()
196 CJLocation GetCurrentLocationCurrent(CJCurrentLocationRequest request, int32_t& errCode) in GetCurrentLocationCurrent()
203 CJLocation GetCurrentLocationSingle(CJSingleLocationRequest request, int32_t& errCode) in GetCurrentLocationSingle()
210 CJLocation GetCurrentLocation(std::unique_ptr<Location::RequestConfig>& requestConfig, int32_t& errCode) in GetCurrentLocation()
214 return CJLocation{0}; in GetCurrentLocation()
219 return CJLocation{ in GetCurrentLocation()
[all...]
H A Dgeolocationmanager_utils.cpp67 CJLocation NativeLocationToCJLocation(const Location::Location& loc) in NativeLocationToCJLocation()
69 return CJLocation{ .latitude = loc.GetLatitude(), .longitude = loc.GetLongitude(), in NativeLocationToCJLocation()
246 CJLocation* head = static_cast<CJLocation*>(malloc(sizeof(CJLocation) * locations.size())); in LocationVectorToCJLocationArr()
H A Dlocator_callback.cpp41 auto cFunc = reinterpret_cast<void(*)(CJLocation location)>(callbackId); in LocatorCallback()

Completed in 4 milliseconds