Home
last modified time | relevance | path

Searched refs:connection_manager (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_gatt_connection_manager.cc29 using namespace connection_manager;
31 bool connection_manager::background_connect_add( in background_connect_add()
36 bool connection_manager::background_connect_remove( in background_connect_remove()
41 bool connection_manager::direct_connect_add(uint8_t /* app_id */, in direct_connect_add()
46 bool connection_manager::direct_connect_remove(uint8_t /* app_id */, in direct_connect_remove()
52 bool connection_manager::remove_unconditional(const RawAddress& /* address */) { in remove_unconditional()
56 std::set<tAPP_ID> connection_manager::get_apps_connecting_to( in get_apps_connecting_to()
61 void connection_manager::dump(int /* fd */) { inc_func_call_count(__func__); } in dump()
62 void connection_manager::on_app_deregistered(uint8_t /* app_id */) { in on_app_deregistered()
65 void connection_manager::on_connection_complete( in on_connection_complete()
[all …]
/packages/modules/Bluetooth/system/rust/src/
Dconnection.rs282 let connection_manager = ConnectionManager::new(mock_le_manager.clone()); in test_single_direct_connection() localVariable
285 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_single_direct_connection()
299 let connection_manager = ConnectionManager::new(mock_le_manager.clone()); in test_failed_direct_connection() localVariable
300 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_failed_direct_connection()
315 let connection_manager = ConnectionManager::new(mock_le_manager.clone()); in test_single_background_connection() localVariable
318 connection_manager.as_ref().add_background_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_single_background_connection()
332 let connection_manager = ConnectionManager::new(mock_le_manager.clone()); in test_resolved_connection() localVariable
335 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_resolved_connection()
348 let connection_manager = ConnectionManager::new(mock_le_manager.clone()); in test_resolved_background_connection() localVariable
351 connection_manager.as_ref().add_background_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_resolved_background_connection()
[all …]
Dlib.rs58 pub connection_manager: SharedBox<connection::ConnectionManager>, field
98 let connection_manager = connection::ConnectionManager::new(le_acl_manager); in start() localVariable
106 connection_manager, in start()
/packages/modules/Virtualization/rialto/src/
Dcommunication.rs37 connection_manager: VsockConnectionManager<H, T>, field
49 connection_manager: VsockConnectionManager::new(socket_device_driver), in new()
58 self.connection_manager.connect(self.peer_addr, self.peer_addr.port)?; in connect()
97 self.connection_manager.force_close(self.peer_addr, self.peer_addr.port)?; in shutdown()
104 self.connection_manager.recv(self.peer_addr, self.peer_addr.port, buffer)?; in recv()
107 .connection_manager in recv()
110 self.connection_manager.update_credit(self.peer_addr, self.peer_addr.port)?; in recv()
119 match self.connection_manager.send(self.peer_addr, self.peer_addr.port, buffer) { in wait_for_send()
163 Ok(self.connection_manager.poll()?.map(|event| { in poll_event_from_peer()
/packages/modules/Bluetooth/system/rust/src/connection/
Dffi.rs187 modules.connection_manager.as_ref().start_direct_connection(client, address); in register_callbacks()
196 let result = modules.connection_manager.cancel_connection( in register_callbacks()
209 let result = modules.connection_manager.add_background_connection(client, address); in register_callbacks()
218 let result = modules.connection_manager.cancel_connection( in register_callbacks()
231 modules.connection_manager.remove_client(client); in register_callbacks()
236 modules.connection_manager.cancel_unconditionally(address); in register_callbacks()
/packages/modules/Bluetooth/system/rust/src/connection/ffi/
Dconnection_shim.cc150 std::optional<RustConnectionManager> connection_manager; variable
155 return connection_manager.value(); in GetConnectionManager()
170 connection_manager = {start_direct_connection, in RegisterRustApis()
/packages/modules/Bluetooth/system/stack/acl/
Dble_acl.cc54 connection_manager::on_connection_complete(address_with_type.bda); in acl_ble_common_connection()
117 connection_manager::on_connection_complete(address_with_type.bda); in acl_ble_enhanced_connection_complete_from_shim()
150 connection_manager::on_connection_timed_out_from_shim( in acl_ble_connection_fail()
/packages/modules/Bluetooth/system/stack/test/
Dgatt_connection_manager_test.cc22 using connection_manager::tAPP_ID;
87 namespace connection_manager { namespace
94 connection_manager::reset(true); in TearDown()
/packages/modules/Bluetooth/system/stack/gatt/
Dconnection_manager.h35 namespace connection_manager {
Dgatt_main.cc118 connection_manager::reset(true); in gatt_init()
289 if (!connection_manager::direct_connect_remove(CONN_MGR_ID_L2CAP, in gatt_disconnect()
469 namespace connection_manager { namespace
944 apps = connection_manager::get_apps_connecting_to(p_tcb->peer_bda); in gatt_send_conn_cback()
975 connection_manager::on_connection_complete(p_tcb->peer_bda); in gatt_send_conn_cback()
Dgatt_api.cc1328 connection_manager::on_app_deregistered(gatt_if); in GATT_Deregister()
1475 ret = connection_manager::background_connect_add(gatt_if, bd_addr); in GATT_Connect()
1478 connection_manager::background_connect_targeted_announcement_add( in GATT_Connect()
1572 if (!connection_manager::remove_unconditional(bd_addr)) { in GATT_CancelConnect()
Dgatt_utils.cc1570 if (!connection_manager::direct_connect_remove(gatt_if, bda)) { in gatt_cancel_open()
1571 if (!connection_manager::is_background_connection(bda)) { in gatt_cancel_open()
1881 return connection_manager::background_connect_remove(gatt_if, bd_addr); in gatt_auto_connect_dev_remove()
Dconnection_manager.cc72 namespace connection_manager { namespace
/packages/modules/Bluetooth/system/test/headless/
Dbt_stack_info.cc58 connection_manager::dump(fd); in DumpsysLite()
/packages/modules/Bluetooth/system/stack/test/gatt/
Dmock_gatt_utils_ref.cc22 namespace connection_manager { namespace
Dgatt_sr_test.cc53 namespace connection_manager { namespace
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_devctl.cc186 connection_manager::reset(true); in BTM_reset_complete()
/packages/modules/Bluetooth/system/stack/
DBUILD.gn129 "gatt/connection_manager.cc",
DAndroid.bp247 "gatt/connection_manager.cc",
1014 "gatt/connection_manager.cc",
1910 "gatt/connection_manager.cc",
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc344 connection_manager::reset(false); in bta_dm_disable()
/packages/modules/Bluetooth/system/btif/src/
Dbluetooth.cc833 connection_manager::dump(fd); in dump()