Home
last modified time | relevance | path

Searched refs:conn_mutex_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp76 bool handleNewClientConnection(int fd) EXCLUDES(conn_mutex_);
79 std::mutex conn_mutex_; member in adbwifi::pairing::__anon1ee857250111::PairingServerImpl
91 std::deque<ConnectionEvent> conn_write_queue_ GUARDED_BY(conn_mutex_);
107 bool is_terminate_ GUARDED_BY(conn_mutex_) = false;
151 std::lock_guard<std::mutex> lock(conn_mutex_); in ~PairingServerImpl()
278 std::unique_lock<std::mutex> lock(conn_mutex_); in connectionEventsWorker()
279 ScopedLockAssertion assume_locked(conn_mutex_); in connectionEventsWorker()
290 conn_cv_.wait(lock, [this]() REQUIRES(conn_mutex_) { in connectionEventsWorker()
328 std::lock_guard<std::mutex> lock(p->conn_mutex_); in connectionEventsWorker()
385 std::lock_guard<std::mutex> lock(conn_mutex_); in handleNewClientConnection()
/packages/modules/adb/pairing_connection/
Dpairing_server.cpp80 bool HandleNewClientConnection(int fd) EXCLUDES(conn_mutex_);
83 std::mutex conn_mutex_; member
99 std::deque<ConnectionEvent> conn_write_queue_ GUARDED_BY(conn_mutex_);
117 bool is_terminate_ GUARDED_BY(conn_mutex_) = false;
168 std::lock_guard<std::mutex> lock(conn_mutex_); in ~PairingServerCtx()
311 std::lock_guard<std::mutex> lock(p->conn_mutex_); in PairingConnectionCallback()
322 std::unique_lock<std::mutex> lock(conn_mutex_); in ConnectionEventsWorker()
323 ScopedLockAssertion assume_locked(conn_mutex_); in ConnectionEventsWorker()
334 conn_cv_.wait(lock, [this]() REQUIRES(conn_mutex_) { in ConnectionEventsWorker()
415 std::lock_guard<std::mutex> lock(conn_mutex_); in HandleNewClientConnection()