Searched refs:BtScoState (Results 1 – 4 of 4) sorted by relevance
35 enum BtScoState { enum54 BtScoState GetBtScoState();55 void SetBtScoState(BtScoState state);72 std::atomic<BtScoState> btScoState_{BtScoState::SCO_STATE_DISCONNECTED};
34 BtScoState GetBtScoState();
77 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 …]
66 BtScoState BluetoothCallManager::GetBtScoState() in GetBtScoState()70 return BtScoState::SCO_STATE_UNKNOWN; in GetBtScoState()