Home
last modified time | relevance | path

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

12

/system/bt/stack/btm/
Dbtm_ble_bgconn.cc74 BackgroundConnection* connection = &map_iter->second; in background_connection_add() local
75 connection->addr_type = addr_type; in background_connection_add()
76 connection->pending_removal = false; in background_connection_add()
95 BackgroundConnection* connection = &map_el.second; in background_connections_pending() local
96 if (connection->pending_removal) continue; in background_connections_pending()
98 BTM_IsAclConnectionUp(connection->address, BT_TRANSPORT_LE); in background_connections_pending()
157 BackgroundConnection* connection = &map_it->second; in btm_ble_bgconn_cancel_if_disconnected() local
158 if (!connection->in_controller_wl && !connection->pending_removal && in btm_ble_bgconn_cancel_if_disconnected()
266 BackgroundConnection* connection = &map_it->second; in btm_execute_wl_dev_operation() local
267 if (connection->pending_removal) { in btm_execute_wl_dev_operation()
[all …]
/system/core/adb/
Dtransport_benchmark.cpp129 static const auto handle_packet = [](Connection* connection, std::unique_ptr<apacket> packet) { in BM_Connection_Echo() argument
130 connection->Write(std::move(packet)); in BM_Connection_Echo()
133 server->SetReadCallback([](Connection* connection, std::unique_ptr<apacket> packet) -> bool { in BM_Connection_Echo() argument
136 fdevent_run_on_main_thread([connection, raw_packet]() { in BM_Connection_Echo()
138 handle_packet(connection, std::move(packet)); in BM_Connection_Echo()
141 handle_packet(connection, std::move(packet)); in BM_Connection_Echo()
Dprotocol.txt42 connection. The protocol depends on shared state and any break in the
70 Both sides send a CONNECT message when the connection between them is
75 large maxdata value, the connection with the other side must be closed.
112 the connection has been established (and identifying the other end) or
142 is used to establish the connection). Nonetheless, the local-id MUST
161 the connection.
168 The CLOSE message informs recipient that the connection between the
189 outbound messages are discarded when the connection to the remote side
193 * when the connection to the remote side goes offline, the io pump
195 * when the connection to the remote side is established, the io pump
[all …]
DSERVICES.TXT21 the connection is closed
25 connection. Instead, a new device list description is sent
42 Ask to switch the connection to the device/emulator identified by
48 Ask to switch the connection to one device connected through USB
53 Ask to switch the connection to one emulator connected through TCP.
58 Another host:transport variant. Ask to switch the connection to
105 tcp:<port> -> TCP connection on localhost:<port>
118 fail it there is already a forward connection from <local>.
123 Remove any existing forward local connection from <local>.
217 the framebuffer device, the connection is simply closed immediately.
Dtransport.cpp265 BlockingConnectionAdapter::BlockingConnectionAdapter(std::unique_ptr<BlockingConnection> connection) in BlockingConnectionAdapter() argument
266 : underlying_(std::move(connection)) {} in BlockingConnectionAdapter()
683 t->connection()->SetTransportName(t->serial_name()); in transport_registration_func()
684 t->connection()->SetReadCallback([t](Connection*, std::unique_ptr<apacket> p) { in transport_registration_func()
697 t->connection()->SetErrorCallback([t](Connection*, const std::string& error) { in transport_registration_func()
705 t->connection()->Start(); in transport_registration_func()
786 t->connection()->Stop(); in transport_unref()
971 return this->connection()->Write(std::unique_ptr<apacket>(p)) ? 0 : -1; in Write()
977 this->connection()->Reset(); in Reset()
984 this->connection()->Stop(); in Kick()
[all …]
DOVERVIEW.TXT72 its role is to initiate the connection, then of being a pass-through
106 Note that the connection is still alive after an OKAY, which allows the
108 change the state of the connection.
120 An ADB transport models a connection between the ADB server and one device
129 a connection between an ADB server and a device/emulator connected to/
Dtransport_usb.cpp185 auto connection = std::make_unique<UsbConnection>(h); in init_usb_transport() local
186 t->SetConnection(std::make_unique<BlockingConnectionAdapter>(std::move(connection))); in init_usb_transport()
Dtransport.h136 explicit BlockingConnectionAdapter(std::unique_ptr<BlockingConnection> connection);
256 void SetConnection(std::unique_ptr<Connection> connection);
257 std::shared_ptr<Connection> connection() { in connection() function
/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.cc181 for (auto& connection : connection_ids_) { in MtuChangedCallback() local
182 if (connection.second == conn_id) { in MtuChangedCallback()
183 bda = &connection.first; in MtuChangedCallback()
/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/28.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/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/29.0/public/
Dvr_hwc.te25 # Allow connection to VR DisplayClient to get the primary display metadata
/system/sepolicy/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/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
/system/sepolicy/private/
Dincident.te15 # connection.
Dstats.te12 # connection.
/system/sepolicy/prebuilts/api/29.0/private/
Dincident.te15 # connection.
Dstats.te12 # connection.
/system/bt/doc/
Dpower_management.md35 Overall power states are managed *per device*, not per connection, but the power
39 connection is up which specifies it is willing to go into SNIFF, but its action
62 action that `bta_dm_pm_set_mode` will take, the connection will be removed
107 connection if it's supposed to be managed according to the power spec
121 - For each managed connection, `bta_dm_pm_set_mode` grabs
136 request to enable PARK for the given peer and connection.

12