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.cc71 …suspending:" << logbool(p_av_start->suspending) << " initiator:" << logbool(p_av_start->initiator); in btif_a2dp_on_started()
85 if (p_av_start->initiator) { in btif_a2dp_on_started()
90 if (p_av_start->initiator) { in btif_a2dp_on_started()
96 } else if (p_av_start->initiator) { in btif_a2dp_on_started()
Dbtif_a2dp_source.cc680 if (p_av_suspend->initiator) { in btif_a2dp_source_on_stopped()
714 if (p_av_suspend->initiator) { in btif_a2dp_source_on_suspended()
Dbtif_av.cc1835 p_av->start.suspending, p_av->start.initiator, in ProcessEvent()
2057 p_av->suspend.initiator, peer_.FlagsToString().c_str()); in ProcessEvent()
2074 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.cc184 bool ConnectionHandler::AvrcpConnect(bool initiator, const RawAddress& bdaddr) { in AvrcpConnect() argument
188 if (initiator) { in AvrcpConnect()
198 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()
678 bool initiator = false; in bta_av_role_res() local
683 if (p_scb->role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_role_res()
696 start.initiator = initiator; in bta_av_role_res()
1976 suspend_rsp.initiator = true; in bta_av_str_stopped()
1983 suspend_rsp.initiator = true; in bta_av_str_stopped()
2221 bool initiator = false; in bta_av_start_ok() local
2248 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.h198 bool initiator; /* true, if local device initiates the START */ member
206 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()