Home
last modified time | relevance | path

Searched refs:DeviceSwitchBehavior (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/audio/aidl/default/primary/
DStreamPrimary.cpp123 StreamSwitcher::DeviceSwitchBehavior StreamInPrimary::switchCurrentStream( in switchCurrentStream()
129 return DeviceSwitchBehavior::UNSUPPORTED_DEVICES; in switchCurrentStream()
132 return DeviceSwitchBehavior::USE_CURRENT_STREAM; in switchCurrentStream()
134 return DeviceSwitchBehavior::CREATE_NEW_STREAM; in switchCurrentStream()
195 StreamSwitcher::DeviceSwitchBehavior StreamOutPrimary::switchCurrentStream( in switchCurrentStream()
201 return DeviceSwitchBehavior::UNSUPPORTED_DEVICES; in switchCurrentStream()
204 return DeviceSwitchBehavior::USE_CURRENT_STREAM; in switchCurrentStream()
206 return DeviceSwitchBehavior::CREATE_NEW_STREAM; in switchCurrentStream()
/hardware/interfaces/audio/aidl/default/r_submix/
DStreamRemoteSubmix.cpp332 StreamSwitcher::DeviceSwitchBehavior StreamInRemoteSubmix::switchCurrentStream( in switchCurrentStream()
341 return DeviceSwitchBehavior::CREATE_NEW_STREAM; in switchCurrentStream()
348 return DeviceSwitchBehavior::UNSUPPORTED_DEVICES; in switchCurrentStream()
350 return DeviceSwitchBehavior::USE_CURRENT_STREAM; in switchCurrentStream()
366 StreamSwitcher::DeviceSwitchBehavior StreamOutRemoteSubmix::switchCurrentStream( in switchCurrentStream()
375 return DeviceSwitchBehavior::CREATE_NEW_STREAM; in switchCurrentStream()
382 return DeviceSwitchBehavior::UNSUPPORTED_DEVICES; in switchCurrentStream()
384 return DeviceSwitchBehavior::USE_CURRENT_STREAM; in switchCurrentStream()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DStreamPrimary.h55 DeviceSwitchBehavior switchCurrentStream(
80 DeviceSwitchBehavior switchCurrentStream(
DStreamRemoteSubmix.h83 DeviceSwitchBehavior switchCurrentStream(
105 DeviceSwitchBehavior switchCurrentStream(
DStreamSwitcher.h137 enum DeviceSwitchBehavior { enum
157 virtual DeviceSwitchBehavior switchCurrentStream(
/hardware/interfaces/audio/aidl/default/
DStreamSwitcher.cpp179 const DeviceSwitchBehavior behavior = switchCurrentStream(devices); in setConnectedDevices()
180 if (behavior == DeviceSwitchBehavior::UNSUPPORTED_DEVICES) { in setConnectedDevices()
182 } else if (behavior == DeviceSwitchBehavior::SWITCH_TO_STUB_STREAM && !devices.empty()) { in setConnectedDevices()