Home
last modified time | relevance | path

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

12

/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()
171 void OnActivePresetSelected(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelected()
181 void OnActivePresetSelectError(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelectError()
192 void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfo()
210 void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfoError()
221 void OnSetPresetNameError(std::variant<RawAddress, int> addr_or_group_id, in OnSetPresetNameError()
Dbtif_vc.cc138 void SetVolume(std::variant<RawAddress, int> addr_or_group_id, in SetVolume()
146 void Mute(std::variant<RawAddress, int> addr_or_group_id) override { in Mute()
153 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/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 …]
Dmetric_id_allocator.cc52 const std::unordered_map<RawAddress, int>& paired_device_map, in Init()
/packages/modules/Bluetooth/system/gd/rust/topshim/btav_sink/
Dbtav_sink_shim.cc35 static void connection_state_cb(const RawAddress&, btav_connection_state_t) {} in connection_state_cb()
36 static void audio_state_cb(const RawAddress&, btav_audio_state_t) {} in audio_state_cb()
37 static void audio_config_cb(const RawAddress&, uint32_t, uint8_t) {} in audio_config_cb()
/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/service/hal/
Dbluetooth_avrcp_interface.cc752 const RawAddress& /* bd_addr */, int /* id */, int /* key_state */) { in PassthroughRspCallback()
763 const RawAddress& /* bd_addr */) { in ConnectionStateCallback()
768 const RawAddress& /* bd_addr */, int /* features */) { in CtrlGetrcfeaturesCallback()
773 CtrlSetplayerapplicationsettingRspCallback(const RawAddress& /* bd_addr */, in CtrlSetplayerapplicationsettingRspCallback()
780 const RawAddress& /* bd_addr */, uint8_t /* num_attr */, in CtrlPlayerapplicationsettingCallback()
788 const RawAddress& /* bd_addr*/, in CtrlPlayerapplicationsettingChangedCallback()
794 const RawAddress& /* bd_addr */, uint8_t /* abs_vol */, in CtrlSetabsvolCmdCallback()
800 CtrlRegisternotificationAbsVolCallback(const RawAddress& /* bd_addr */, in CtrlRegisternotificationAbsVolCallback()
806 const RawAddress& /*bd_addr */, uint8_t /* num_attr */, in CtrlTrackChangedCallback()
812 const RawAddress& /* bd_addr */, uint32_t /* song_len */, in CtrlPlayPositionChangedCallback()
[all …]
Dbluetooth_gatt_interface.cc574 BluetoothGattInterface* /* gatt_iface */, const RawAddress& /* bda */, in ScanResultCallback()
588 int /* status */, int /* client_if */, const RawAddress& /* bda */) { in ConnectCallback()
594 int /* status */, int /* client_if */, const RawAddress& /* bda */) { in DisconnectCallback()
662 int /* server_if */, int /* connected */, const RawAddress& /* bda */) { in ConnectionCallback()
687 int /* trans_id */, const RawAddress& /* bda */, int /* attr_handle */, in RequestReadCharacteristicCallback()
694 int /* trans_id */, const RawAddress& /* bda */, int /* attr_handle */, in RequestReadDescriptorCallback()
701 int /* trans_id */, const RawAddress& /* bda */, int /* attr_handle */, in RequestWriteCharacteristicCallback()
709 int /* trans_id */, const RawAddress& /* bda */, int /* attr_handle */, in RequestWriteDescriptorCallback()
717 int /* trans_id */, const RawAddress& /* bda */, int /* exec_write */) { in RequestExecWriteCallback()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhid_host.rs219 pub fn set_info(&self, addr: &mut RawAddress, info: BthhHidInfo) -> BtStatus { in set_info()
224 pub fn get_protocol(&self, addr: &mut RawAddress, mode: BthhProtocolMode) -> BtStatus { in get_protocol()
234 pub fn set_protocol(&self, addr: &mut RawAddress, mode: BthhProtocolMode) -> BtStatus { in set_protocol()
249 pub fn set_idle_time(&self, addr: &mut RawAddress, idle_time: u8) -> BtStatus { in set_idle_time()
256 addr: &mut RawAddress, in get_report()
274 addr: &mut RawAddress, in set_report()
Da2dp.rs215 fn into(self) -> RawAddress { in into()
296 pub fn connect(&mut self, addr: RawAddress) { in connect()
300 pub fn set_active_device(&mut self, addr: RawAddress) { in set_active_device()
304 pub fn disconnect(&mut self, addr: RawAddress) { in disconnect()
363 pub fn connect(&mut self, bt_addr: RawAddress) { in connect()
367 pub fn disconnect(&mut self, bt_addr: RawAddress) { in disconnect()
371 pub fn set_active_device(&mut self, bt_addr: RawAddress) { in set_active_device()
Dhfp.rs98 fn into(self) -> RawAddress { in into()
157 pub fn connect(&mut self, addr: RawAddress) { in connect()
165 pub fn disconnect(&mut self, addr: RawAddress) { in disconnect()
Dgatt.rs1027 addr: &RawAddress, in connect()
1046 pub fn disconnect(&self, client_if: i32, addr: &RawAddress, conn_id: i32) -> BtStatus { in disconnect()
1141 addr: &RawAddress, in register_for_notification()
1151 addr: &RawAddress, in deregister_for_notification()
1174 addr: &RawAddress, in conn_parameter_update()
1198 addr: &RawAddress, in set_preferred_phy()
1242 addr: &RawAddress, in connect()
1250 pub fn disconnect(&self, server_if: i32, addr: &RawAddress, conn_id: i32) -> BtStatus { in disconnect()
1299 addr: &RawAddress, in set_preferred_phy()
1419 pub fn start_sync(&mut self, sid: u8, address: RawAddress, skip: u16, timeout: u16) { in start_sync()
[all …]
/packages/modules/Bluetooth/system/btif/include/
Dbtif_rc.h23 class RawAddress; variable
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs600 pub struct RawAddress { struct
604 impl Debug for RawAddress { implementation
613 impl Default for RawAddress { implementation
619 impl ToString for RawAddress { implementation
628 impl RawAddress { implementation
630 pub fn from_bytes(raw_addr: &[u8]) -> Option<RawAddress> { in from_bytes()
639 pub fn from_string<S: Into<String>>(addr: S) -> Option<RawAddress> { in from_string()
949 addr: &mut RawAddress, in get_remote_device_property()
959 addr: &mut RawAddress, in set_remote_device_property()
967 pub fn get_remote_services(&self, addr: &mut RawAddress, transport: BtTransport) -> i32 { in get_remote_services()
[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/system/stack/test/eatt/
Deatt_test.cc70 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in ConnectDeviceEattSupported()
131 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in ConnectDeviceBothSides()
302 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
337 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
424 base::OnceCallback<void(const RawAddress&, uint8_t)> cb) { in TEST_F()
/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.cc40 const std::unordered_map<RawAddress, int>& paired_device_map, in InitMetricIdAllocator()
Dmock_common_metric_id_allocator.cc77 const std::unordered_map<RawAddress, int>& paired_device_map, in Init()
Dmock_stack_gatt_attr.cc44 base::OnceCallback<void(const RawAddress&, bool)> cb) { in gatt_profile_get_eatt_support()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs375 fn update_local_address(&mut self, addr: &RawAddress) { in update_local_address()
545 remote_addr: RawAddress, in ssp_request()
556 addr: RawAddress, in bond_state()
565 addr: RawAddress, in remote_device_properties_changed()
574 addr: RawAddress, in acl_state()
587 address: RawAddress, in sdp_search()
739 remote_addr: RawAddress, in ssp_request()
760 addr: RawAddress, in bond_state()
814 addr: RawAddress, in remote_device_properties_changed()
855 addr: RawAddress, in acl_state()
[all …]
Dbluetooth_media.rs266 fn notify_media_capability_added(&self, addr: RawAddress) { in notify_media_capability_added()
269 device_added_tasks: Arc<Mutex<HashMap<RawAddress, Option<JoinHandle<()>>>>>, in notify_media_capability_added()
270 addr: RawAddress, in notify_media_capability_added()
364 fn notify_media_capability_removed(&self, addr: RawAddress) { in notify_media_capability_removed()
/packages/modules/Bluetooth/system/main/shim/
Dmetric_id_api.cc34 const std::unordered_map<RawAddress, int>& paired_device_map, in InitMetricIdAllocator()
/packages/modules/Bluetooth/system/stack/gatt/
Dconnection_manager.cc97 const std::map<RawAddress, tAPPS_CONNECTING>::iterator it) { in is_anyone_interested_to_use_accept_list()
106 const std::map<RawAddress, tAPPS_CONNECTING>::iterator it) { in is_anyone_connecting()

12