Home
last modified time | relevance | path

Searched refs:BtScoState (Results 1 – 4 of 4) sorted by relevance

/base/telephony/call_manager/services/bluetooth/include/
Dbluetooth_connection.h35 enum BtScoState { enum
54 BtScoState GetBtScoState();
55 void SetBtScoState(BtScoState state);
72 std::atomic<BtScoState> btScoState_{BtScoState::SCO_STATE_DISCONNECTED};
Dbluetooth_call_manager.h34 BtScoState GetBtScoState();
/base/telephony/call_manager/services/bluetooth/src/
Dbluetooth_connection.cpp77 if (btScoState_.load() == BtScoState::SCO_STATE_CONNECTED) { in ConnectBtSco()
117 if (btScoState_.load() == BtScoState::SCO_STATE_DISCONNECTED) { in DisconnectBtSco()
136 …if (bluetoothAddress == GetConnectedScoAddr() && btScoState_.load() == BtScoState::SCO_STATE_CONNE… in ConnectBtSco()
158 btScoState_.store(BtScoState::SCO_STATE_CONNECTED); in ConnectBtSco()
176 btScoState_.store(BtScoState::SCO_STATE_DISCONNECTED); in DisconnectBtSco()
199 return btScoState_.load() == BtScoState::SCO_STATE_CONNECTED; in IsBtScoConnected()
202 void BluetoothConnection::SetBtScoState(BtScoState state) in SetBtScoState()
225 BtScoState BluetoothConnection::GetBtScoState() in GetBtScoState()
227 BtScoState btScoState = btScoState_.load(); in GetBtScoState()
253 btScoState_.store(BtScoState::SCO_STATE_DISCONNECTED); in ResetBtConnection()
[all …]
Dbluetooth_call_manager.cpp66 BtScoState BluetoothCallManager::GetBtScoState() in GetBtScoState()
70 return BtScoState::SCO_STATE_UNKNOWN; in GetBtScoState()