Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/src/connection/
Dffi.rs35 type AddressWithType = crate::core::address::AddressWithType; typedef
50 fn create_le_connection(&self, address: AddressWithType, is_direct: bool); in create_le_connection()
54 fn cancel_le_connect(&self, address: AddressWithType); in cancel_le_connect()
72 fn on_le_connect_success(&self, address: AddressWithType); in on_le_connect_success()
74 fn on_le_connect_fail(&self, address: AddressWithType, status: u8); in on_le_connect_fail()
76 fn on_disconnect(&self, address: AddressWithType); in on_disconnect()
85 start_direct_connection: fn(client_id: u8, address: AddressWithType), in RegisterRustApis()
90 stop_all_connections_to_device: fn(address: AddressWithType), in RegisterRustApis()
118 fn on_le_connect_success(&self, address: AddressWithType) { in on_le_connect_success()
124 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 { implementation
Dffi.rs34 unsafe impl ExternType for AddressWithType { implementation
63 type AddressWithType = crate::core::address::AddressWithType; typedef
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dlink_property_listener.h39 hci::AddressWithType /* remote */, uint16_t /* handle */, hci::Role /* my_role */) {} in OnLinkConnected()
44 virtual void OnLinkDisconnected(hci::AddressWithType /* remote */) {} in OnLinkDisconnected()
51 hci::AddressWithType /* remote */, in OnReadRemoteVersionInformation()
60 hci::AddressWithType /* remote */, in OnConnectionUpdate()
69 hci::AddressWithType /* remote */, uint8_t /* tx_phy */, uint8_t /* rx_phy */) {} in OnPhyUpdate()
75 hci::AddressWithType /* remote */, in OnDataLengthChange()
Dl2cap_le_module.cc43 hci::AddressWithType /* remote */, in Enforce()
/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/system/test/mock/
Dmock_main_shim_acl.cc86 const hci::AddressWithType& /* address_with_type */, bool /* is_direct */, in AcceptLeConnectionFrom()
92 const hci::AddressWithType& /* address_with_type */) { in IgnoreLeConnectionFrom()
140 hci::AddressWithType /* address_with_type */, in OnLeConnectSuccess()
146 hci::AddressWithType /* address_with_type */, hci::ErrorCode /* reason */) { in OnLeConnectFail()
196 const hci::AddressWithType& /* address_with_type */, in AddToAddressResolution()
203 const hci::AddressWithType& /* address_with_type */) { in RemoveFromAddressResolution()
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Daddress_with_type.h38 AddressWithType(Address address, AddressType address_type) in AddressWithType() function
41 explicit AddressWithType() in AddressWithType() function
/packages/modules/Bluetooth/system/gd/hci/
Daddress_with_type.h37 AddressWithType(Address address, AddressType address_type) in AddressWithType() function
40 …explicit AddressWithType() : address_(Address::kEmpty), address_type_(AddressType::PUBLIC_DEVICE_A… in AddressWithType() function
Dacl_manager_test.cc384 std::unique_ptr<LeAclConnection> connection) { in SetUp()
546 std::unique_ptr<LeAclConnection> connection) { in TEST_F()
587 std::unique_ptr<LeAclConnection> connection) { in TEST_F()
Dacl_manager_unittest.cc145 AddressWithType /* address_with_type */, in OnLeConnectSuccess() argument
Dle_scanning_manager.cc136 AddressWithType /* address_with_type */, in OnPeriodicSyncStarted() argument
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dsecurity_enforcement_interface.h50 hci::AddressWithType /* remote */, in Enforce()
/packages/modules/Bluetooth/system/gd/security/pairing/
Dclassic_pairing_handler.cc85 const bluetooth::hci::AddressWithType& /* address */, bool /* confirmed */) { in OnPairingPromptAccepted()
91 const bluetooth::hci::AddressWithType& /* address */, bool confirmed) { in OnConfirmYesNo()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_scanning_manager_facade.cc177 AddressWithType /* address_with_type */, in OnPeriodicSyncStarted() argument
/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.cc888 hci::AddressWithType /* remote */, in EnforceLeSecurityPolicy()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl_test.cc1529 .WillOnce([&](AddressWithType, std::unique_ptr<LeAclConnection> conn) { in TEST_F() argument