Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sock_l2cap.cc75 static std::mutex state_lock; variable
182 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 …]
/system/bt/bta/dm/
Dbta_dm_pm.cc273 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_start_timer() local
282 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() local
316 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() local
933 state_lock.unlock(); in bta_dm_pm_timer_cback()