Home
last modified time | relevance | path

Searched defs:AddressWithType (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/connection/
Dffi.rs33 type AddressWithType = crate::core::address::AddressWithType; typedef
48 fn create_le_connection(&self, address: AddressWithType, is_direct: bool); in create_le_connection()
52 fn cancel_le_connect(&self, address: AddressWithType); in cancel_le_connect()
70 fn on_le_connect_success(&self, address: AddressWithType); in on_le_connect_success()
72 fn on_le_connect_fail(&self, address: AddressWithType, status: u8); in on_le_connect_fail()
74 fn on_disconnect(&self, address: AddressWithType); in on_disconnect()
83 start_direct_connection: fn(client_id: u8, address: AddressWithType), in RegisterRustApis()
88 stop_all_connections_to_device: fn(address: AddressWithType), in RegisterRustApis()
116 fn on_le_connect_success(&self, address: AddressWithType) { in on_le_connect_success()
122 fn on_le_connect_fail(&self, address: AddressWithType, status: u8) { in on_le_connect_fail()
[all …]
Dle_manager.rs48 fn add_to_direct_list(&self, address: AddressWithType); // CreateLeConnection(is_direct=true) in add_to_direct_list()
50 … fn add_to_background_list(&self, address: AddressWithType); // CreateLeConnection(is_direct=false) in add_to_background_list()
53 fn remove_from_all_lists(&self, address: AddressWithType); // CancelLeConnect in remove_from_all_lists()
59 fn on_le_connect(&self, address: AddressWithType, result: Result<LeConnection, ErrorCode>); in on_le_connect()
62 fn on_disconnect(&self, address: AddressWithType); in on_disconnect()
Dattempt_manager.rs85 address: AddressWithType, in register_direct_connection()
116 address: AddressWithType, in register_background_connection()
134 address: AddressWithType, in cancel_attempt()
154 pub fn remove_unconditionally(&mut self, address: AddressWithType) { in remove_unconditionally()
173 address: AddressWithType, in process_connection()
Dacceptlist_manager.rs64 pub fn on_connect_complete(&mut self, address: AddressWithType) { in on_connect_complete()
/packages/modules/Bluetooth/system/rust/src/core/
Daddress.rs16 pub struct AddressWithType { struct
23 impl AddressWithType { argument
Dffi.rs28 unsafe impl ExternType for AddressWithType { implementation
57 type AddressWithType = crate::core::address::AddressWithType; typedef
/packages/modules/Bluetooth/system/rust/src/connection/mocks/
Dmock_le_manager.rs34 pub fn current_acceptlist(&self) -> HashSet<AddressWithType> { in current_acceptlist()
42 pub fn on_le_connect(&self, address: AddressWithType, status: ErrorCode) { in on_le_connect()
58 pub fn on_le_disconnect(&self, address: AddressWithType) { in on_le_disconnect()
104 pub fn current_acceptlist(&self) -> HashSet<AddressWithType> { in current_acceptlist()
127 pub fn on_le_connect(&self, address: AddressWithType, status: ErrorCode) { in on_le_connect()
136 pub fn on_le_disconnect(&self, address: AddressWithType) { in on_le_disconnect()
144 fn add_to_direct_list(&self, address: AddressWithType) { in add_to_direct_list()
154 fn add_to_background_list(&self, address: AddressWithType) { in add_to_background_list()
164 fn remove_from_all_lists(&self, address: AddressWithType) { in remove_from_all_lists()
/packages/modules/Bluetooth/system/rust/src/core/ffi/
Dtypes.h30 struct AddressWithType { struct
36 inline core::AddressWithType ToRustAddress(tBLE_BD_ADDR address) { in ToRustAddress() argument
/packages/modules/Bluetooth/system/rust/src/
Dconnection.rs103 fn on_le_connect(&self, address: AddressWithType, result: Result<LeConnection, ErrorCode>) { in on_le_connect()
107 fn on_disconnect(&self, address: AddressWithType) { in on_disconnect()
146 address: AddressWithType, in start_direct_connection()
160 address: AddressWithType, in direct_connection()
209 address: AddressWithType, in add_background_connection()
221 address: AddressWithType, in cancel_connection()
231 pub fn cancel_unconditionally(&self, address: AddressWithType) { in cancel_unconditionally()
244 fn on_le_connect(&self, address: AddressWithType, result: Result<LeConnection, ErrorCode>) { in on_le_connect()
256 fn on_disconnect(&self, address: AddressWithType) { in on_disconnect()
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Daddress_with_type.h34 AddressWithType(Address address, AddressType address_type) in AddressWithType() function
37 explicit AddressWithType() in AddressWithType() function
/packages/modules/Bluetooth/system/gd/hci/
Daddress_with_type.h35 AddressWithType(Address address, AddressType address_type) in AddressWithType() function
38 …explicit AddressWithType() : address_(Address::kEmpty), address_type_(AddressType::PUBLIC_DEVICE_A… in AddressWithType() function
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl_test.cc1780 .WillOnce([&](AddressWithType, std::unique_ptr<LeAclConnection> conn) { in TEST_F() argument