Home
last modified time | relevance | path

Searched refs:ConnectionState (Results 1 – 7 of 7) sorted by relevance

/system/bt/include/hardware/
Dbt_hearing_aid.h25 enum class ConnectionState { enum
37 virtual void OnConnectionState(ConnectionState state,
/system/core/adb/
Dadb.h97 enum ConnectionState { enum
114 inline bool ConnectionStateIsOnline(ConnectionState state) { in ConnectionStateIsOnline()
207 ConnectionState connection_state(atransport* t);
Dtransport.h231 atransport(ReconnectCallback reconnect, ConnectionState state) in atransport()
243 atransport(ConnectionState state = kCsOffline)
253 ConnectionState GetConnectionState() const;
254 void SetConnectionState(ConnectionState state);
347 std::atomic<ConnectionState> connection_state_;
Dservices.cpp100 ConnectionState state;
Dtransport.cpp905 ConnectionState state = result->GetConnectionState(); in acquire_one_transport()
988 ConnectionState atransport::GetConnectionState() const { in GetConnectionState()
992 void atransport::SetConnectionState(ConnectionState state) { in SetConnectionState()
1003 ConnectionState state = GetConnectionState(); in connection_state_name()
/system/bt/btif/src/
Dbtif_hearing_aid.cc34 using bluetooth::hearing_aid::ConnectionState;
68 void OnConnectionState(ConnectionState state, in OnConnectionState()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc38 using bluetooth::hearing_aid::ConnectionState;
369 callbacks->OnConnectionState(ConnectionState::DISCONNECTED, address); in OnGattConnected()
553 callbacks->OnConnectionState(ConnectionState::DISCONNECTED, address); in OnEncryptionComplete()
613 callbacks->OnConnectionState(ConnectionState::DISCONNECTED, in OnServiceSearchComplete()
636 callbacks->OnConnectionState(ConnectionState::DISCONNECTED, in OnServiceSearchComplete()
968 callbacks->OnConnectionState(ConnectionState::CONNECTED, address); in OnGapConnection()
1460 callbacks->OnConnectionState(ConnectionState::DISCONNECTED, address); in Disconnect()
1482 callbacks->OnConnectionState(ConnectionState::DISCONNECTED, remote_bda); in OnGattDisconnected()