Home
last modified time | relevance | path

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

1234

/system/bt/stack/smp/
Dsmp_l2c.cc39 bool connected, uint16_t reason,
45 bool connected, uint16_t reason,
88 const RawAddress& bd_addr, bool connected, in smp_connect_callback() argument
105 if (connected) { in smp_connect_callback()
116 (connected) ? "connected" : "disconnected"); in smp_connect_callback()
118 if (connected) { in smp_connect_callback()
228 bool connected, uint16_t reason, in smp_br_connect_callback() argument
243 << " Event: " << ((connected) ? "connected" : "disconnected"); in smp_br_connect_callback()
247 if (connected) { in smp_br_connect_callback()
/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", connected, conn_id); in srvc_eng_connect_cback()
334 if (connected) { in srvc_eng_connect_cback()
Dsrvc_eng_int.h39 bool connected; member
/system/security/keystore2/src/
Dshared_secret_negotiation.rs43 let connected = connect_participants(participants); in perform_shared_secret_negotiation() localVariable
44 negotiate_shared_secret(connected); in perform_shared_secret_negotiation()
171 let (connected, not_connected) = participants.into_iter().fold( in connect_participants()
173 |(mut connected, mut failed), e| { in connect_participants()
189 Ok(service) => connected in connect_participants()
225 Ok(service) => connected.push(( in connect_participants()
232 (connected, failed) in connect_participants()
236 connected_participants = connected; in connect_participants()
/system/bt/stack/gap/
Dgap_ble.cc46 bool connected; member
94 if (cb.connected && cb.conn_id == conn_id) return &cb; in ble_find_clcb_by_conn_id()
283 if (clcb.connected) { in cl_op_cmpl()
293 bool connected, tGATT_DISCONN_REASON reason, in client_connect_cback() argument
298 PRIVATE_ADDRESS(bda), (connected) ? "Connected" : "Disconnected"); in client_connect_cback()
302 if (connected) { in client_connect_cback()
305 p_clcb->connected = true; in client_connect_cback()
310 p_clcb->connected = false; in client_connect_cback()
381 p_clcb->connected = true; in accept_client_operation()
389 if (p_clcb->connected && p_clcb->cl_op_uuid == 0) in accept_client_operation()
[all …]
/system/bt/btif/avrcp/
Davrcp_service.h66 void SetBipClientStatus(const RawAddress& bdaddr, bool connected);
83 void SetBipClientStatus(const RawAddress& bdaddr, bool connected) override;
Davrcp_service.cc394 bool connected) { in SetBipClientStatus() argument
396 << ", connected=" << connected; in SetBipClientStatus()
397 connection_handler_->SetBipClientStatus(bdaddr, connected); in SetBipClientStatus()
495 const RawAddress& bdaddr, bool connected) { in SetBipClientStatus() argument
500 connected)); in SetBipClientStatus()
/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_INFO("%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.cc61 unsigned connected : 1; // is connected? member
281 sock->connected = false; in btsock_l2cap_alloc_l()
434 accept_rs->connected = true; in on_srv_l2cap_psm_connect_l()
501 sock->connected = true; in on_cl_l2cap_psm_connect_l()
856 if (sock->connected) { in btsock_l2cap_signaled()
896 if (flush_incoming_que_on_wr_signal_l(sock) && sock->connected) in btsock_l2cap_signaled()
/system/bt/stack/gatt/
Dgatt_attr.cc65 bool connected, tGATT_DISCONN_REASON reason,
152 if (p_clcb->in_use && p_clcb->transport == transport && p_clcb->connected && in gatt_profile_find_clcb_by_bd_addr()
182 p_clcb->connected = true; in gatt_profile_clcb_alloc()
331 bool connected, tGATT_DISCONN_REASON reason, in gatt_connect_cback() argument
333 VLOG(1) << __func__ << ": from " << bda << " connected: " << connected in gatt_connect_cback()
337 if (!connected && !btm_sec_is_a_bonded_dev(bda)) { in gatt_connect_cback()
347 if (connected) { in gatt_connect_cback()
349 p_clcb->connected = true; in gatt_connect_cback()
693 p_clcb->connected = true; in GATT_ConfigServiceChangeCCC()
699 if (!p_clcb->connected) { in GATT_ConfigServiceChangeCCC()
/system/bt/stack/btm/
Dbtm_ble_bgconn.cc179 const bool connected = in background_connections_pending() local
181 if (!connected) { in background_connections_pending()
306 const bool connected = in btm_execute_wl_dev_operation() local
308 if (!connection->in_controller_wl && !connected) { in btm_execute_wl_dev_operation()
314 } else if (connection->in_controller_wl && connected) { in btm_execute_wl_dev_operation()
/system/bt/bta/gatt/
Dbta_gatts_act.cc44 uint16_t conn_id, bool connected,
585 uint16_t conn_id, bool connected, in bta_gatts_conn_cback() argument
589 uint8_t evt = connected ? BTA_GATTS_CONNECT_EVT : BTA_GATTS_DISCONNECT_EVT; in bta_gatts_conn_cback()
593 << ", conn_id=" << loghex(conn_id) << " connected=" << connected; in bta_gatts_conn_cback()
595 if (connected) in bta_gatts_conn_cback()
605 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/bt/test/headless/
DREADME.md10 2. Root access to adb connected Android device.
/system/bt/service/
Dadapter.cc156 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() argument
691 bool connected = (state == BT_ACL_STATE_CONNECTED); in AclStateChangedCallback() local
693 << " - connected: " << (connected ? "true" : "false"); in AclStateChangedCallback()
705 if (connected) in AclStateChangedCallback()
713 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/
DIBluetoothGattServerCallback.aidl27 in boolean connected, in String address); in onServerConnectionState() argument
DIBluetoothGattCallback.aidl28 in boolean connected, in String address); in onClientConnectionState() argument
/system/libsysprop/srcs/android/sysprop/
DPowerProperties.sysprop29 # the device will drain battery even when connected to a power source.
/system/bt/profile/avrcp/
Dconnection_handler.h119 virtual void SetBipClientStatus(const RawAddress& bdaddr, bool connected);

1234