Home
last modified time | relevance | path

Searched refs:latch (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dprobe_thread_test.cpp31 std::shared_ptr<TinyCountDownLatch> latch = std::make_shared<TinyCountDownLatch>(2); member
41 latch, latchAll, PROBE_HTTP, "http://test/", "https://test/");
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_monitor.cpp168 std::shared_ptr<TinyCountDownLatch> latch = std::make_shared<TinyCountDownLatch>(ONE_URL_DETECT_NUM); in SendProbe() local
171 netId_, netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTP, httpUrl_, httpsUrl_); in SendProbe()
173 netId_, netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTPS, httpUrl_, httpsUrl_); in SendProbe()
182 latch->Await(std::chrono::milliseconds(PRIMARY_DETECTION_RESULT_WAIT_MS)); in SendProbe()
195 netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTP, fallbackHttpUrl_, fallbackHttpsUrl_); in SendProbe()
197 netBearType_, netLinkInfo_, latch, latchAll, ProbeType::PROBE_HTTPS, fallbackHttpUrl_, fallbackHttpsUrl_); in SendProbe()
H A Dprobe_thread.cpp55 std::shared_ptr<TinyCountDownLatch> latch, std::shared_ptr<TinyCountDownLatch> latchAll, in ProbeThread()
57 : netId_(netId), probeType_(probeType), latch_(latch), latchAll_(latchAll), httpProbeUrl_(httpUrl), in ProbeThread()
54 ProbeThread(uint32_t netId, NetBearType bearType, const NetLinkInfo &netLinkInfo, std::shared_ptr<TinyCountDownLatch> latch, std::shared_ptr<TinyCountDownLatch> latchAll, ProbeType probeType, std::string httpUrl, std::string httpsUrl) ProbeThread() argument
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dprobe_thread.h40 std::shared_ptr<TinyCountDownLatch> latch, std::shared_ptr<TinyCountDownLatch> latchAll,

Completed in 2 milliseconds