Home
last modified time | relevance | path

Searched refs:connected (Results 1 – 25 of 81) 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/smp/
Dsmp_l2c.cc38 bool connected, uint16_t reason,
44 bool connected, uint16_t reason,
88 bool connected, uint16_t reason, in smp_connect_callback() argument
101 << " Event: " << ((connected) ? "connected" : "disconnected"); in smp_connect_callback()
103 if (connected) { in smp_connect_callback()
240 bool connected, uint16_t reason, in smp_br_connect_callback() argument
255 << " Event: " << ((connected) ? "connected" : "disconnected"); in smp_br_connect_callback()
259 if (connected) { in smp_br_connect_callback()
/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()
573 if (!p_clcb->connected) { in GAP_BleCancelReadPeerDevName()
/system/bt/stack/gatt/
Dgatt_attr.cc57 bool connected, tGATT_DISCONN_REASON reason,
135 if (p_clcb->in_use && p_clcb->transport == transport && p_clcb->connected && in gatt_profile_find_clcb_by_bd_addr()
165 p_clcb->connected = true; in gatt_profile_clcb_alloc()
309 bool connected, tGATT_DISCONN_REASON reason, in gatt_connect_cback() argument
311 VLOG(1) << __func__ << ": from " << bda << " connected: " << connected in gatt_connect_cback()
318 if (connected) { in gatt_connect_cback()
320 p_clcb->connected = true; in gatt_connect_cback()
649 p_clcb->connected = true; in GATT_ConfigServiceChangeCCC()
655 if (!p_clcb->connected) { in GATT_ConfigServiceChangeCCC()
/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/btif/src/
Dbtif_gatt_test.cc70 uint16_t conn_id, bool connected, in btif_test_connect_cback() argument
72 LOG_DEBUG("%s: conn_id=%d, connected=%d", __func__, conn_id, connected); in btif_test_connect_cback()
73 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback()
Dbtif_sock_l2cap.cc83 unsigned connected : 1; // is connected? member
315 sock->connected = false; in btsock_l2cap_alloc_l()
465 accept_rs->connected = true; in on_srv_l2cap_psm_connect_l()
520 accept_rs->connected = true; in on_srv_l2cap_le_connect_l()
580 sock->connected = true; in on_cl_l2cap_psm_connect_l()
611 sock->connected = true; in on_cl_l2cap_le_connect_l()
1019 if (sock->connected) { in btsock_l2cap_signaled()
1065 if (flush_incoming_que_on_wr_signal_l(sock) && sock->connected) in btsock_l2cap_signaled()
/system/bt/stack/btm/
Dbtm_ble_bgconn.cc105 const bool connected = in background_connections_pending() local
107 if (!connected) { in background_connections_pending()
282 const bool connected = in btm_execute_wl_dev_operation() local
284 if (!connection->in_controller_wl && !connected) { in btm_execute_wl_dev_operation()
289 } else if (connection->in_controller_wl && connected) { in btm_execute_wl_dev_operation()
/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/gd/proto/bluetooth/metrics/
Dbluetooth.proto113 // The information about the device which it is connected to.
279 // Number of times that this profile is connected since last metrics dump
291 // Type of headset profile connected
294 // 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
/system/bt/main/shim/
Dl2cap.cc261 bool connected) { in OnLocalInitiatedConnectionCreated() argument
264 if (connected) { in OnLocalInitiatedConnectionCreated()
271 cid, connected ? (kConnectionSuccess) : (kConnectionFail)); in OnLocalInitiatedConnectionCreated()
274 if (connected) { in OnLocalInitiatedConnectionCreated()
/system/bt/service/example/heart_rate/
Dheart_rate_server.h82 bool connected) override;
/system/bt/service/test/
Dgatt_server_unittest.cc66 connected(false) {} in RequestData()
79 bool connected; member
154 bool connected) override { in OnConnectionStateChanged() argument
157 conn_state_changed_.connected = connected; in OnConnectionStateChanged()
Dadapter_unittest.cc95 bool connected) override { in OnDeviceConnectionStateChanged() argument
98 last_device_connected_state_ = connected; in OnDeviceConnectionStateChanged()

1234