Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 76) sorted by relevance

1234

/system/bt/gd/hci/facade/
Dacl_manager_facade.cc56 for (auto& connection : acl_connections_) { in ~AclManagerFacadeService() local
57 connection.second.connection_->GetAclQueueEnd()->UnregisterDequeue(); in ~AclManagerFacadeService()
79 auto connection = acl_connections_.find(request->handle()); in Disconnect() local
80 if (connection == acl_connections_.end()) { in Disconnect()
84connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
92 auto connection = acl_connections_.find(request->handle()); in AuthenticationRequested() local
93 if (connection == acl_connections_.end()) { in AuthenticationRequested()
97 connection->second.connection_->AuthenticationRequested(); in AuthenticationRequested()
103 std::map<uint16_t, Connection>::iterator connection; \
109 connection = acl_connections_.find(view.GetConnectionHandle()); \
[all …]
Dle_acl_manager_facade.cc96 auto connection = acl_connections_.find(request->handle()); in Disconnect() local
97 if (connection == acl_connections_.end()) { in Disconnect()
101connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
107 std::map<uint16_t, Connection>::iterator connection; \
113 connection = acl_connections_.find(view.GetConnectionHandle()); \
114 if (connection == acl_connections_.end()) { \
133 connection->second.connection_->Disconnect(view.GetReason()); in ConnectionCommand()
160 auto connection = acl_connections_.find(request->handle()); in SendAclData() local
161 if (connection == acl_connections_.end()) { in SendAclData()
164 connection->second.connection_->GetAclQueueEnd()->RegisterEnqueue( in SendAclData()
[all …]
/system/bt/stack/btm/
Dbtm_ble_bgconn.cc149 BackgroundConnection* connection = &map_iter->second; in background_connection_add() local
150 if (addr_type != connection->addr_type) { in background_connection_add()
153 connection->addr_type_in_wl, connection->address, in background_connection_add()
155 connection->addr_type = addr_type; in background_connection_add()
156 connection->in_controller_wl = false; in background_connection_add()
158 connection->pending_removal = false; in background_connection_add()
177 BackgroundConnection* connection = &map_el.second; in background_connections_pending() local
178 if (connection->pending_removal) continue; in background_connections_pending()
180 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
295 BackgroundConnection* connection = &map_it->second; in btm_execute_wl_dev_operation() local
[all …]
/system/bt/main/shim/
Dacl_legacy_interface.cc34 .connection.classic.on_connected = on_acl_br_edr_connected, in GetAclInterface()
35 .connection.classic.on_failed = on_acl_br_edr_failed, in GetAclInterface()
36 .connection.classic.on_disconnected = btm_acl_disconnected, in GetAclInterface()
38 .connection.le.on_connected = in GetAclInterface()
40 .connection.le.on_failed = acl_ble_connection_fail, in GetAclInterface()
41 .connection.le.on_disconnected = btm_acl_disconnected, in GetAclInterface()
43 .connection.sco.on_esco_connect_request = btm_sco_on_esco_connect_request, in GetAclInterface()
44 .connection.sco.on_sco_connect_request = btm_sco_on_sco_connect_request, in GetAclInterface()
45 .connection.sco.on_disconnected = btm_sco_on_disconnected, in GetAclInterface()
Dacl.cc223 ASSERT_LOG(acl_interface.connection.classic.on_connected != nullptr, in ValidateAclInterface()
225 ASSERT_LOG(acl_interface.connection.classic.on_failed != nullptr, in ValidateAclInterface()
228 acl_interface.connection.classic.on_disconnected != nullptr, in ValidateAclInterface()
231 ASSERT_LOG(acl_interface.connection.le.on_connected != nullptr, in ValidateAclInterface()
233 ASSERT_LOG(acl_interface.connection.le.on_failed != nullptr, in ValidateAclInterface()
235 ASSERT_LOG(acl_interface.connection.le.on_disconnected != nullptr, in ValidateAclInterface()
379 std::unique_ptr<hci::acl_manager::ClassicAclConnection> connection, in ClassicShimAclConnection() argument
381 : ShimAclConnection(connection->GetHandle(), send_data_upwards, handler, in ClassicShimAclConnection()
382 connection->GetAclQueueEnd(), creation_time), in ClassicShimAclConnection()
385 connection_(std::move(connection)) {} in ClassicShimAclConnection()
[all …]
/system/bt/main/test/
Dmain_shim_test.cc126 .connection.classic.on_connected = mock_connection_classic_on_connected, in GetMockAclInterface()
127 .connection.classic.on_failed = mock_connection_classic_on_failed, in GetMockAclInterface()
128 .connection.classic.on_disconnected = in GetMockAclInterface()
131 .connection.le.on_connected = mock_connection_le_on_connected, in GetMockAclInterface()
132 .connection.le.on_failed = mock_connection_le_on_failed, in GetMockAclInterface()
133 .connection.le.on_disconnected = mock_connection_le_on_disconnected, in GetMockAclInterface()
135 .connection.sco.on_esco_connect_request = nullptr, in GetMockAclInterface()
136 .connection.sco.on_sco_connect_request = nullptr, in GetMockAclInterface()
137 .connection.sco.on_disconnected = nullptr, in GetMockAclInterface()
342 auto connection = std::make_unique<MockClassicAclConnection>(address, 123); in TEST_F() local
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection_handler.cc75 auto connection = std::get<AclConnection>(pair); in CreatePendingLeConnection() local
76 if (connection.GetAddress() == addr) { in CreatePendingLeConnection()
185 auto connection = acl_connections_.at(handle); in SetAddress() local
186 connection.SetAddress(address); in SetAddress()
241 CisHandles connection; in ConnectCis() local
245 connection = pending_streams_[position]; in ConnectCis()
247 connected_streams_.push_back(connection); in ConnectCis()
248 ASSERT(connection.cis_handle_ != kReservedHandle); in ConnectCis()
249 ASSERT(connection.acl_handle_ != kReservedHandle); in ConnectCis()
250 ASSERT(connection.remote_cis_handle_ != kReservedHandle); in ConnectCis()
/system/bt/gd/cert/
Dpy_le_acl_manager.py85 for connection in self.active_connections:
86 safeClose(connection)
125connection = PyLeAclManagerAclConnection(self.le_acl_manager, address, remote, handle, event_strea…
126 self.active_connections.append(connection)
127 return connection
/system/bt/service/
Dgatt_server.cc138 std::shared_ptr<Connection> connection; in SendResponse() local
144 connection = tmp; in SendResponse()
147 if (!connection) { in SendResponse()
158 int handle = connection->request_id_to_handle[request_id]; in SendResponse()
170 ->send_response(connection->conn_id, request_id, error, response); in SendResponse()
176 connection->request_id_to_handle.erase(request_id); in SendResponse()
287 std::shared_ptr<Connection> connection(new Connection(conn_id, bda)); in ConnectionCallback() local
288 conn_id_map_[conn_id] = connection; in ConnectionCallback()
289 conn_addr_map_[device_address].push_back(connection); in ConnectionCallback()
Dlow_energy_client.cc184 for (auto& connection : connection_ids_) { in MtuChangedCallback() local
185 if (connection.second == conn_id) { in MtuChangedCallback()
186 bda = &connection.first; in MtuChangedCallback()
/system/bt/gd/rust/linux/service/src/
Dmain.rs11 use dbus_tokio::connection;
41 let (resource, conn) = connection::new_system_sync()?; in main()
/system/bt/gd/hci/acl_manager/
Dle_impl.h114 auto connection = le_acl_connections_.find(handle); in get_callbacks() local
115 if (connection == le_acl_connections_.end()) { in get_callbacks()
118 return connection->second.le_connection_management_callbacks_; in get_callbacks()
192 std::unique_ptr<LeAclConnection> connection(new LeAclConnection( in on_le_connection_complete()
194 connection_proxy.le_connection_management_callbacks_ = connection->GetEventCallbacks(); in on_le_connection_complete()
197 std::move(connection))); in on_le_connection_complete()
258 std::unique_ptr<LeAclConnection> connection(new LeAclConnection( in on_le_enhanced_connection_complete()
260 connection_proxy.le_connection_management_callbacks_ = connection->GetEventCallbacks(); in on_le_enhanced_connection_complete()
263 std::move(connection))); in on_le_enhanced_connection_complete()
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dmain.rs6 use dbus_tokio::connection;
14 let (resource, c) = connection::new_system_sync()?; in main()
/system/sepolicy/prebuilts/api/28.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/prebuilts/api/27.0/private/
Dincident.te12 # connection.
/system/sepolicy/prebuilts/api/27.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/prebuilts/api/26.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/prebuilts/api/26.0/private/
Dincident.te12 # connection.
/system/sepolicy/prebuilts/api/29.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/prebuilts/api/31.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/prebuilts/api/30.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/prebuilts/api/28.0/private/
Dstats.te12 # connection.
Dincident.te15 # connection.
/system/sepolicy/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/bt/service/doc/
DIBluetoothGattClient.txt54 * IBluetoothGattClientCallback callbacks. Based on the current connection and
67 * this function will try to raise the connection security level based on the
88 * permissions, this function will try to raise the connection security level
105 * this function will try to raise the connection security level based on the
126 * permissions, this function will try to raise the connection security level

1234