Home
last modified time | relevance | path

Searched refs:latch_ (Results 1 - 8 of 8) sorted by relevance

/base/location/frameworks/cj/source/
H A Dlocator_callback.cpp48 latch_ = new Location::CountDownLatch(); in InitLatch()
49 latch_->SetCount(1); in InitLatch()
54 delete latch_; in ~LocatorCallback()
130 if (IsSingleLocationRequest() && latch_ != nullptr) { in CountDown()
131 latch_->CountDown(); in CountDown()
137 if (IsSingleLocationRequest() && latch_ != nullptr) { in Wait()
138 latch_->Wait(time); in Wait()
144 if (IsSingleLocationRequest() && latch_ != nullptr) { in GetCount()
145 return latch_->GetCount(); in GetCount()
152 if (IsSingleLocationRequest() && latch_ ! in SetCount()
[all...]
/base/location/frameworks/js/napi/source/
H A Dlocation_gnss_geofence_callback_napi.cpp44 if (latch_ != nullptr) { in ~LocationGnssGeofenceCallbackNapi()
45 delete latch_; in ~LocationGnssGeofenceCallbackNapi()
46 latch_ = nullptr; in ~LocationGnssGeofenceCallbackNapi()
52 latch_ = new CountDownLatch(); in InitLatch()
53 latch_->SetCount(1); in InitLatch()
264 if (latch_ != nullptr) { in CountDown()
265 latch_->CountDown(); in CountDown()
271 if (latch_ != nullptr) { in Wait()
272 latch_->Wait(time); in Wait()
278 if (latch_ ! in GetCount()
[all...]
H A Dlocating_required_data_callback_napi.cpp39 if (latch_ != nullptr) { in ~LocatingRequiredDataCallbackNapi()
40 delete latch_; in ~LocatingRequiredDataCallbackNapi()
41 latch_ = nullptr; in ~LocatingRequiredDataCallbackNapi()
47 latch_ = new CountDownLatch(); in InitLatch()
48 latch_->SetCount(1); in InitLatch()
261 if (IsSingleLocationRequest() && latch_ != nullptr) { in CountDown()
262 latch_->CountDown(); in CountDown()
268 if (IsSingleLocationRequest() && latch_ != nullptr) { in Wait()
269 latch_->Wait(time); in Wait()
275 if (IsSingleLocationRequest() && latch_ ! in GetCount()
[all...]
H A Dlocator_callback_napi.cpp54 latch_ = new CountDownLatch(); in InitLatch()
55 latch_->SetCount(1); in InitLatch()
60 delete latch_; in ~LocatorCallbackNapi()
391 if (IsSingleLocationRequest() && latch_ != nullptr) { in CountDown()
392 latch_->CountDown(); in CountDown()
398 if (IsSingleLocationRequest() && latch_ != nullptr) { in Wait()
399 latch_->Wait(time); in Wait()
405 if (IsSingleLocationRequest() && latch_ != nullptr) { in GetCount()
406 return latch_->GetCount(); in GetCount()
413 if (IsSingleLocationRequest() && latch_ ! in SetCount()
[all...]
/base/location/frameworks/cj/include/
H A Dlocator_callback.h88 Location::CountDownLatch* latch_; member in OHOS::GeoLocationManager::LocatorCallback
/base/location/interfaces/inner_api/include/
H A Dlocation_gnss_geofence_callback_napi.h90 CountDownLatch* latch_; member in OHOS::Location::LocationGnssGeofenceCallbackNapi
/base/location/frameworks/js/napi/include/
H A Dlocating_required_data_callback_napi.h100 CountDownLatch* latch_; member in OHOS::Location::LocatingRequiredDataCallbackNapi
H A Dlocator_callback_napi.h147 CountDownLatch* latch_; member in OHOS::Location::LocatorCallbackNapi

Completed in 4 milliseconds