Home
last modified time | relevance | path

Searched refs:AudioDevice (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl48 import android.media.audio.common.AudioDevice;
75 AudioPolicyDeviceState getDeviceConnectionState(in AudioDevice device); in getDeviceConnectionState()
77 void handleDeviceConfigChange(in AudioDevice device, in handleDeviceConfigChange()
119 oneway void setDeviceAbsoluteVolumeEnabled(in AudioDevice device, in setDeviceAbsoluteVolumeEnabled()
147 AudioDevice[] getDevicesForAttributes(in AudioAttributes attr, boolean forVolume); in getDevicesForAttributes()
276 void setUidDeviceAffinities(int /* uid_t */ uid, in AudioDevice[] devices); in setUidDeviceAffinities()
280 void setUserIdDeviceAffinities(int userId, in AudioDevice[] devices); in setUserIdDeviceAffinities()
358 in AudioDevice[] devices); in setDevicesRoleForStrategy()
362 in AudioDevice[] devices); in removeDevicesRoleForStrategy()
366 AudioDevice[] getDevicesForRoleAndStrategy(int /* product_strategy_t */ strategy, in getDevicesForRoleAndStrategy()
[all …]
DOpenInputResponse.aidl20 import android.media.audio.common.AudioDevice;
29 AudioDevice device;
DOpenInputRequest.aidl20 import android.media.audio.common.AudioDevice;
32 AudioDevice device;
DCreateEffectRequest.aidl22 import android.media.audio.common.AudioDevice;
37 AudioDevice device;
DAudioMix.aidl24 import android.media.audio.common.AudioDevice;
35 AudioDevice device;
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.h58 const ::aidl::android::media::audio::common::AudioDevice& device,
63 const ::aidl::android::media::audio::common::AudioDevice& device,
81 const ::aidl::android::media::audio::common::AudioDevice& device,
141 bool audioDeviceMatches(const ::aidl::android::media::audio::common::AudioDevice& device,
143 bool audioDeviceMatches(const ::aidl::android::media::audio::common::AudioDevice& device,
164 const ::aidl::android::media::audio::common::AudioDevice& device,
184 Ports::iterator findPort(const ::aidl::android::media::audio::common::AudioDevice& device);
190 const ::aidl::android::media::audio::common::AudioDevice& device);
DHal2AidlMapper.cpp34 using aidl::android::media::audio::common::AudioDevice;
110 bool Hal2AidlMapper::audioDeviceMatches(const AudioDevice& device, const AudioPort& p) { in audioDeviceMatches()
115 bool Hal2AidlMapper::audioDeviceMatches(const AudioDevice& device, const AudioPortConfig& p) { in audioDeviceMatches()
329 const AudioDevice& device, const AudioConfig* config, const AudioGainConfig* gainConfig, in findOrCreateDevicePortConfig()
484 status_t Hal2AidlMapper::findPortConfig(const AudioDevice& device, AudioPortConfig* portConfig) { in findPortConfig()
515 Hal2AidlMapper::Ports::iterator Hal2AidlMapper::findPort(const AudioDevice& device) { in findPort()
604 Hal2AidlMapper::PortConfigs::iterator Hal2AidlMapper::findPortConfig(const AudioDevice& device) { in findPortConfig()
639 const ::aidl::android::media::audio::common::AudioDevice& device, in getAudioPortCached()
774 int32_t ioHandle, const AudioDevice& device, const AudioIoFlags& flags, in prepareToOpenStream()
983 AudioDevice matchDevice = devicePort.ext.get<AudioPortExt::device>().device; in setDevicePortConnectedState()
[all …]
/frameworks/av/media/libaudiofoundation/include/media/
DAudioDeviceTypeAddr.h100 aidl2legacy_AudioDeviceTypeAddress(const media::audio::common::AudioDevice& aidl);
101 ConversionResult<media::audio::common::AudioDevice>
/frameworks/av/media/libaudiofoundation/
DAudioDeviceTypeAddr.cpp28 using media::audio::common::AudioDevice;
180 aidl2legacy_AudioDeviceTypeAddress(const AudioDevice& aidl) { in aidl2legacy_AudioDeviceTypeAddress()
187 ConversionResult<AudioDevice>
/frameworks/av/services/audioflinger/sounddose/tests/
Dsounddosemanager_tests.cpp32 using aidl::android::media::audio::common::AudioDevice;
211 AudioDevice audioDevice = {}; in TEST_F()
233 AudioDevice audioDevice = {}; in TEST_F()
254 AudioDevice audioDevice = {}; in TEST_F()
291 AudioDevice audioDevice; in TEST_F()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h57 using media::audio::common::AudioDevice;
101 binder::Status getDeviceConnectionState(const AudioDevice& device,
104 const AudioDevice& device,
131 binder::Status setDeviceAbsoluteVolumeEnabled(const AudioDevice& device,
156 std::vector<AudioDevice>* _aidl_return) override;
215 const std::vector<AudioDevice>& devices) override;
219 const std::vector<AudioDevice>& devices) override;
263 const std::vector<AudioDevice>& devices) override;
266 const std::vector<AudioDevice>& devices) override;
272 std::vector<AudioDevice>* _aidl_return) override;
[all …]
DAudioPolicyInterfaceImpl.cpp57 using media::audio::common::AudioDevice;
159 Status AudioPolicyService::getDeviceConnectionState(const AudioDevice& deviceAidl, in getDeviceConnectionState()
181 const AudioDevice& deviceAidl, in handleDeviceConfigChange()
1025 Status AudioPolicyService::setDeviceAbsoluteVolumeEnabled(const AudioDevice& deviceAidl, in setDeviceAbsoluteVolumeEnabled()
1230 std::vector<AudioDevice>* _aidl_return) in getDevicesForAttributes()
1244 convertContainer<std::vector<AudioDevice>>(devices, in getDevicesForAttributes()
1848 const std::vector<AudioDevice>& devicesAidl) { in setUidDeviceAffinities()
1881 const std::vector<AudioDevice>& devicesAidl) { in setUserIdDeviceAffinities()
2264 const std::vector<AudioDevice>& devicesAidl) { in setDevicesRoleForStrategy()
2287 const std::vector<AudioDevice>& devicesAidl) { in removeDevicesRoleForStrategy()
[all …]
/frameworks/av/media/libmediahelper/tests/
Dtypeconverter_tests.cpp107 for (const auto enumVal : xsdc_enum_range<xsd::AudioDevice>{}) { in TEST()
113 if (enumVal != xsd::AudioDevice::AUDIO_DEVICE_NONE) { in TEST()
130 for (const auto enumVal : xsdc_enum_range<xsd::AudioDevice>{}) { in TEST()
150 } else if (stringVal == toString(xsd::AudioDevice::AUDIO_DEVICE_NONE)) { in TEST()
/frameworks/av/services/audioflinger/sounddose/
DSoundDoseManager.h118 const aidl::android::media::audio::common::AudioDevice& audioDevice) const;
204 const aidl::android::media::audio::common::AudioDevice& in_audioDevice) override;
207 const aidl::android::media::audio::common::AudioDevice& in_audioDevice) override;
DSoundDoseManager.cpp34 using aidl::android::media::audio::common::AudioDevice;
209 audio_port_handle_t SoundDoseManager::getIdForAudioDevice(const AudioDevice& audioDevice) const { in getIdForAudioDevice()
269 float in_currentDbA, const AudioDevice& in_audioDevice) { in onMomentaryExposureWarning()
302 const AudioDevice& in_audioDevice) { in onNewMelValues()
/frameworks/base/services/core/jni/tvinput/
DTvInputHal_hidl.h30 using HidlAudioDevice = ::android::hardware::audio::common::V2_0::AudioDevice;
DJTvInputHal.h55 using AidlAudioDevice = ::aidl::android::media::audio::common::AudioDevice;
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionCppNdk-impl.h199 const media::audio::common::AudioDevice& aidl, audio_devices_t* legacyType,
202 const media::audio::common::AudioDevice& aidl, audio_devices_t* legacyType,
205 const media::audio::common::AudioDevice& aidl, audio_devices_t* legacyType,
208 ConversionResult<media::audio::common::AudioDevice> legacy2aidl_audio_device_AudioDevice(
210 ConversionResult<media::audio::common::AudioDevice> legacy2aidl_audio_device_AudioDevice(
212 ConversionResult<media::audio::common::AudioDevice> legacy2aidl_audio_device_AudioDevice(
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp57 using media::audio::common::AudioDevice;
996 AudioDevice deviceAidl = VALUE_OR_RETURN( in getDeviceConnectionState()
1025 AudioDevice deviceAidl = VALUE_OR_RETURN_STATUS( in handleDeviceConfigChange()
1299 AudioDevice deviceAidl = VALUE_OR_RETURN_STATUS( in setDeviceAbsoluteVolumeEnabled()
1446 std::vector<AudioDevice> retAidl; in getDevicesForAttributes()
1948 std::vector<AudioDevice> devicesAidl = VALUE_OR_RETURN_STATUS( in setUidDeviceAffinities()
1949 convertContainer<std::vector<AudioDevice>>(devices, in setUidDeviceAffinities()
1968 std::vector<AudioDevice> devicesAidl = VALUE_OR_RETURN_STATUS( in setUserIdDeviceAffinities()
1969 convertContainer<std::vector<AudioDevice>>(devices, in setUserIdDeviceAffinities()
2347 std::vector<AudioDevice> devicesAidl = VALUE_OR_RETURN_STATUS( in setDevicesRoleForStrategy()
[all …]
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp35 using media::audio::common::AudioDevice;
191 AudioDevice make_AudioDevice(const AudioDeviceDescription& type, in make_AudioDevice()
193 AudioDevice result; in make_AudioDevice()
444 class AudioDeviceRoundTripTest : public testing::TestWithParam<AudioDevice> {};
517 AudioDevice audioDevice; in createAudioPortConfigFw()
595 AudioDevice initialDevice; in TEST_P()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DAudioPowerUsage.h66 enum AudioDevice { enum
/frameworks/av/services/audiopolicy/fuzzer/
DREADME.md30 | `AudioDevice` | `AUDIO_DEVICE_OUT_AUX_DIGITAL`, `AUDIO_DEVICE_OUT_STUB`, `AUDIO_DEVICE_IN_VOICE…
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp154 getFlags<audio_devices_t, xsd::AudioDevice, decltype(audio_device_from_string)>(
155 xsdc_enum_range<xsd::AudioDevice>{}, audio_device_from_string, {},
156 {xsd::AudioDevice::AUDIO_DEVICE_IN_AMBIENT,
157 xsd::AudioDevice::AUDIO_DEVICE_IN_COMMUNICATION});
/frameworks/base/services/core/java/com/android/server/hdmi/
DConstants.java348 public @interface AudioDevice {} annotation in Constants
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp58 using media::audio::common::AudioDevice;
1038 const AudioDevice& aidl, in aidl2legacy_AudioDevice_audio_device()
1047 const AudioDevice& aidl, in aidl2legacy_AudioDevice_audio_device()
1057 const AudioDevice& aidl, in aidl2legacy_AudioDevice_audio_device()
1105 ConversionResult<AudioDevice> legacy2aidl_audio_device_AudioDevice( in legacy2aidl_audio_device_AudioDevice()
1112 ConversionResult<AudioDevice>
1119 ConversionResult<AudioDevice>
1123 AudioDevice aidl; in legacy2aidl_audio_device_AudioDevice()

12