Home
last modified time | relevance | path

Searched refs:IsConnected (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/bta/csis/
Dcsis_types.h107 bool IsConnected() const { return (conn_id != GATT_INVALID_CONN_ID); } in IsConnected() function
386 [](auto& d) { return d->IsConnected(); }); in GetNumOfConnectedDevices()
426 if (!d->IsConnected()) { in IsAvailableForCsisLockOperation()
462 return dev1->IsConnected(); in SortByCsisRank()
Dcsis_client.cc275 if (device->IsConnected()) { in Disconnect()
325 if (prev_dev->IsConnected()) { in HandleCsisLockProcedureError()
405 } while (!next_dev->IsConnected()); in OnGattCsisWriteLockRsp()
533 while (!csis_device->IsConnected()) { in LockGroup()
551 if ((csis_device->IsConnected()) && in LockGroup()
712 if (device->IsConnected()) BTA_GATTC_Close(device->conn_id); in CleanUp()
762 if (!device->IsConnected()) { in Dump()
1688 !(*iter)->IsConnected()) { in OnCsisSirkValueUpdate()
1714 if (device->IsConnected()) { in DoDisconnectCleanUp()
/packages/modules/Bluetooth/system/bta/vc/
Ddevices.h114 bool IsConnected() { return connection_id != GATT_INVALID_CONN_ID; } in IsConnected() function
228 if (device && device->IsConnected()) in ControlPointOperation()
Dvc.cc127 if (device->IsConnected()) { in Connect()
400 if (!dev || !dev->IsConnected() || (dev->address == device->address)) { in HandleAutonomusVolumeChange()
674 if (!device->IsConnected()) { in OnGattDisconnected()
Ddevice.cc55 if (IsConnected()) { in Disconnect()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_av.cc315 bool IsConnected() const;
459 if (!peer->IsConnected()) { in IsPeerSilenced()
483 if (!peer->IsConnected()) { in SetSilencePeer()
542 if (peer == nullptr || !peer->IsConnected()) { in SetActivePeer()
718 if (peer == nullptr || !peer->IsConnected()) { in SetActivePeer()
1163 bool BtifAvPeer::IsConnected() const { in IsConnected() function in BtifAvPeer
4034 bool connected = peer->IsConnected(); in btif_av_is_connected()
4036 return peer->IsConnected(); in btif_av_is_connected()
4075 if (!peer->IsConnected()) { in btif_av_is_peer_edr()
4094 bool is_connected = peer->IsConnected(); in btif_av_peer_supports_3mbps()
[all …]
/packages/modules/Bluetooth/system/bta/has/
Dhas_client.cc182 if (!device->IsConnected()) in Connect()
496 if (!device.IsConnected()) return ErrorCode::OPERATION_NOT_POSSIBLE; in CpPresetIndexOperationWriteReq()
532 if (device == devices_.end() || !device->IsConnected()) { in AreAllDevicesAvailable()
654 if (!device.IsConnected()) return ErrorCode::OPERATION_NOT_POSSIBLE; in CpPresetsCycleOperationWriteReq()
700 if (!device.IsConnected()) return ErrorCode::OPERATION_NOT_POSSIBLE; in CpWritePresetNameOperationWriteReq()
Dhas_types.h105 bool IsConnected() const { return conn_id != GATT_INVALID_CONN_ID; } in IsConnected() function