Searched refs:state_lock (Results 1 – 2 of 2) sorted by relevance
75 static std::mutex state_lock; variable182 std::unique_lock<std::mutex> lock(state_lock); in is_inited()325 std::unique_lock<std::mutex> lock(state_lock); in btsock_l2cap_init()333 std::unique_lock<std::mutex> lock(state_lock); in btsock_l2cap_cleanup()372 std::unique_lock<std::mutex> lock(state_lock); in on_srv_l2cap_listen_started()409 std::unique_lock<std::mutex> lock(state_lock); in on_cl_l2cap_init()509 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_connect()533 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_close()560 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_outgoing_congest()578 std::unique_lock<std::mutex> lock(state_lock); in on_l2cap_write_done()[all …]
273 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_start_timer() local282 state_lock.unlock(); in bta_dm_pm_start_timer()303 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_stop_timer_by_index() local316 state_lock.unlock(); in bta_dm_pm_stop_timer_by_index()915 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_timer_cback() local933 state_lock.unlock(); in bta_dm_pm_timer_cback()