Home
last modified time | relevance | path

Searched refs:detectionDelay_ (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_monitor.cpp126 detectionDelay_ = MAX_FAILED_DETECTION_DELAY_MS; in ProcessDetection()
130 detectionDelay_ = CAPTIVE_PORTAL_DETECTION_DELAY_MS; in ProcessDetection()
134 detectionDelay_ *= DOUBLE; in ProcessDetection()
135 if (detectionDelay_ == 0) { in ProcessDetection()
136 detectionDelay_ = INIT_DETECTION_DELAY_MS; in ProcessDetection()
137 } else if (detectionDelay_ >= MAX_FAILED_DETECTION_DELAY_MS) { in ProcessDetection()
138 detectionDelay_ = MAX_FAILED_DETECTION_DELAY_MS; in ProcessDetection()
140 NETMGR_LOG_I("Net probe failed detectionDelay time [%{public}d]", detectionDelay_); in ProcessDetection()
151 detectionCond_.wait_for(locker, std::chrono::milliseconds(detectionDelay_)); in ProcessDetection()
/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnet_monitor.h109 uint32_t detectionDelay_ = 0; member in OHOS::NetManagerStandard::NetMonitor

Completed in 2 milliseconds