Home
last modified time | relevance | path

Searched refs:AudioDeviceType (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java653 aidl.type = AudioDeviceType.OUT_SPEAKER_EARPIECE; in api2aidl_NativeType_AudioDeviceDescription()
656 aidl.type = AudioDeviceType.OUT_SPEAKER; in api2aidl_NativeType_AudioDeviceDescription()
659 aidl.type = AudioDeviceType.OUT_HEADPHONE; in api2aidl_NativeType_AudioDeviceDescription()
663 aidl.type = AudioDeviceType.OUT_DEVICE; in api2aidl_NativeType_AudioDeviceDescription()
667 aidl.type = AudioDeviceType.OUT_CARKIT; in api2aidl_NativeType_AudioDeviceDescription()
671 aidl.type = AudioDeviceType.OUT_HEADPHONE; in api2aidl_NativeType_AudioDeviceDescription()
675 aidl.type = AudioDeviceType.OUT_SPEAKER; in api2aidl_NativeType_AudioDeviceDescription()
679 aidl.type = AudioDeviceType.OUT_TELEPHONY_TX; in api2aidl_NativeType_AudioDeviceDescription()
682 aidl.type = AudioDeviceType.OUT_LINE_AUX; in api2aidl_NativeType_AudioDeviceDescription()
685 aidl.type = AudioDeviceType.OUT_SPEAKER_SAFE; in api2aidl_NativeType_AudioDeviceDescription()
[all …]
/frameworks/base/media/aidl/android/media/audio/common/
DAudioDeviceDescription.aidl19 import android.media.audio.common.AudioDeviceType;
36 AudioDeviceType type = AudioDeviceType.NONE;
DAudioDeviceType.aidl37 enum AudioDeviceType { enum
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DDeviceIconUtil.java84 @AudioDeviceInfo.AudioDeviceType int audioDeviceType, Context context) { in getIconFromAudioDeviceType()
91 @AudioDeviceInfo.AudioDeviceType int audioDeviceType) { in getIconResIdFromAudioDeviceType()
109 @AudioDeviceInfo.AudioDeviceType
118 Device(@AudioDeviceInfo.AudioDeviceType int audioDeviceType, in Device()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp44 using media::audio::common::AudioDeviceType;
523 AudioDeviceDescription make_AudioDeviceDescription(AudioDeviceType type, in make_AudioDeviceDescription()
533 AudioDeviceType inType, AudioDeviceType outType, in append_AudioDeviceDescription()
547 AudioDeviceType::OUT_SPEAKER_EARPIECE) in getAudioDevicePairs()
551 AudioDeviceType::OUT_SPEAKER) in getAudioDevicePairs()
555 AudioDeviceType::OUT_HEADPHONE, in getAudioDevicePairs()
560 AudioDeviceType::OUT_DEVICE, in getAudioDevicePairs()
565 AudioDeviceType::OUT_CARKIT, in getAudioDevicePairs()
570 AudioDeviceType::OUT_HEADPHONE, in getAudioDevicePairs()
575 AudioDeviceType::OUT_SPEAKER, in getAudioDevicePairs()
[all …]
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp27 using media::audio::common::AudioDeviceType;
76 AudioDeviceDescription make_AudioDeviceDescription(AudioDeviceType type, in make_AudioDeviceDescription()
89 return make_AudioDeviceDescription(AudioDeviceType::IN_DEFAULT); in make_ADD_DefaultIn()
93 return make_AudioDeviceDescription(AudioDeviceType::OUT_DEFAULT); in make_ADD_DefaultOut()
97 return make_AudioDeviceDescription(AudioDeviceType::OUT_HEADSET, in make_ADD_WiredHeadset()
102 return make_AudioDeviceDescription(AudioDeviceType::OUT_HEADSET, in make_ADD_BtScoHeadset()
/frameworks/base/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/
DAudioDeviceDescription.aidl38 android.media.audio.common.AudioDeviceType type = android.media.audio.common.AudioDeviceType.NONE;
DAudioDeviceType.aidl37 enum AudioDeviceType { enum
/frameworks/base/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DAudioDeviceDescription.aidl38 android.media.audio.common.AudioDeviceType type = android.media.audio.common.AudioDeviceType.NONE;
DAudioDeviceType.aidl37 enum AudioDeviceType { enum
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DAudioDeviceAttributes.java64 private final @AudioDeviceInfo.AudioDeviceType int mType;
99 @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes()
134 public @AudioDeviceInfo.AudioDeviceType int getType() { in getType()
/frameworks/base/media/java/android/media/
DAudioDeviceAttributes.java67 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()
205 public @AudioDeviceInfo.AudioDeviceType int getType() { in getType()
DAudioDeviceInfo.java219 public @interface AudioDeviceType {} annotation in AudioDeviceInfo
/frameworks/base/services/core/java/com/android/server/audio/
DSpatializerHelper.java614 private static @AudioDeviceInfo.AudioDeviceType int getCanonicalDeviceType(int deviceType) { in getCanonicalDeviceType()
652 final @AudioDeviceInfo.AudioDeviceType int deviceType = ada.getType(); in evaluateState()
1556 final @AudioDeviceInfo.AudioDeviceType int mDeviceType;
1571 SADeviceState(@AudioDeviceInfo.AudioDeviceType int deviceType, @Nullable String address) { in SADeviceState()
1705 private static boolean isWireless(@AudioDeviceInfo.AudioDeviceType int deviceType) { in isWireless()
/frameworks/av/media/libaudioclient/include/media/
DAudioCommonTypes.h72 std::hash<android::media::audio::common::AudioDeviceType>{}(add.type),
/frameworks/base/media/tests/aidltests/src/com/android/media/
DAidlConversionUnitTests.java470 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/base/media/
DAndroid.bp62 "aidl/android/media/audio/common/AudioDeviceType.aidl",