Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h70 connections.crash_on_unknown_handle_ = crash_on_unknown_handle; in classic_impl()
81 connections.reset(); in ~classic_impl()
244 } connections; member
248 return connections.send_packet_upward(handle, cb); in send_packet_upward()
276 return connections.is_classic_link_already_connected(address); in is_classic_link_already_connected()
355 connections.add( in create_and_announce_connection()
360 … connection->GetEventCallbacks([this](uint16_t handle) { this->connections.invalidate(handle); })); in create_and_announce_connection()
361 connections.execute(address, [=, this](ConnectionManagementCallbacks* callbacks) { in create_and_announce_connection()
432 bool event_also_routes_to_other_receivers = connections.crash_on_unknown_handle_; in on_classic_disconnect()
434 static_cast<uint32_t>(reason), connections.get_address(handle), handle); in on_classic_disconnect()
[all …]
Dle_impl.h134 connections.crash_on_unknown_handle_ = crash_on_unknown_handle; in le_impl()
153 connections.reset(); in ~le_impl()
298 } connections; member
308 return connections.send_packet_upward(handle, cb); in send_packet_upward()
488 [this](uint16_t handle) { this->connections.invalidate(handle); }); in on_le_connection_complete()
493 connections.add( in on_le_connection_complete()
501 connections.add( in on_le_connection_complete()
536 AddressWithType remote_address = connections.getAddressWithType(handle); in on_le_disconnect()
537 bool event_also_routes_to_other_receivers = connections.crash_on_unknown_handle_; in on_le_disconnect()
538 connections.crash_on_unknown_handle_ = false; in on_le_disconnect()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConference.java185 List<Connection> connections = getConnections(); in getPrimaryConnection() local
186 if (connections == null || connections.isEmpty()) { in getPrimaryConnection()
191 Connection primaryConnection = connections.get(0); in getPrimaryConnection()
194 for (Connection connection : connections) { in getPrimaryConnection()
246 final List<Connection> connections = getConnections(); in getFirstConnection() local
247 if (connections.isEmpty()) { in getFirstConnection()
250 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.java153 List<Connection> connections = conferenceableConnections in recalculateConferenceable() local
158 c.setConferenceableConnections(connections); in recalculateConferenceable()
DImsConferenceController.java363 List<Connection> connections = conferenceableSet in recalculateConferenceable() local
370 imsConference.setConferenceableConnections(connections); in recalculateConferenceable()
/packages/modules/Bluetooth/system/rust/src/gatt/
Dserver.rs49 connections: HashMap<TransportIndex, GattConnection>, field
70 connections: HashMap::new(), in new()
100 self.connections.insert(tcb_idx, GattConnection { bearer, database: database.downgrade() }); in on_le_connect()
108 let connection = self.connections.remove(&tcb_idx); in on_le_disconnect()
172 self.connections.get(&tcb_idx).map(|x| x.bearer.as_ref()) in get_bearer()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dposix_socket_unittest.cc242 std::vector<std::shared_ptr<AsyncDataChannel>> connections; in TEST_F() local
248 connections.push_back(sock); in TEST_F()
264 ASSERT_EQ(CONNECTION_COUNT, (int)connections.size()); in TEST_F()
271 std::vector<std::shared_ptr<AsyncDataChannel>> connections; in TEST_F() local
277 connections.push_back(sock); in TEST_F()
306 ASSERT_EQ(1, (int)connections.size()); in TEST_F()
/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/pandora/server/bumble_experimental/
Drfcomm.py59 self.connections = {} # key = id, value = dlc
96 self.connections[new_conn.id] = self.dlc
113 dlc = self.connections[request.connection.id]
/packages/modules/Bluetooth/floss/hcidoc/src/
Dmain.rs9 use crate::groups::{collisions, connections, controllers, informational};
89 engine.add_rule_group("Connections".into(), connections::get_connections_group()); in main()
/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/Bluetooth/floss/hcidoc/src/groups/
Dmod.rs3 pub(crate) mod connections; module
/packages/services/Telecomm/flags/
Dtelecom_remote_connection_service.aconfig8 description: "Sets the telecom call id for remote connections/ conferences."
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/
DREADME.md4 Provides the connectivity manager to manage connections with the peer device.
/packages/modules/DnsResolver/tests/
Ddoh_frontend.h55 int connections() const;
Dresolv_private_dns_test.cpp1174 EXPECT_EQ(doh.connections(), 6); in TEST_F()
1206 EXPECT_EQ(doh.connections(), 1); in TEST_F()
1213 EXPECT_EQ(doh.connections(), 2); in TEST_F()
1249 EXPECT_EQ(doh.connections(), 3); in TEST_F()
1301 EXPECT_EQ(doh.connections(), 1); in TEST_F()
1310 EXPECT_EQ(doh.connections(), 1); in TEST_F()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs64 connections: Vec<Connection>, field
74 connections: vec![], in new()
97 match self.connections.iter().find(|conn| conn.conn_id == conn_id) { in get_address_by_conn_id()
104 match self.connections.iter().find(|conn| conn.conn_id == conn_id) { in get_client_by_conn_id()
111 let client_id = match self.connections.iter().find(|conn| conn.conn_id == conn_id) { in get_client_by_conn_id_mut()
160 self.connections.push(Connection { conn_id, address: *address, client_id, server_id: 0 }); in add_connection()
164 self.connections.retain(|conn| conn.conn_id != conn_id); in remove_connection()
169 .connections in get_conn_id_from_address()
179 self.connections in get_client_ids_from_address()
215 connections: Vec<Connection>, field
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java138 List<SelfManagedConnection> connections) { in SelfManagedCallListAdapter() argument
141 mConnections = connections; in SelfManagedCallListAdapter()
/packages/services/Car/libs/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java17 package com.android.car.obd2.connections;
/packages/services/Iwlan/flags/
Dmain.aconfig37 …description: "Enables a 5G SA capable UE to re-establish PDN connections over Wi-Fi with/without N…
/packages/modules/adb/
DSERVICES.TXT95 Asks the ADB server to forward local connections from <local>
127 Remove all forward network connections.
131 List all existing forward connections from this server.
290 socket connections from a device to the host. <forward-command> is one
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DObd2CollectionTask.java28 import com.android.car.obd2.connections.BluetoothConnection;

12