Home
last modified time | relevance | path

Searched refs:initiator (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/include/
Drfcdefs.h92 #define RFCOMM_FRAME_IS_CMD(initiator, cr) \ argument
93 (((initiator) && !(cr)) || (!(initiator) && (cr)))
95 #define RFCOMM_FRAME_IS_RSP(initiator, cr) \ argument
96 (((initiator) && (cr)) || (!(initiator) && !(cr)))
98 #define RFCOMM_CR(initiator, is_command) \ argument
99 ((((initiator) && (is_command)) || (!(initiator) && !(is_command))) << 1)
/system/bt/btif/src/
Dbtif_a2dp.cc72 …suspending:" << logbool(p_av_start->suspending) << " initiator:" << logbool(p_av_start->initiator); in btif_a2dp_on_started()
86 if (p_av_start->initiator) { in btif_a2dp_on_started()
91 if (p_av_start->initiator) { in btif_a2dp_on_started()
97 } else if (p_av_start->initiator) { in btif_a2dp_on_started()
Dbtif_a2dp_source.cc718 (p_av_suspend->initiator ? "true" : "false")); in btif_a2dp_source_on_stopped()
719 if (p_av_suspend->initiator) { in btif_a2dp_source_on_stopped()
754 (p_av_suspend->initiator ? "true" : "false")); in btif_a2dp_source_on_suspended()
755 if (p_av_suspend->initiator) { in btif_a2dp_source_on_suspended()
Dbtif_av.cc1892 p_av->start.suspending, p_av->start.initiator, in ProcessEvent()
1964 .initiator = true, in ProcessEvent()
2146 p_av->suspend.initiator, peer_.FlagsToString().c_str()); in ProcessEvent()
2165 if (p_av->suspend.initiator != true) { in ProcessEvent()
/system/bt/profile/avrcp/
Dconnection_handler.h142 virtual bool AvrcpConnect(bool initiator, const RawAddress& bdaddr);
Dconnection_handler.cc183 bool ConnectionHandler::AvrcpConnect(bool initiator, const RawAddress& bdaddr) { in AvrcpConnect() argument
187 if (initiator) { in AvrcpConnect()
197 open_cb.conn = initiator ? AVRC_CONN_INT in AvrcpConnect()
/system/bt/bta/av/
Dbta_av_aact.cc304 start.initiator = true; in notify_start_failed()
477 p_msg->initiator = false; in bta_av_proc_stream_evt()
478 if (event == AVDT_SUSPEND_CFM_EVT) p_msg->initiator = true; in bta_av_proc_stream_evt()
689 bool initiator = false; in bta_av_role_res() local
694 if (p_scb->role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_role_res()
707 start.initiator = initiator; in bta_av_role_res()
2000 suspend_rsp.initiator = true; in bta_av_str_stopped()
2007 suspend_rsp.initiator = true; in bta_av_str_stopped()
2247 bool initiator = false; in bta_av_start_ok() local
2275 if (new_role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_start_ok()
[all …]
Dbta_av_int.h336 bool initiator; /* true, if local device initiates the SUSPEND */ member
/system/bt/bta/include/
Dbta_av_api.h200 bool initiator; /* true, if local device initiates the START */ member
208 bool initiator; /* true, if local device initiates the SUSPEND */ member
/system/bt/proto/bluetooth/metrics/
Dbluetooth.proto241 optional string initiator = 2; field
/system/bt/common/
Dmetrics_unittest.cc97 const std::string& initiator, in MakeScanEvent() argument
102 event->set_initiator(initiator); in MakeScanEvent()