Home
last modified time | relevance | path

Searched refs:BluetoothStreamState (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/audio/aidl/default/bluetooth/
DDevicePortProxy.cpp50 std::ostream& operator<<(std::ostream& os, const BluetoothStreamState& state) { in operator <<()
52 case BluetoothStreamState::DISABLED: in operator <<()
54 case BluetoothStreamState::STANDBY: in operator <<()
56 case BluetoothStreamState::STARTING: in operator <<()
58 case BluetoothStreamState::STARTED: in operator <<()
60 case BluetoothStreamState::SUSPENDING: in operator <<()
62 case BluetoothStreamState::UNKNOWN: in operator <<()
71 mState(BluetoothStreamState::DISABLED), in BluetoothAudioPortAidl()
103 mState = BluetoothStreamState::STANDBY; in registerPort()
178 BluetoothStreamState previous_state = mState; in controlResultHandler()
[all …]
DStreamBluetooth.cpp44 using android::bluetooth::audio::aidl::BluetoothStreamState;
98 if (mBtDeviceProxy == nullptr || mBtDeviceProxy->getState() == BluetoothStreamState::DISABLED) { in transfer()
160 if (mBtDeviceProxy->getState() != BluetoothStreamState::DISABLED) { in prepareToClose()
209 if (proxy->suspend()) return proxy->setState(BluetoothStreamState::DISABLED); in bluetoothParametersUpdated()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DDevicePortProxy.h34 enum class BluetoothStreamState : uint8_t { enum
43 std::ostream& operator<<(std::ostream& os, const BluetoothStreamState& state);
132 virtual BluetoothStreamState getState() const = 0;
137 virtual bool setState(BluetoothStreamState) = 0;
181 BluetoothStreamState getState() const override NO_THREAD_SAFETY_ANALYSIS;
183 bool setState(BluetoothStreamState state) override;
193 BluetoothStreamState mState GUARDED_BY(mCvMutex);
214 bool condWaitState(BluetoothStreamState state);