Home
last modified time | relevance | path

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

12

/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/FiraRangingTests/
Dranging_test.py72 self.initiator, self.responder = self.uwb_devices
96 self.initiator.close_all_ranging_sessions()
101 self, initiator: uwb_ranging_decorator.UwbRangingDecorator,
117 initiator.open_fira_ranging(initiator_params, session=session)
119 initiator.start_fira_ranging(session=session)
121 uwb_test_utils.verify_peer_found(initiator, peer_addr, session=session)
124 self, initiator: uwb_ranging_decorator.UwbRangingDecorator,
142 initiator.open_fira_ranging(initiator_params)
143 initiator.start_fira_ranging()
154 uwb_test_utils.verify_peer_found(initiator, peer_addr)
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/gd/security/
Dsecurity_test.py119 def _run_ssp_numeric_comparison(self, initiator, responder, init_ui_response, resp_ui_response, argument
122 initiator.enable_secure_simple_pairing()
124initiator.create_bond(responder.get_address(), common.BluetoothAddressTypeEnum.PUBLIC_DEVICE_ADDRE…
125 … self._verify_ssp_numeric_comparison(initiator, responder, init_ui_response, resp_ui_response,
130 … def _verify_ssp_numeric_comparison(self, initiator, responder, init_ui_response, resp_ui_response, argument
135initiator.on_user_input(responder.get_address(), init_ui_response, expected_init_ui_event)
137 …responder.accept_pairing(initiator.get_address(), resp_ui_response, init_ui_response, on_responder…
138 initiator.wait_for_bond_event(expected_init_bond_event)
141 …def _run_ssp_oob(self, initiator, responder, init_ui_response, resp_ui_response, expected_init_ui_… argument
144 initiator.enable_secure_simple_pairing()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Drfcdefs.h95 #define RFCOMM_FRAME_IS_CMD(initiator, cr) \ argument
96 (((initiator) && !(cr)) || (!(initiator) && (cr)))
98 #define RFCOMM_FRAME_IS_RSP(initiator, cr) \ argument
99 (((initiator) && (cr)) || (!(initiator) && !(cr)))
101 #define RFCOMM_CR(initiator, is_command) \ argument
102 ((((initiator) && (is_command)) || (!(initiator) && !(is_command))) << 1)
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dinformational.rs148 let initiator = self.acl_state.into(); in report_connection_start() localVariable
149 acl.report_start(initiator, ts); in report_connection_start()
198 initiator: InitiatorType, field
211 initiator: InitiatorType::Unknown, in new()
219 fn report_start(&mut self, initiator: InitiatorType, ts: NaiveDateTime) { in report_start()
220 self.initiator = initiator; in report_start()
237 initiator: InitiatorType, in report_profile_start()
241 profile.report_start(initiator, ts); in report_profile_start()
266 initiator: InitiatorType, in report_l2cap_conn_req()
269 if initiator == InitiatorType::Host { in report_l2cap_conn_req()
[all …]
/packages/modules/Bluetooth/system/blueberry/tests/connectivity/
Dbluetooth_pairing_test.py67 for initiator, receiver in device_list:
74 initiator.set_target(receiver)
76 initiator.pair_and_connect_bluetooth(mac_address)
77 if self.allow_pairing_reverse and initiator != self.derived_bt_device:
80 initiator.factory_reset_bluetooth()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp.cc94 p_av_start->status, p_av_start->suspending, p_av_start->initiator); in btif_a2dp_on_started()
109 if (p_av_start->initiator) { in btif_a2dp_on_started()
114 if (p_av_start->initiator) { in btif_a2dp_on_started()
120 } else if (p_av_start->initiator) { in btif_a2dp_on_started()
Dbtif_a2dp_source.cc733 p_av_suspend->status, p_av_suspend->initiator); in btif_a2dp_source_on_stopped()
734 if (p_av_suspend->initiator) { in btif_a2dp_source_on_stopped()
770 p_av_suspend->status, p_av_suspend->initiator); in btif_a2dp_source_on_suspended()
771 if (p_av_suspend->initiator) { in btif_a2dp_source_on_suspended()
/packages/modules/Uwb/generic_ranging/tests/multidevices/uwb/
Duwb_tests.py58 self.initiator, self.responder = self.uwb_devices
103 self.initiator.start_uwb_ranging(initiator_params)
107 self.initiator.stop_uwb_ranging(initiator_params)
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/
Dsecure_simple_pairing.rs53 initiator: AuthenticationParams, in authentication_method()
59 if initiator.oob_data_present != NotPresent || responder.oob_data_present != NotPresent { in authentication_method()
61 } else if !has_mitm(initiator.authentication_requirements) in authentication_method()
65 } else if (initiator.io_capability == KeyboardOnly in authentication_method()
67 || (responder.io_capability == KeyboardOnly && initiator.io_capability != NoInputNoOutput) in authentication_method()
70 } else if initiator.io_capability == DisplayYesNo && responder.io_capability == DisplayYesNo { in authentication_method()
334 let initiator = { in initiate() localVariable
430 let auth_method = authentication_method(initiator, responder); in initiate()
447 let confirm = if initiator.io_capability == hci::IoCapability::KeyboardOnly { in initiate()
500 if initiator.oob_data_present != hci::OobDataPresent::NotPresent { in initiate()
[all …]
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics.cc253 (int)event.initiator, in LogMetricsAclConnectionStateChanged()
264 .SetConnectionInitiator(event.initiator) in LogMetricsAclConnectionStateChanged()
276 (int)event.initiator, in LogMetricsAclConnectionStateChanged()
287 .SetConnectionInitiator(event.initiator) in LogMetricsAclConnectionStateChanged()
Dmetrics_event.h228 int64_t initiator; member
Dmetrics_event.cc609 event.initiator = (int64_t)MetricAclConnectionInitiator::ACL_CONNECTION_INITIATOR_SYSTEM; in ToAclConnectionEvent()
624 event.initiator = (int64_t)MetricAclConnectionInitiator::ACL_CONNECTION_INITIATOR_CLIENT; in ToAclConnectionEvent()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc257 .initiator = true, in notify_start_failed()
432 p_msg->initiator = false; in bta_av_proc_stream_evt()
433 if (event == AVDT_SUSPEND_CFM_EVT) p_msg->initiator = true; in bta_av_proc_stream_evt()
639 bool initiator = false; in bta_av_role_res() local
643 if (p_scb->role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_role_res()
658 .initiator = initiator, in bta_av_role_res()
2019 suspend_rsp.initiator = true; in bta_av_str_stopped()
2026 suspend_rsp.initiator = true; in bta_av_str_stopped()
2274 bool initiator = false; in bta_av_start_ok() local
2300 if (new_role & BTA_AV_ROLE_START_INT) initiator = true; in bta_av_start_ok()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/rust/test/SP/
DBV-15bis-C.in1 // Passkey entry initiator, negative reply on responding side:
3 // - IUT is DisplayOnly, initiator
DBV-14bis-C.in4 // - Lower Tester is Display, initiator
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAppScanStats.java650 String initiator = name; in truncateAppName() local
651 String[] nameSplit = initiator.split("\\."); in truncateAppName()
653 initiator = nameSplit[0] + "." + nameSplit[1] + "." + nameSplit[2]; in truncateAppName()
655 initiator = nameSplit[0] + "." + nameSplit[1]; in truncateAppName()
658 return initiator; in truncateAppName()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java64 public static Intent getPairingDialogIntent(Context context, Intent intent, int initiator) { in getPairingDialogIntent() argument
78 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_INITIATOR, initiator); in getPairingDialogIntent()
/packages/modules/Bluetooth/system/bta/include/
Dbta_av_api.h201 bool initiator; /* true, if local device initiates the START */ member
209 bool initiator; /* true, if local device initiates the SUSPEND */ member
/packages/modules/Bluetooth/system/profile/avrcp/
Dconnection_handler.h155 virtual bool AvrcpConnect(bool initiator, const RawAddress& bdaddr);
Dconnection_handler.cc214 bool ConnectionHandler::AvrcpConnect(bool initiator, const RawAddress& bdaddr) { in AvrcpConnect() argument
218 if (initiator) { in AvrcpConnect()
228 open_cb.conn = initiator ? AVRC_CONN_INT in AvrcpConnect()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h332 ConnectionCompleteView connection_complete, Role current_role, Initiator initiator) { in create_and_announce_connection()
345 initiator == Initiator::LOCALLY_INITIATED)); in create_and_announce_connection()
354 connection->locally_initiated_ = initiator == Initiator::LOCALLY_INITIATED; in create_and_announce_connection()
/packages/modules/Bluetooth/system/stack/avct/
Davct_l2c_br.cc237 void avct_l2c_br_config_cfm_cback(uint16_t lcid, uint16_t initiator, in avct_l2c_br_config_cfm_cback() argument
Davct_l2c.cc262 void avct_l2c_config_cfm_cback(uint16_t lcid, uint16_t initiator, in avct_l2c_config_cfm_cback() argument
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_l2c.cc300 void avdt_l2c_config_cfm_cback(uint16_t lcid, uint16_t initiator, in avdt_l2c_config_cfm_cback() argument
/packages/modules/Bluetooth/system/stack/fuzzers/
Dsdp_fuzzer.cc52 .pL2CA_ConfigCfm_Cb = [](uint16_t lcid, uint16_t initiator,

12