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.cc97 static std::mutex state_lock; variable
202 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 …]
/system/bt/bta/dm/
Dbta_dm_pm.cc279 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); in bta_dm_pm_start_timer() local
288 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() local
320 state_lock.unlock(); in bta_dm_pm_stop_timer_by_index()
866 std::unique_lock<std::recursive_mutex> state_lock(pm_timer_state_mutex); local
884 state_lock.unlock();