Home
last modified time | relevance | path

Searched refs:connected (Results 1 – 25 of 79) sorted by relevance

1234

/system/bt/stack/srvc/
Dsrvc_eng.cc33 bool connected, tGATT_DISCONN_REASON reason,
74 if (p_clcb->in_use && p_clcb->connected && p_clcb->bda == bda) { in srvc_eng_find_conn_id_by_bd_addr()
97 if (p_clcb->in_use && p_clcb->connected && p_clcb->bda == bda) { in srvc_eng_find_clcb_by_bd_addr()
119 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) { in srvc_eng_find_clcb_by_conn_id()
141 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) { in srvc_eng_find_clcb_idx_by_conn_id()
167 p_clcb->connected = true; in srvc_eng_clcb_alloc()
189 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) { in srvc_eng_clcb_dealloc()
329 bool connected, tGATT_DISCONN_REASON reason, in srvc_eng_connect_cback() argument
332 << StringPrintf(" connected:%d conn_id=%d reason = 0x%04x", connected, in srvc_eng_connect_cback()
335 if (connected) { in srvc_eng_connect_cback()
Dsrvc_eng_int.h39 bool connected; member
/system/bt/stack/gatt/
Dgatt_attr.cc51 bool connected, tGATT_DISCONN_REASON reason,
130 if (p_clcb->in_use && p_clcb->transport == transport && p_clcb->connected && in gatt_profile_find_clcb_by_bd_addr()
160 p_clcb->connected = true; in gatt_profile_clcb_alloc()
243 bool connected, tGATT_DISCONN_REASON reason, in gatt_connect_cback() argument
245 VLOG(1) << __func__ << ": from " << bda << " connected: " << connected in gatt_connect_cback()
252 if (connected) { in gatt_connect_cback()
254 p_clcb->connected = true; in gatt_connect_cback()
441 p_clcb->connected = true; in GATT_ConfigServiceChangeCCC()
447 if (!p_clcb->connected) { in GATT_ConfigServiceChangeCCC()
/system/bt/stack/smp/
Dsmp_l2c.cc38 bool connected, uint16_t reason,
44 bool connected, uint16_t reason,
94 bool connected, uint16_t reason, in smp_connect_callback() argument
107 << " Event: " << ((connected) ? "connected" : "disconnected"); in smp_connect_callback()
109 if (connected) { in smp_connect_callback()
246 bool connected, uint16_t reason, in smp_br_connect_callback() argument
261 << " Event: " << ((connected) ? "connected" : "disconnected"); in smp_br_connect_callback()
265 if (connected) { in smp_br_connect_callback()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection.h32 void SetConnected(bool connected) { in SetConnected() argument
33 connected_ = connected; in SetConnected()
Dacl_connection_handler.cc95 void AclConnectionHandler::SetConnected(uint16_t handle, bool connected) { in SetConnected() argument
99 acl_connections_.at(handle).SetConnected(connected); in SetConnected()
Dacl_connection_handler.h46 void SetConnected(uint16_t handle, bool connected);
/system/bt/stack/gap/
Dgap_ble.cc43 bool connected; member
89 if (cb.connected && cb.conn_id == conn_id) return &cb; in ble_find_clcb_by_conn_id()
278 if (clcb.connected) { in cl_op_cmpl()
288 bool connected, tGATT_DISCONN_REASON reason, in client_connect_cback() argument
293 if (connected) { in client_connect_cback()
295 p_clcb->connected = true; in client_connect_cback()
299 p_clcb->connected = false; in client_connect_cback()
370 p_clcb->connected = true; in accept_client_operation()
378 if (p_clcb->connected && p_clcb->cl_op_uuid == 0) in accept_client_operation()
570 if (!p_clcb->connected) { in GAP_BleCancelReadPeerDevName()
/system/bt/service/ipc/binder/
Dbluetooth_low_energy_binder_server.cc122 bool connected) { in OnConnectionState() argument
123 VLOG(2) << __func__ << " address: " << address << " connected: " << connected; in OnConnectionState()
133 String16(address, std::strlen(address)), connected); in OnConnectionState()
Dbluetooth_low_energy_binder_server.h67 const char* address, bool connected) override;
/system/bt/service/common/android/bluetooth/
DIBluetoothLowEnergyCallback.aidl24 void OnConnectionState(int status, int client_id, String address, boolean connected); in OnConnectionState() argument
DIBluetoothCallback.aidl26 boolean connected); in OnDeviceConnectionStateChanged() argument
DIBluetoothGattServerCallback.aidl46 void OnConnectionStateChanged(String device_address, boolean connected); in OnConnectionStateChanged() argument
/system/bt/stack/btm/
Dbtm_ble_bgconn.cc97 const bool connected = in background_connections_pending() local
99 if (!connected) { in background_connections_pending()
277 const bool connected = in btm_execute_wl_dev_operation() local
279 if (!connection->in_controller_wl && !connected) { in btm_execute_wl_dev_operation()
284 } else if (connection->in_controller_wl && connected) { in btm_execute_wl_dev_operation()
/system/bt/btif/src/
Dbtif_gatt_test.cc70 uint16_t conn_id, bool connected, in btif_test_connect_cback() argument
73 connected); in btif_test_connect_cback()
74 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback()
Dbtif_sock_l2cap.cc83 unsigned connected : 1; // is connected? member
309 sock->connected = false; in btsock_l2cap_alloc_l()
458 accept_rs->connected = true; in on_srv_l2cap_psm_connect_l()
513 accept_rs->connected = true; in on_srv_l2cap_le_connect_l()
573 sock->connected = true; in on_cl_l2cap_psm_connect_l()
604 sock->connected = true; in on_cl_l2cap_le_connect_l()
1012 if (sock->connected) { in btsock_l2cap_signaled()
1058 if (flush_incoming_que_on_wr_signal_l(sock) && sock->connected) in btsock_l2cap_signaled()
/system/bt/stack/include/
Dl2cap_client.h29 void (*connected)(l2cap_client_t* client, void* context); member
/system/core/adb/
DOVERVIEW.TXT8 connected to or running on a given host developer machine
22 It thus maintains a list of "connected devices" and assigns a 'state'
39 connected to the adbd program within it. Otherwise, the device is OFFLINE,
125 - Local transports, for emulators running on the host, connected to
129 a connection between an ADB server and a device/emulator connected to/
/system/bt/bta/gatt/
Dbta_gatts_act.cc48 uint16_t conn_id, bool connected,
586 uint16_t conn_id, bool connected, in bta_gatts_conn_cback() argument
590 uint8_t evt = connected ? BTA_GATTS_CONNECT_EVT : BTA_GATTS_DISCONNECT_EVT; in bta_gatts_conn_cback()
594 << ", conn_id=" << loghex(conn_id) << " connected=" << connected in bta_gatts_conn_cback()
597 if (connected) in bta_gatts_conn_cback()
607 if (connected) in bta_gatts_conn_cback()
/system/bt/proto/bluetooth/metrics/
Dbluetooth.proto115 // The information about the device which it is connected to.
284 // Number of times that this profile is connected since last metrics dump
296 // Type of headset profile connected
299 // Number of times this type of headset profile is connected
/system/core/deprecated-adf/libadfhwc/include/adfhwc/
Dadfhwc.h38 void (*hotplug)(void *data, int disp, bool connected);
/system/bt/service/
Dadapter.cc155 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() argument
687 bool connected = (state == BT_ACL_STATE_CONNECTED); in AclStateChangedCallback() local
689 << " - connected: " << (connected ? "true" : "false"); in AclStateChangedCallback()
701 if (connected) in AclStateChangedCallback()
709 observer.OnDeviceConnectionStateChanged(this, device_address, connected); in AclStateChangedCallback()
Dgatt_server.h105 bool connected) = 0;
196 int server_id, int connected,
/system/bt/binder/android/bluetooth/
DIBluetoothGattCallback.aidl28 in boolean connected, in String address); in onClientConnectionState() argument
DIBluetoothGattServerCallback.aidl27 in boolean connected, in String address); in onServerConnectionState() argument

1234