/packages/modules/Bluetooth/system/rust/src/connection/ |
D | ffi.rs | 33 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 …]
|
D | le_manager.rs | 48 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()
|
D | attempt_manager.rs | 85 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()
|
D | acceptlist_manager.rs | 64 pub fn on_connect_complete(&mut self, address: AddressWithType) { in on_connect_complete()
|
/packages/modules/Bluetooth/system/rust/src/core/ |
D | address.rs | 16 pub struct AddressWithType { struct 23 impl AddressWithType { argument
|
D | ffi.rs | 28 unsafe impl ExternType for AddressWithType { implementation 57 type AddressWithType = crate::core::address::AddressWithType; typedef
|
/packages/modules/Bluetooth/system/rust/src/connection/mocks/ |
D | mock_le_manager.rs | 34 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/ |
D | types.h | 30 struct AddressWithType { struct 36 inline core::AddressWithType ToRustAddress(tBLE_BD_ADDR address) { in ToRustAddress() argument
|
/packages/modules/Bluetooth/system/rust/src/ |
D | connection.rs | 103 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/ |
D | address_with_type.h | 34 AddressWithType(Address address, AddressType address_type) in AddressWithType() function 37 explicit AddressWithType() in AddressWithType() function
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | address_with_type.h | 35 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/ |
D | le_impl_test.cc | 1780 .WillOnce([&](AddressWithType, std::unique_ptr<LeAclConnection> conn) { in TEST_F() argument
|