Home
last modified time | relevance | path

Searched defs:RawAddress (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dmetrics.rs10 type RawAddress = crate::btif::RawAddress; typedef
17 fn bond_create_attempt(bt_addr: RawAddress, device_type: u32); in bond_create_attempt()
19 bt_addr: RawAddress, in bond_state_changed()
26 bt_addr: RawAddress, in device_info_report()
36 bt_addr: RawAddress, in profile_connection_state_changed()
41 fn acl_connect_attempt(addr: RawAddress, acl_state: u32); in acl_connect_attempt()
43 bt_addr: RawAddress, in acl_connection_state_changed()
57 pub fn bond_create_attempt(addr: RawAddress, device_type: BtDeviceType) { in bond_create_attempt()
62 addr: RawAddress, in bond_state_changed()
78 addr: RawAddress, in device_info_report()
[all …]
Dcontroller.rs5 type RawAddress = crate::btif::RawAddress; typedef
14 fn read_local_addr(self: &ControllerIntf) -> RawAddress; in read_local_addr()
Dbtif.rs785 pub type RawAddress = bindings::RawAddress; typedef
788 unsafe impl ExternType for RawAddress { implementation
793 impl Hash for RawAddress { implementation
800 impl ToString for RawAddress { implementation
814 impl RawAddress { impl
816 pub fn from_bytes(raw_addr: &[u8]) -> Option<RawAddress> { in from_bytes()
825 pub fn from_string<S: Into<String>>(addr: S) -> Option<RawAddress> { in from_string()
1153 addr: &mut RawAddress, in get_remote_device_property()
1163 addr: &mut RawAddress, in set_remote_device_property()
1172 pub fn get_remote_services(&self, addr: &mut RawAddress, transport: BtTransport) -> i32 { in get_remote_services()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_has_client.cc84 void SelectActivePreset(std::variant<RawAddress, int> addr_or_group_id, in SelectActivePreset()
95 std::variant<RawAddress, int> addr_or_group_id) override { in NextActivePreset()
104 std::variant<RawAddress, int> addr_or_group_id) override { in PreviousActivePreset()
121 void SetPresetName(std::variant<RawAddress, int> addr_or_group_id, in SetPresetName()
172 void OnActivePresetSelected(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelected()
182 void OnActivePresetSelectError(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelectError()
193 void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfo()
211 void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfoError()
222 void OnSetPresetNameError(std::variant<RawAddress, int> addr_or_group_id, in OnSetPresetNameError()
Dbtif_vc.cc159 void SetVolume(std::variant<RawAddress, int> addr_or_group_id, in SetVolume()
175 void Mute(std::variant<RawAddress, int> addr_or_group_id) override { in Mute()
190 void Unmute(std::variant<RawAddress, int> addr_or_group_id) override { in Unmute()
Dbtif_gatt_test.cc70 static void btif_test_connect_cback(tGATT_IF, const RawAddress&, in btif_test_connect_cback()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhfp.rs72 type RawAddress = crate::btif::RawAddress; typedef
129 bt_addr: RawAddress, in connect_audio()
140 addr: RawAddress, in device_status_notification()
146 addr: RawAddress, in indicator_query_response()
151 addr: RawAddress, in current_calls_query_response()
157 addr: RawAddress, in phone_state_change()
164 fn hfp_connection_state_callback(state: u32, addr: RawAddress); in hfp_connection_state_callback()
165 fn hfp_audio_state_callback(state: u32, addr: RawAddress); in hfp_audio_state_callback()
166 fn hfp_volume_update_callback(volume: u8, addr: RawAddress); in hfp_volume_update_callback()
167 fn hfp_battery_level_update_callback(battery_level: u8, addr: RawAddress); in hfp_battery_level_update_callback()
[all …]
Da2dp.rs149 type RawAddress = crate::btif::RawAddress; typedef
192 fn set_silence_device(self: &A2dpIntf, bt_addr: RawAddress, silent: bool) -> i32; in set_silence_device()
196 bt_addr: RawAddress, in config_codec()
216 fn connection_state_callback(addr: RawAddress, state: u32, error: A2dpError); in connection_state_callback()
217 fn audio_state_callback(addr: RawAddress, state: u32); in audio_state_callback()
219 addr: RawAddress, in audio_config_callback()
224 fn mandatory_codec_preferred_callback(addr: RawAddress); in mandatory_codec_preferred_callback()
227 fn sink_audio_config_callback(addr: RawAddress, sample_rate: u32, channel_count: u8); in sink_audio_config_callback()
228 fn sink_connection_state_callback(addr: RawAddress, state: u32, error: A2dpError); in sink_connection_state_callback()
229 fn sink_audio_state_callback(addr: RawAddress, state: u32); in sink_audio_state_callback()
[all …]
Dhid_host.rs251 pub fn set_info(&self, addr: &mut RawAddress, info: BthhHidInfo) -> BtStatus { in set_info()
257 pub fn get_protocol(&self, addr: &mut RawAddress, mode: BthhProtocolMode) -> BtStatus { in get_protocol()
268 pub fn set_protocol(&self, addr: &mut RawAddress, mode: BthhProtocolMode) -> BtStatus { in set_protocol()
285 pub fn set_idle_time(&self, addr: &mut RawAddress, idle_time: u8) -> BtStatus { in set_idle_time()
293 addr: &mut RawAddress, in get_report()
312 addr: &mut RawAddress, in get_report_reply()
331 addr: &mut RawAddress, in set_report()
347 pub fn send_data(&mut self, addr: &mut RawAddress, data: &mut [u8]) -> BtStatus { in send_data()
Davrcp.rs25 type RawAddress = crate::btif::RawAddress; typedef
54 fn avrcp_device_connected(addr: RawAddress, absolute_volume_enabled: bool); in avrcp_device_connected()
55 fn avrcp_device_disconnected(addr: RawAddress); in avrcp_device_disconnected()
58 fn avrcp_set_active_device(addr: RawAddress); in avrcp_set_active_device()
307 addr: RawAddress, in send_pass_through_cmd()
Dgatt.rs31 type RawAddress = crate::btif::RawAddress; typedef
150 bt_addr: RawAddress, in server_read_phy()
156 fn read_phy_callback(client_if: i32, addr: RawAddress, tx_phy: u8, rx_phy: u8, status: u8); in read_phy_callback()
160 addr: RawAddress, in server_read_phy_callback()
227 address: RawAddress, in StartSync()
232 fn CancelCreateSync(self: Pin<&mut BleScannerIntf>, sid: u8, address: RawAddress); in CancelCreateSync()
235 address: RawAddress, in TransferSync()
241 address: RawAddress, in TransferSetInfo()
247 address: RawAddress, in SyncTxParameters()
266 addr: *const RawAddress, in gdscan_on_scan_result()
[all …]
/packages/modules/Bluetooth/system/common/
Dmetric_id_allocator_unittest.cc56 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
67 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
80 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
96 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
118 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
143 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
144 const int) { in TEST()
196 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
197 const int) { in TEST()
333 MetricIdAllocator::Callback forget_callback = [pointer](const RawAddress&, in TEST()
[all …]
/packages/modules/Bluetooth/system/types/
Draw_address.cc33 RawAddress::RawAddress(const uint8_t (&addr)[6]) { in RawAddress() function in RawAddress
37 RawAddress::RawAddress(const std::array<uint8_t, kLength> mac) { in RawAddress() function in RawAddress
/packages/modules/Bluetooth/system/gd/rust/topshim/common/
Dtype_alias.h34 using RawAddress = ::RawAddress; variable
/packages/modules/Bluetooth/system/btif/include/
Dbtif_rc.h23 class RawAddress; variable
/packages/modules/Bluetooth/system/stack/test/eatt/
Deatt_test.cc71 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in ConnectDeviceEattSupported()
132 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in ConnectDeviceBothSides()
303 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
338 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
425 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
632 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs659 fn update_local_address(&mut self, addr: &RawAddress) { in update_local_address()
1056 remote_addr: RawAddress, in ssp_request()
1068 addr: RawAddress, in bond_state()
1078 addr: RawAddress, in remote_device_properties_changed()
1088 addr: RawAddress, in acl_state()
1103 remote_addr: RawAddress, in pin_request()
1114 fn connection_state(&mut self, address: RawAddress, state: BthhConnectionState); in connection_state()
1117 fn hid_info(&mut self, address: RawAddress, info: BthhHidInfo); in hid_info()
1120 fn protocol_mode(&mut self, address: RawAddress, status: BthhStatus, mode: BthhProtocolMode); in protocol_mode()
1123 fn idle_time(&mut self, address: RawAddress, status: BthhStatus, idle_rate: i32); in idle_time()
[all …]
Dbluetooth_media.rs315 fn is_profile_connected(&self, addr: &RawAddress, profile: &uuid::Profile) -> bool { in is_profile_connected()
319 fn is_any_profile_connected(&self, addr: &RawAddress, profiles: &[uuid::Profile]) -> bool { in is_any_profile_connected()
327 fn add_connected_profile(&mut self, addr: RawAddress, profile: uuid::Profile) { in add_connected_profile()
340 addr: RawAddress, in rm_connected_profile()
925 fn notify_critical_profile_disconnected(&mut self, addr: RawAddress) { in notify_critical_profile_disconnected()
964 _fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in wait_retry()
965 device_states: &Arc<Mutex<HashMap<RawAddress, DeviceConnectionStates>>>, in wait_retry()
967 addr: &RawAddress, in wait_retry()
987 fallback_tasks: &Arc<Mutex<HashMap<RawAddress, Option<(JoinHandle<()>, Instant)>>>>, in wait_disconnect()
988 device_states: &Arc<Mutex<HashMap<RawAddress, DeviceConnectionStates>>>, in wait_disconnect()
[all …]
Dbluetooth_gatt.rs2789 fn connect_cb(&mut self, conn_id: i32, status: GattStatus, client_id: i32, addr: RawAddress); in connect_cb()
2792 fn disconnect_cb(&mut self, conn_id: i32, status: GattStatus, client_id: i32, addr: RawAddress); in disconnect_cb()
2842 addr: RawAddress, in read_remote_rssi_cb()
2876 addr: RawAddress, in read_phy_cb()
2904 fn connect_cb(&mut self, conn_id: i32, status: GattStatus, client_id: i32, addr: RawAddress) { in connect_cb()
2931 addr: RawAddress, in disconnect_cb()
3114 addr: RawAddress, in read_remote_rssi_cb()
3232 addr: RawAddress, in read_phy_cb()
3328 fn connection_cb(&mut self, conn_id: i32, server_id: i32, connected: i32, addr: RawAddress); in connection_cb()
3347 addr: RawAddress, in request_read_characteristic_cb()
[all …]
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_gatt_layer.cc39 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in gatt_cl_read_sr_supp_feat_req()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hap_client.cpp131 void OnActivePresetSelected(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelected()
157 void OnActivePresetSelectError(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelectError()
185 void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfo()
242 virtual void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfoError()
271 void OnSetPresetNameError(std::variant<RawAddress, int> addr_or_group_id, in OnSetPresetNameError()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_metric_id_api.cc39 const std::unordered_map<RawAddress, int>& paired_device_map, in InitMetricIdAllocator()
Dmock_common_metric_id_allocator.cc75 const std::unordered_map<RawAddress, int>& paired_device_map, in Init()
Dmock_device_interop.cc50 bool interop_match_addr_or_name(const interop_feature_t feature, in interop_match_addr_or_name()
/packages/modules/Bluetooth/system/main/shim/
Dmetric_id_api.cc34 const std::unordered_map<RawAddress, int>& paired_device_map, in InitMetricIdAllocator()

12