Searched refs:state_lock (Results 1 – 2 of 2) sorted by relevance
97 static std::mutex state_lock; variable202 std::unique_lock<std::mutex> lock(state_lock); in is_inited()353 std::unique_lock<std::mutex> lock(state_lock); in btsock_l2cap_init()361 std::unique_lock<std::mutex> lock(state_lock); in btsock_l2cap_cleanup()400 std::unique_lock<std::mutex> lock(state_lock); in on_srv_l2cap_listen_started()437 std::unique_lock<std::mutex> lock(state_lock); in on_cl_l2cap_init()612 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_connect()640 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_close()665 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_outgoing_congest()679 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_write_done()[all …]
279 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_start_timer() local288 state_lock.unlock(); in bta_dm_pm_start_timer()309 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_stop_timer_by_index() local320 state_lock.unlock(); in bta_dm_pm_stop_timer_by_index()866 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); local884 state_lock.unlock();