Home
last modified time | relevance | path

Searched refs:initiator (Results 1 – 12 of 12) 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/gd/security/cert/
Dsecurity_test.py104 def _run_ssp_numeric_comparison(self, initiator, responder, init_ui_response, resp_ui_response, argument
107 initiator.enable_secure_simple_pairing()
109initiator.create_bond(responder.get_address(), common.BluetoothAddressTypeEnum.PUBLIC_DEVICE_ADDRE…
110 … self._verify_ssp_numeric_comparison(initiator, responder, init_ui_response, resp_ui_response,
115 … def _verify_ssp_numeric_comparison(self, initiator, responder, init_ui_response, resp_ui_response, argument
118 responder.accept_pairing(initiator.get_address(), resp_ui_response)
119 initiator.on_user_input(responder.get_address(), init_ui_response, expected_init_ui_event)
120 initiator.wait_for_bond_event(expected_init_bond_event)
141 initiator=self.dut_security,
155 initiator=self.dut_security,
[all …]
/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.cc703 (p_av_suspend->initiator ? "true" : "false")); in btif_a2dp_source_on_stopped()
704 if (p_av_suspend->initiator) { in btif_a2dp_source_on_stopped()
738 (p_av_suspend->initiator ? "true" : "false")); in btif_a2dp_source_on_suspended()
739 if (p_av_suspend->initiator) { in btif_a2dp_source_on_suspended()
Dbtif_av.cc1881 p_av->start.suspending, p_av->start.initiator, in ProcessEvent()
1953 .initiator = true, in ProcessEvent()
2134 p_av->suspend.initiator, peer_.FlagsToString().c_str()); in ProcessEvent()
2153 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()
1995 suspend_rsp.initiator = true; in bta_av_str_stopped()
2002 suspend_rsp.initiator = true; in bta_av_str_stopped()
2242 bool initiator = false; in bta_av_start_ok() local
2269 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/gd/proto/bluetooth/metrics/
Dbluetooth.proto237 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()