Home
last modified time | relevance | path

Searched refs:AudioDeviceInfo (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
DVirtualizer.java20 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 …]
/frameworks/base/media/java/android/media/
DAudioRouting.java35 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo); in setPreferredDevice()
41 public AudioDeviceInfo getPreferredDevice(); in getPreferredDevice()
49 public AudioDeviceInfo getRoutedDevice(); in getRoutedDevice()
DHwAudioSource.java35 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()
DAudioDeviceCallback.java31 public void onAudioDevicesAdded(AudioDeviceInfo[] addedDevices) {} in onAudioDevicesAdded()
39 public void onAudioDevicesRemoved(AudioDeviceInfo[] removedDevices) {} in onAudioDevicesRemoved()
DAudioManager.java1054 @AudioDeviceInfo.AudioDeviceTypeOut int deviceType) { in getStreamVolumeDb()
1061 if (!AudioDeviceInfo.isValidAudioDeviceTypeOut(deviceType)) { in getStreamVolumeDb()
1065 AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType)); in getStreamVolumeDb()
4908 return AudioDeviceInfo.convertInternalDeviceToDeviceType(port.type()) != in checkTypes()
4909 AudioDeviceInfo.TYPE_UNKNOWN; in checkTypes()
4922 public AudioDeviceInfo[] getDevices(int flags) { in getDevices()
4930 private static AudioDeviceInfo[]
4942 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs]; in infoListFromPortList()
4946 deviceList[slot++] = new AudioDeviceInfo(port); in infoListFromPortList()
4961 private static AudioDeviceInfo[] calcListDeltas( in calcListDeltas()
[all …]
DAudioDeviceInfo.java31 public final class AudioDeviceInfo { class
190 AudioDeviceInfo that = (AudioDeviceInfo) o; in equals()
201 AudioDeviceInfo(AudioDevicePort port) { in AudioDeviceInfo() method in AudioDeviceInfo
DMediaRecorder.java1391 private AudioDeviceInfo mPreferredDevice = null;
1402 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice()
1421 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice()
1434 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice()
1439 AudioDeviceInfo[] devices = in getRoutedDevice()
1533 AudioDeviceInfo device = getRoutedDevice(); in getActiveMicrophones()
DAudioRecord.java1494 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice()
1499 AudioDeviceInfo[] devices = in getRoutedDevice()
1665 private AudioDeviceInfo mPreferredDevice = null;
1676 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice()
1697 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice()
1731 AudioDeviceInfo device = getRoutedDevice(); in getActiveMicrophones()
DAudioRecordingConfiguration.java242 public AudioDeviceInfo getAudioDevice() { in getAudioDevice()
256 final AudioDeviceInfo[] devices = in getAudioDevice()
DMicrophoneInfo.java226 return AudioDeviceInfo.convertInternalDeviceToDeviceType(mType); in getType()
DAudioTrack.java3028 private AudioDeviceInfo mPreferredDevice = null;
3039 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice()
3059 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice()
3071 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice()
3076 AudioDeviceInfo[] devices = in getRoutedDevice()
DMediaPlayer.java1419 private AudioDeviceInfo mPreferredDevice = null;
1430 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice()
1449 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice()
1462 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice()
1467 AudioDeviceInfo[] devices = in getRoutedDevice()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java24 import android.media.AudioDeviceInfo;
384 public Builder setDevice(@NonNull AudioDeviceInfo device) throws IllegalArgumentException { in setDevice()
391 mDeviceSystemType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setDevice()
DAudioPolicy.java28 import android.media.AudioDeviceInfo;
421 public boolean setUidDeviceAffinity(int uid, @NonNull List<AudioDeviceInfo> devices) { in setUidDeviceAffinity()
432 for (AudioDeviceInfo device : devices) { in setUidDeviceAffinity()
438 AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setUidDeviceAffinity()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java29 import android.media.AudioDeviceInfo;
597 AudioDeviceInfo deviceInfo = getSystemAudioDeviceInfo(); in handleRequestShortAudioDescriptor()
617 AudioDeviceInfo deviceInfo, @AudioCodec int[] audioFormatCodes) { in getSupportedShortAudioDescriptors()
684 AudioDeviceInfo deviceInfo, @AudioCodec int audioFormatCode) { in getSupportedShortAudioDescriptor()
713 private byte[] getLpcmShortAudioDescriptor(AudioDeviceInfo deviceInfo) { in getLpcmShortAudioDescriptor()
719 private AudioDeviceInfo getSystemAudioDeviceInfo() { in getSystemAudioDeviceInfo()
726 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_INPUTS); in getSystemAudioDeviceInfo()
728 for (AudioDeviceInfo device : devices) { in getSystemAudioDeviceInfo()
735 if (device.getType() == AudioDeviceInfo.TYPE_HDMI_ARC) { in getSystemAudioDeviceInfo()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java1463 private AudioDeviceInfo mPreferredDevice = null;
1475 public boolean setPreferredDevice(@Nullable AudioDeviceInfo deviceInfo) {
1485 private native boolean native_setPreferredDevice(AudioDeviceInfo device);
1492 public @Nullable AudioDeviceInfo getPreferredDevice() {
1505 public @Nullable native AudioDeviceInfo getRoutedDevice();
/frameworks/base/api/
Dtest-current.txt1222 ….media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.…
1253 …d public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
Dsystem-current.txt3566 …lic android.media.HwAudioSource.Builder setAudioDeviceInfo(@NonNull android.media.AudioDeviceInfo);
3600 ….media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.…
3631 …d public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
/frameworks/base/config/
Dpreloaded-classes2188 android.media.AudioDeviceInfo
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...