/frameworks/base/media/java/android/media/audiofx/ |
D | Virtualizer.java | 20 import android.media.AudioDeviceInfo; 207 paramsConverter.putInt(AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType)); in getAnglesInt() 308 return AudioDeviceInfo.TYPE_WIRED_HEADPHONES; in getDeviceForModeQuery() 310 return AudioDeviceInfo.TYPE_BUILTIN_SPEAKER; in getDeviceForModeQuery() 320 return AudioDeviceInfo.TYPE_UNKNOWN; in getDeviceForModeForce() 328 case AudioDeviceInfo.TYPE_WIRED_HEADSET: in deviceToMode() 329 case AudioDeviceInfo.TYPE_WIRED_HEADPHONES: in deviceToMode() 330 case AudioDeviceInfo.TYPE_BLUETOOTH_SCO: in deviceToMode() 331 case AudioDeviceInfo.TYPE_BUILTIN_EARPIECE: in deviceToMode() 332 case AudioDeviceInfo.TYPE_USB_HEADSET: in deviceToMode() [all …]
|
D | AudioEffect.java | 29 import android.media.AudioDeviceInfo; 501 deviceType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in AudioEffect()
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceAttributes.java | 63 private final @AudioDeviceInfo.AudioDeviceType int mType; 81 public AudioDeviceAttributes(@NonNull AudioDeviceInfo deviceInfo) { in AudioDeviceAttributes() 96 public AudioDeviceAttributes(@Role int role, @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes() 103 AudioDeviceInfo.enforceValidAudioDeviceTypeOut(type); in AudioDeviceAttributes() 106 AudioDeviceInfo.enforceValidAudioDeviceTypeIn(type); in AudioDeviceAttributes() 116 mType = AudioDeviceInfo.convertInternalDeviceToDeviceType(nativeType); in AudioDeviceAttributes() 136 public @AudioDeviceInfo.AudioDeviceType int getType() { in getType() 176 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType)) in toString() 178 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType))) in toString()
|
D | AudioRouting.java | 35 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo); in setPreferredDevice() 41 public AudioDeviceInfo getPreferredDevice(); in getPreferredDevice() 49 public AudioDeviceInfo getRoutedDevice(); in getRoutedDevice()
|
D | HwAudioSource.java | 35 private final AudioDeviceInfo mAudioDeviceInfo; 48 private HwAudioSource(@NonNull AudioDeviceInfo device, @NonNull AudioAttributes attributes) { in HwAudioSource() 179 private AudioDeviceInfo mAudioDeviceInfo; 205 public @NonNull Builder setAudioDeviceInfo(@NonNull AudioDeviceInfo info) { in setAudioDeviceInfo()
|
D | AudioDeviceCallback.java | 31 public void onAudioDevicesAdded(AudioDeviceInfo[] addedDevices) {} in onAudioDevicesAdded() 39 public void onAudioDevicesRemoved(AudioDeviceInfo[] removedDevices) {} in onAudioDevicesRemoved()
|
D | MediaRoute2Info.java | 129 public static final int TYPE_BUILTIN_SPEAKER = AudioDeviceInfo.TYPE_BUILTIN_SPEAKER; 137 public static final int TYPE_WIRED_HEADSET = AudioDeviceInfo.TYPE_WIRED_HEADSET; 145 public static final int TYPE_WIRED_HEADPHONES = AudioDeviceInfo.TYPE_WIRED_HEADPHONES; 154 public static final int TYPE_BLUETOOTH_A2DP = AudioDeviceInfo.TYPE_BLUETOOTH_A2DP; 162 public static final int TYPE_HDMI = AudioDeviceInfo.TYPE_HDMI; 170 public static final int TYPE_USB_DEVICE = AudioDeviceInfo.TYPE_USB_DEVICE; 178 public static final int TYPE_USB_ACCESSORY = AudioDeviceInfo.TYPE_USB_ACCESSORY; 186 public static final int TYPE_DOCK = AudioDeviceInfo.TYPE_DOCK; 194 public static final int TYPE_USB_HEADSET = AudioDeviceInfo.TYPE_USB_HEADSET; 202 public static final int TYPE_HEARING_AID = AudioDeviceInfo.TYPE_HEARING_AID;
|
D | AudioManager.java | 1063 @AudioDeviceInfo.AudioDeviceTypeOut int deviceType) { in getStreamVolumeDb() 1070 if (!AudioDeviceInfo.isValidAudioDeviceTypeOut(deviceType)) { in getStreamVolumeDb() 1074 AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType)); in getStreamVolumeDb() 4737 AudioDeviceInfo.enforceValidAudioDeviceTypeOut(deviceType); in getDeviceVolumeBehavior() 4968 @NonNull AudioDeviceInfo device, @IntRange(from = 0) long delayMillis) { in setAdditionalOutputDeviceDelay() 4984 public long getAdditionalOutputDeviceDelay(@NonNull AudioDeviceInfo device) { in getAdditionalOutputDeviceDelay() 5002 public long getMaxAdditionalOutputDeviceDelay(@NonNull AudioDeviceInfo device) { in getMaxAdditionalOutputDeviceDelay() 5561 return AudioDeviceInfo.convertInternalDeviceToDeviceType(port.type()) != in checkTypes() 5562 AudioDeviceInfo.TYPE_UNKNOWN; in checkTypes() 5575 public AudioDeviceInfo[] getDevices(@AudioDeviceRole int flags) { in getDevices() [all …]
|
D | MediaRecorder.java | 1436 private AudioDeviceInfo mPreferredDevice = null; 1447 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice() 1466 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice() 1479 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice() 1484 AudioDeviceInfo[] devices = in getRoutedDevice() 1578 AudioDeviceInfo device = getRoutedDevice(); in getActiveMicrophones()
|
D | AudioDeviceInfo.java | 32 public final class AudioDeviceInfo { class 309 AudioDeviceInfo that = (AudioDeviceInfo) o; in equals() 320 AudioDeviceInfo(AudioDevicePort port) { in AudioDeviceInfo() method in AudioDeviceInfo
|
D | AudioRecord.java | 1561 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice() 1566 AudioDeviceInfo[] devices = in getRoutedDevice() 1732 private AudioDeviceInfo mPreferredDevice = null; 1743 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice() 1764 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice() 1798 AudioDeviceInfo device = getRoutedDevice(); in getActiveMicrophones()
|
D | AudioRecordingConfiguration.java | 251 public AudioDeviceInfo getAudioDevice() { in getAudioDevice() 265 final AudioDeviceInfo[] devices = in getAudioDevice()
|
D | MicrophoneInfo.java | 226 return AudioDeviceInfo.convertInternalDeviceToDeviceType(mType); in getType()
|
D | AudioTrack.java | 3428 private AudioDeviceInfo mPreferredDevice = null; 3439 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice() 3459 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice() 3471 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice() 3476 AudioDeviceInfo[] devices = in getRoutedDevice()
|
D | MediaPlayer.java | 1421 private AudioDeviceInfo mPreferredDevice = null; 1432 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice() 1451 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice() 1464 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice() 1469 AudioDeviceInfo[] devices = in getRoutedDevice()
|
D | AudioSystem.java | 1678 AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()), in setPreferredDeviceForStrategy()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicy.java | 29 import android.media.AudioDeviceInfo; 423 public boolean setUidDeviceAffinity(int uid, @NonNull List<AudioDeviceInfo> devices) { in setUidDeviceAffinity() 434 for (AudioDeviceInfo device : devices) { in setUidDeviceAffinity() 440 AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setUidDeviceAffinity() 525 @NonNull List<AudioDeviceInfo> devices) { in setUserIdDeviceAffinity() 534 for (AudioDeviceInfo device : devices) { in setUserIdDeviceAffinity() 540 AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setUserIdDeviceAffinity()
|
D | AudioMix.java | 24 import android.media.AudioDeviceInfo; 394 public Builder setDevice(@NonNull AudioDeviceInfo device) throws IllegalArgumentException { in setDevice() 401 mDeviceSystemType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setDevice()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceAudioSystem.java | 29 import android.media.AudioDeviceInfo; 670 AudioDeviceInfo deviceInfo = getSystemAudioDeviceInfo(); in handleRequestShortAudioDescriptor() 690 AudioDeviceInfo deviceInfo, @AudioCodec int[] audioFormatCodes) { in getSupportedShortAudioDescriptors() 757 AudioDeviceInfo deviceInfo, @AudioCodec int audioFormatCode) { in getSupportedShortAudioDescriptor() 786 private byte[] getLpcmShortAudioDescriptor(AudioDeviceInfo deviceInfo) { in getLpcmShortAudioDescriptor() 792 private AudioDeviceInfo getSystemAudioDeviceInfo() { in getSystemAudioDeviceInfo() 799 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getSystemAudioDeviceInfo() 801 for (AudioDeviceInfo device : devices) { in getSystemAudioDeviceInfo() 808 if (device.getType() == AudioDeviceInfo.TYPE_HDMI_ARC) { in getSystemAudioDeviceInfo()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SarManager.java | 29 import android.media.AudioDeviceInfo; 162 && device.getType() == AudioDeviceInfo.TYPE_BUILTIN_EARPIECE) { in isVoiceCallOnEarpiece()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RecordingActivityMonitor.java | 21 import android.media.AudioDeviceInfo; 156 final AudioDeviceInfo device = config.getAudioDevice(); in onRecordingConfigurationChanged()
|
D | AudioService.java | 69 import android.media.AudioDeviceInfo; 4942 int audioSystemDeviceOut = AudioDeviceInfo.convertDeviceTypeToInternalDevice( in setDeviceVolumeBehavior() 4995 final int audioSystemDeviceOut = AudioDeviceInfo.convertDeviceTypeToInternalDevice( in getDeviceVolumeBehavior()
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 182 BannedThrow: android.media.audiopolicy.AudioMix.Builder#setDevice(android.media.AudioDeviceInfo): 930 …ngNullability: android.media.audiopolicy.AudioMix.Builder#setDevice(android.media.AudioDeviceInfo):
|
D | system-current.txt | 4148 ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo); 4160 public final class AudioDeviceInfo { 4190 …ntRange(from=0) public long getAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); 4194 …ange(from=0) public long getMaxAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); 4209 …public boolean setAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo, @IntRange(fr… 4299 …lic android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo); 4346 ….media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.… 4379 …d public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); 4380 …ublic boolean setUserIdDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4096 ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo); 4108 public final class AudioDeviceInfo { 4138 …ntRange(from=0) public long getAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); 4142 …ange(from=0) public long getMaxAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo); 4157 …public boolean setAdditionalOutputDeviceDelay(@NonNull android.media.AudioDeviceInfo, @IntRange(fr… 4247 …lic android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo); 4294 ….media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.… 4327 …d public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>); 4328 …ublic boolean setUserIdDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
|