/frameworks/base/media/java/android/media/audio/common/ |
D | AidlConversion.java | 659 aidl.type = AudioDeviceType.OUT_SPEAKER_EARPIECE; in api2aidl_NativeType_AudioDeviceDescription() 662 aidl.type = AudioDeviceType.OUT_SPEAKER; in api2aidl_NativeType_AudioDeviceDescription() 665 aidl.type = AudioDeviceType.OUT_HEADPHONE; in api2aidl_NativeType_AudioDeviceDescription() 669 aidl.type = AudioDeviceType.OUT_DEVICE; in api2aidl_NativeType_AudioDeviceDescription() 673 aidl.type = AudioDeviceType.OUT_CARKIT; in api2aidl_NativeType_AudioDeviceDescription() 677 aidl.type = AudioDeviceType.OUT_HEADPHONE; in api2aidl_NativeType_AudioDeviceDescription() 681 aidl.type = AudioDeviceType.OUT_SPEAKER; in api2aidl_NativeType_AudioDeviceDescription() 685 aidl.type = AudioDeviceType.OUT_TELEPHONY_TX; in api2aidl_NativeType_AudioDeviceDescription() 688 aidl.type = AudioDeviceType.OUT_LINE_AUX; in api2aidl_NativeType_AudioDeviceDescription() 691 aidl.type = AudioDeviceType.OUT_SPEAKER_SAFE; in api2aidl_NativeType_AudioDeviceDescription() [all …]
|
/frameworks/av/media/audioaidlconversion/ |
D | AidlConversionCppNdk.cpp | 61 using media::audio::common::AudioDeviceType; 395 AudioDeviceDescription make_AudioDeviceDescription(AudioDeviceType type, in make_AudioDeviceDescription() 405 AudioDeviceType inType, AudioDeviceType outType, in append_AudioDeviceDescription() 419 AudioDeviceType::OUT_SPEAKER_EARPIECE) in getAudioDevicePairs() 423 AudioDeviceType::OUT_SPEAKER) in getAudioDevicePairs() 427 AudioDeviceType::OUT_HEADPHONE, in getAudioDevicePairs() 432 AudioDeviceType::OUT_DEVICE, in getAudioDevicePairs() 437 AudioDeviceType::OUT_CARKIT, in getAudioDevicePairs() 442 AudioDeviceType::OUT_HEADPHONE, in getAudioDevicePairs() 447 AudioDeviceType::OUT_SPEAKER, in getAudioDevicePairs() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AdiDeviceState.java | 50 @AudioDeviceInfo.AudioDeviceType 79 AdiDeviceState(@AudioDeviceInfo.AudioDeviceType int deviceType, in AdiDeviceState() 99 @AudioDeviceInfo.AudioDeviceType 138 @AudioDeviceInfo.AudioDeviceType 144 @AudioDeviceInfo.AudioDeviceType int audioDeviceCategory) { in setAudioDeviceCategory()
|
D | SpatializerHelper.java | 635 @AudioDeviceInfo.AudioDeviceType 676 final @AudioDeviceInfo.AudioDeviceType int deviceType = ada.getType(); in evaluateState()
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/ |
D | AudioDeviceAttributes.java | 64 private final @AudioDeviceInfo.AudioDeviceType int mType; 99 @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes() 134 public @AudioDeviceInfo.AudioDeviceType int getType() { in getType()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_aidl_legacy_conversion_tests.cpp | 38 using media::audio::common::AudioDeviceType; 127 AudioDeviceDescription make_AudioDeviceDescription(AudioDeviceType type, in make_AudioDeviceDescription() 140 return make_AudioDeviceDescription(AudioDeviceType::IN_DEFAULT); in make_ADD_DefaultIn() 144 return make_AudioDeviceDescription(AudioDeviceType::IN_MICROPHONE); in make_ADD_MicIn() 148 return make_AudioDeviceDescription(AudioDeviceType::IN_SUBMIX, in make_ADD_RSubmixIn() 153 return make_AudioDeviceDescription(AudioDeviceType::OUT_DEFAULT); in make_ADD_DefaultOut() 157 return make_AudioDeviceDescription(AudioDeviceType::OUT_HEADSET, in make_ADD_WiredHeadset() 162 return make_AudioDeviceDescription(AudioDeviceType::OUT_HEADSET, in make_ADD_BtScoHeadset() 167 return make_AudioDeviceDescription(AudioDeviceType::OUT_HEADPHONE, in make_ADD_BtA2dpHeadphone() 172 return make_AudioDeviceDescription(AudioDeviceType::OUT_HEADSET, in make_ADD_BtLeHeadset() [all …]
|
D | audiosystem_tests.cpp | 33 using android::media::audio::common::AudioDeviceType; 668 const std::set<AudioDeviceType> typesToUse{ in TEST_F() 669 AudioDeviceType::IN_DEVICE, AudioDeviceType::IN_HEADSET, in TEST_F() 670 AudioDeviceType::IN_MICROPHONE, AudioDeviceType::OUT_DEVICE, in TEST_F() 671 AudioDeviceType::OUT_HEADPHONE, AudioDeviceType::OUT_HEADSET, in TEST_F() 672 AudioDeviceType::OUT_HEARING_AID, AudioDeviceType::OUT_SPEAKER}; in TEST_F()
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/ |
D | ModuleMock.cpp | 34 /* DeviceType */ AudioDeviceType::OUT_DEFAULT, in ModuleMock() 41 /* DeviceType */ AudioDeviceType::IN_DEFAULT, in ModuleMock() 126 AudioPortExt ModuleMock::createDeviceExt(AudioDeviceType devType, int32_t flags) { in createDeviceExt()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | DeviceIconUtil.java | 19 import static android.media.AudioDeviceInfo.AudioDeviceType; 75 public Drawable getIconFromAudioDeviceType(@AudioDeviceType int audioDeviceType) { in getIconFromAudioDeviceType() 81 public int getIconResIdFromAudioDeviceType(@AudioDeviceType int audioDeviceType) { in getIconResIdFromAudioDeviceType()
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceAttributes.java | 67 private final @AudioDeviceInfo.AudioDeviceType int mType; 120 public AudioDeviceAttributes(@Role int role, @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes() 136 public AudioDeviceAttributes(@Role int role, @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes() 220 public @AudioDeviceInfo.AudioDeviceType int getType() { in getType()
|
D | AudioDeviceInfo.java | 230 public @interface AudioDeviceType {} annotation in AudioDeviceInfo 593 public @AudioDeviceType int getType() { in getType()
|
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/ |
D | BundleContext.cpp | 34 using ::aidl::android::media::audio::common::AudioDeviceType; 281 if (device != AudioDeviceDescription{AudioDeviceType::OUT_SPEAKER, ""} && in isDeviceSupportedBassBoost() 282 device != AudioDeviceDescription{AudioDeviceType::OUT_CARKIT, in isDeviceSupportedBassBoost() 284 device != AudioDeviceDescription{AudioDeviceType::OUT_SPEAKER, in isDeviceSupportedBassBoost() 286 device != AudioDeviceDescription{AudioDeviceType::OUT_SUBMIX, in isDeviceSupportedBassBoost() 297 if (device != AudioDeviceDescription{AudioDeviceType::OUT_HEADSET, in isDeviceSupportedVirtualizer() 299 device != AudioDeviceDescription{AudioDeviceType::OUT_HEADPHONE, in isDeviceSupportedVirtualizer() 301 device != AudioDeviceDescription{AudioDeviceType::OUT_HEADPHONE, in isDeviceSupportedVirtualizer() 303 device != AudioDeviceDescription{AudioDeviceType::OUT_HEADSET, in isDeviceSupportedVirtualizer() 305 device != AudioDeviceDescription{AudioDeviceType::OUT_SUBMIX, in isDeviceSupportedVirtualizer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/domain/interactor/ |
D | DeviceIconInteractor.kt | 38 fun loadIcon(@AudioDeviceInfo.AudioDeviceType type: Int): Drawable? = in loadIcon()
|
/frameworks/av/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 45 using ::aidl::android::media::audio::common::AudioDeviceType; 117 AudioPortExt createPortDeviceExt(AudioDeviceType devType, int32_t flags, in createPortDeviceExt() 121 if (devType == AudioDeviceType::IN_MICROPHONE && connection.empty()) { in createPortDeviceExt() 123 } else if (devType == AudioDeviceType::IN_MICROPHONE_BACK && connection.empty()) { in createPortDeviceExt() 169 createPortDeviceExt(AudioDeviceType::IN_MICROPHONE, in getTestConfiguration() 176 createPortDeviceExt(AudioDeviceType::IN_MICROPHONE_BACK, 0)); in getTestConfiguration() 186 createPortDeviceExt(AudioDeviceType::OUT_SPEAKER, 0)); in getTestConfiguration() 192 createPortDeviceExt(AudioDeviceType::OUT_DEVICE, 0, in getTestConfiguration() 911 mConnectedPort.ext = createPortDeviceExt(AudioDeviceType::OUT_DEVICE, 0, in SetUp() 1209 defaultDevice.type.type = AudioDeviceType::IN_DEFAULT; in TEST_F() [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | Hal2AidlMapper.cpp | 37 using aidl::android::media::audio::common::AudioDeviceType; 117 if (device.type.type == AudioDeviceType::IN_DEFAULT) { in audioDeviceMatches() 119 } else if (device.type.type == AudioDeviceType::OUT_DEFAULT) { in audioDeviceMatches() 516 if (device.type.type == AudioDeviceType::IN_DEFAULT) { in findPort() 518 } else if (device.type.type == AudioDeviceType::OUT_DEFAULT) { in findPort() 674 (devDesc.type.type == AudioDeviceType::IN_SUBMIX || in initialize() 675 devDesc.type.type == AudioDeviceType::OUT_SUBMIX) && in initialize() 677 if (devDesc.type.type == AudioDeviceType::IN_SUBMIX) { in initialize() 991 if (mRemoteSubmixOut.has_value() && matchDevice.type.type == AudioDeviceType::OUT_SUBMIX) { in setDevicePortConnectedState() 998 matchDevice.type.type == AudioDeviceType::IN_SUBMIX) { in setDevicePortConnectedState() [all …]
|
D | DeviceHalAidl.cpp | 42 using aidl::android::media::audio::common::AudioDeviceType; 289 aidlDevice.type.type = AudioDeviceType::IN_DEFAULT; in getInputBufferSize()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyConfig.cpp | 33 using media::audio::common::AudioDeviceType; 120 (deviceExt.device.type.type == AudioDeviceType::IN_SUBMIX && in aidl2legacy_AudioHwModule_HwModule()
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/ |
D | ModuleMock.h | 123 AudioPortExt createDeviceExt(AudioDeviceType devType, int32_t flags);
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioCommonTypes.h | 72 std::hash<android::media::audio::common::AudioDeviceType>{}(add.type),
|
/frameworks/base/media/tests/aidltests/src/com/android/media/ |
D | AidlConversionUnitTests.java | 470 assertEquals(AudioDeviceType.OUT_DEFAULT, port.ext.getDevice().device.type.type); in testAudioDeviceAttributesConversion_Default() 504 assertEquals(AudioDeviceType.OUT_DEVICE, port.ext.getDevice().device.type.type); in testAudioDeviceAttributesConversion()
|
/frameworks/av/media/libeffects/preprocessing/aidl/ |
D | PreProcessingContext.cpp | 26 using aidl::android::media::audio::common::AudioDeviceType;
|
/frameworks/base/services/core/jni/tvinput/ |
D | JTvInputHal.h | 58 using AidlAudioDeviceType = ::aidl::android::media::audio::common::AudioDeviceType;
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/ |
D | ReverbContext.cpp | 31 using aidl::android::media::audio::common::AudioDeviceType;
|
/frameworks/av/media/libaudioclient/ |
D | AidlConversion.cpp | 44 using media::audio::common::AudioDeviceType;
|