Home
last modified time | relevance | path

Searched refs:connections (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h59 connections.crash_on_unknown_handle_ = crash_on_unknown_handle; in classic_impl()
69 connections.reset(); in ~classic_impl()
230 } connections; member
234 return connections.send_packet_upward(handle, cb); in send_packet_upward()
280 return connections.is_classic_link_already_connected(address); in is_classic_link_already_connected()
362 connections.add( in create_and_announce_connection()
367 … connection->GetEventCallbacks([this](uint16_t handle) { this->connections.invalidate(handle); })); in create_and_announce_connection()
368 connections.execute(address, [=](ConnectionManagementCallbacks* callbacks) { in create_and_announce_connection()
422 bool event_also_routes_to_other_receivers = connections.crash_on_unknown_handle_; in on_classic_disconnect()
424 static_cast<uint32_t>(reason), connections.get_address(handle), handle); in on_classic_disconnect()
[all …]
Dle_impl.h112 connections.crash_on_unknown_handle_ = crash_on_unknown_handle; in le_impl()
131 connections.reset(); in ~le_impl()
254 } connections; member
264 return connections.send_packet_upward(handle, cb); in send_packet_upward()
388 connections.add( in on_le_connection_complete()
390 this->connections.invalidate(handle); in on_le_connection_complete()
522 connections.add( in on_le_enhanced_connection_complete()
524 this->connections.invalidate(handle); in on_le_enhanced_connection_complete()
533 AddressWithType remote_address = connections.getAddressWithType(handle); in on_le_disconnect()
534 bool event_also_routes_to_other_receivers = connections.crash_on_unknown_handle_; in on_le_disconnect()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConference.java176 List<Connection> connections = getConnections(); in getPrimaryConnection() local
177 if (connections == null || connections.isEmpty()) { in getPrimaryConnection()
182 Connection primaryConnection = connections.get(0); in getPrimaryConnection()
185 for (Connection connection : connections) { in getPrimaryConnection()
237 final List<Connection> connections = getConnections(); in getFirstConnection() local
238 if (connections.isEmpty()) { in getFirstConnection()
241 return (TelephonyConnection) connections.get(0); in getFirstConnection()
DCdmaConference.java169 List<Connection> connections = getConnections(); in getOriginalCall() local
170 if (!connections.isEmpty()) { in getOriginalCall()
172 getOriginalConnection(connections.get(0)); in getOriginalCall()
214 final List<Connection> connections = getConnections(); in getFirstConnection() local
215 if (connections.isEmpty()) { in getFirstConnection()
218 return (CdmaConnection) connections.get(0); in getFirstConnection()
DTelephonyConferenceController.java152 List<Connection> connections = conferenceableConnections in recalculateConferenceable() local
157 c.setConferenceableConnections(connections); in recalculateConferenceable()
DImsConferenceController.java329 List<Connection> connections = conferenceableSet in recalculateConferenceable() local
335 imsConference.setConferenceableConnections(connections); in recalculateConferenceable()
/packages/modules/Bluetooth/system/gd/rust/stack/src/link/acl/classic/
Dmod.rs151 …let connections: Arc<Mutex<HashMap<u16, ConnectionInternal>>> = Arc::new(Mutex::new(HashMap::new()… in provide_acl_manager() localVariable
165 if connections.lock().await.values().any(|c| c.addr == addr) { in provide_acl_manager()
217 … assert!(connections.lock().await.insert(handle, connection_internal).is_none()); in provide_acl_manager()
218 … rt.spawn(run_connection(handle, evt_tx, req_rx, core_conn, connections.clone(), hci.clone())); in provide_acl_manager()
227 if connections.lock().await.values().any(|c| c.addr == addr) { in provide_acl_manager()
239 … AuthenticationComplete(e) => dispatch_to(e.get_connection_handle(), &connections, evt).await, in provide_acl_manager()
263 connections: &Arc<Mutex<HashMap<u16, ConnectionInternal>>>, in dispatch_to()
266 if let Some(c) = connections.lock().await.get_mut(&handle) { in dispatch_to()
276 connections: Arc<Mutex<HashMap<u16, ConnectionInternal>>>, in run_connection()
284 connections.lock().await.remove(&handle); in run_connection()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dposix_socket_unittest.cc243 std::vector<std::shared_ptr<AsyncDataChannel>> connections; in TEST_F() local
249 connections.push_back(sock); in TEST_F()
265 ASSERT_EQ(CONNECTION_COUNT, (int)connections.size()); in TEST_F()
272 std::vector<std::shared_ptr<AsyncDataChannel>> connections; in TEST_F() local
278 connections.push_back(sock); in TEST_F()
307 ASSERT_EQ(1, (int)connections.size()); in TEST_F()
/packages/modules/Bluetooth/system/gd/rust/stack/src/link/acl/
Dcore.rs82 let mut connections: HashMap<u16, ConnectionInternal> = HashMap::new(); in provide_acl_dispatch() localVariable
102 assert!(connections.insert( in provide_acl_dispatch()
134 match connections.get_mut(&p.get_handle()) { in provide_acl_dispatch()
152 match connections.get(&entry.connection_handle) { in provide_acl_dispatch()
167 if let Some(c) = connections.remove(&evt.get_connection_handle()) { in provide_acl_dispatch()
/packages/services/Telephony/src/com/android/phone/
DCallTime.java133 List connections = call.getConnections(); in getCallDuration() local
134 int count = connections.size(); in getCallDuration()
138 c = (Connection) connections.get(0); in getCallDuration()
144 c = (Connection) connections.get(i); in getCallDuration()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorConnectionsBankImpl.java69 Collection<Connection> connections = in mergeAllConnections() local
71 for (Connection connection : connections) { in mergeAllConnections()
80 Collection<Connection> connections = in disconnectAllConnections() local
82 for (Connection connection : connections) { in disconnectAllConnections()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactAggregatorHelper.java109 private static void findConnectedComponentForRawContact(Multimap<Long, Long> connections, in findConnectedComponentForRawContact() argument
113 for (long match : connections.get(rawContactId)) { in findConnectedComponentForRawContact()
115 findConnectedComponentForRawContact(connections, visited, match, results); in findConnectedComponentForRawContact()
/packages/modules/Bluetooth/system/gd/proto/bluetooth/metrics/
Dbluetooth.proto53 // Statistics about Bluetooth profile connections
56 // Statistics about Headset profile connections
274 // Statistics about Bluetooth profile connections
289 // Statistics about headset profile connections
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/connection/
DPhysicalLink.java67 Set<RfcommSocketConnection> connections) { in PhysicalLink() argument
73 this.mConnections = connections; in PhysicalLink()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs42 connections: Vec<Connection>, field
47 ContextMap { clients: vec![], connections: vec![] } in new()
65 match self.connections.iter().find(|conn| conn.conn_id == conn_id) { in get_address_by_conn_id()
72 match self.connections.iter().find(|conn| conn.conn_id == conn_id) { in get_client_by_conn_id()
79 let client_id = match self.connections.iter().find(|conn| conn.conn_id == conn_id) { in get_client_by_conn_id_mut()
119 self.connections.push(Connection { conn_id, address: address.clone(), client_id }); in add_connection()
123 self.connections.retain(|conn| conn.conn_id != conn_id); in remove_connection()
128 .connections in get_conn_id_from_address()
/packages/modules/DnsResolver/tests/
Dresolv_private_dns_test.cpp996 EXPECT_EQ(doh.connections(), 6); in TEST_F()
1029 EXPECT_EQ(doh.connections(), 1); in TEST_F()
1036 EXPECT_EQ(doh.connections(), 2); in TEST_F()
1078 EXPECT_EQ(doh.connections(), 3); in TEST_F()
1098 EXPECT_EQ(doh.connections(), 1); in TEST_F()
1107 EXPECT_EQ(doh.connections(), 1); in TEST_F()
Ddoh_frontend.h55 int connections() const;
Ddoh_frontend.cpp78 int DohFrontend::connections() const { in connections() function in test::DohFrontend
/packages/modules/Bluetooth/system/service/
Dgatt_server_old.cc118 std::set<int> connections; member
337 g_internal->connections.insert(conn_id); in ConnectionCallback()
339 g_internal->connections.erase(conn_id); in ConnectionCallback()
716 for (auto connection : internal_->connections) { in SetCharacteristicValue()
/packages/modules/adb/
DSERVICES.TXT96 Asks the ADB server to forward local connections from <local>
128 Remove all forward network connections.
132 List all existing forward connections from this server.
237 socket connections from a device to the host. <forward-command> is one
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java138 List<SelfManagedConnection> connections) { in SelfManagedCallListAdapter() argument
141 mConnections = connections; in SelfManagedCallListAdapter()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java488 Set<AppVpnInfo> connections = new ArraySet<>(); in getConnectedAppVpns() local
492 connections.add(new AppVpnInfo(profile.getIdentifier(), config.user)); in getConnectedAppVpns()
495 return connections; in getConnectedAppVpns()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAppScanStats.java645 List<ContextMap.Connection> connections = mContextMap.getConnectionByApp(appEntry.id); in dumpToString() local
647 sb.append("\n Connections: " + connections.size()); in dumpToString()
649 Iterator<ContextMap.Connection> ii = connections.iterator(); in dumpToString()
/packages/modules/Bluetooth/system/doc/
Dbtsnoop_net.md9 incoming TCP connections on port 8872.
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java17 package com.android.car.obd2.connections;

12