Home
last modified time | relevance | path

Searched refs:AudioDeviceInfo (Results 1 – 14 of 14) 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()
333 case AudioDeviceInfo.TYPE_BUILTIN_SPEAKER: 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()
DAudioDeviceCallback.java31 public void onAudioDevicesAdded(AudioDeviceInfo[] addedDevices) {} in onAudioDevicesAdded()
39 public void onAudioDevicesRemoved(AudioDeviceInfo[] removedDevices) {} in onAudioDevicesRemoved()
DAudioManager.java3887 return AudioDeviceInfo.convertInternalDeviceToDeviceType(port.type()) != in checkTypes()
3888 AudioDeviceInfo.TYPE_UNKNOWN && in checkTypes()
3900 public AudioDeviceInfo[] getDevices(int flags) { in getDevices()
3908 private static AudioDeviceInfo[]
3920 AudioDeviceInfo[] deviceList = new AudioDeviceInfo[numRecs]; in infoListFromPortList()
3924 deviceList[slot++] = new AudioDeviceInfo(port); in infoListFromPortList()
3939 private static AudioDeviceInfo[] calcListDeltas( in calcListDeltas()
3972 public static AudioDeviceInfo[] getDevicesStatic(int flags) { in getDevicesStatic()
3977 return new AudioDeviceInfo[0]; // Always return an array. in getDevicesStatic()
4048 AudioDeviceInfo[] deviceList = in broadcastDeviceListChange()
[all …]
DAudioRecordingConfiguration.java116 public AudioDeviceInfo getAudioDevice() { in getAudioDevice()
130 final AudioDeviceInfo[] devices = in getAudioDevice()
DAudioRecord.java1378 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice()
1383 AudioDeviceInfo[] devices = in getRoutedDevice()
1600 private AudioDeviceInfo mPreferredDevice = null;
1611 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice()
1632 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice()
DAudioDeviceInfo.java27 public final class AudioDeviceInfo { class
121 AudioDeviceInfo(AudioDevicePort port) { in AudioDeviceInfo() method in AudioDeviceInfo
DAudioTrack.java2405 private AudioDeviceInfo mPreferredDevice = null;
2416 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo) { in setPreferredDevice()
2436 public AudioDeviceInfo getPreferredDevice() { in getPreferredDevice()
2448 public AudioDeviceInfo getRoutedDevice() { in getRoutedDevice()
2453 AudioDeviceInfo[] devices = in getRoutedDevice()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java22 import android.media.AudioDeviceInfo;
307 public Builder setDevice(@NonNull AudioDeviceInfo device) throws IllegalArgumentException { in setDevice()
314 mDeviceSystemType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setDevice()
/frameworks/base/docs/html/training/wearables/
Dwearable-sounds.jd45 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
46 for (AudioDeviceInfo device : devices) {
47 if (device.getType() == AudioDeviceInfo.TYPE_BUILTIN_SPEAKER) {
/frameworks/base/api/
Dsystem-current.txt20964 method public void onAudioDevicesAdded(android.media.AudioDeviceInfo[]);
20965 method public void onAudioDevicesRemoved(android.media.AudioDeviceInfo[]);
20968 public final class AudioDeviceInfo {
21097 method public android.media.AudioDeviceInfo[] getDevices(int);
21272 method public android.media.AudioDeviceInfo getPreferredDevice();
21274 method public android.media.AudioDeviceInfo getRoutedDevice();
21290 method public boolean setPreferredDevice(android.media.AudioDeviceInfo);
21331 method public android.media.AudioDeviceInfo getAudioDevice();
21342 method public abstract android.media.AudioDeviceInfo getPreferredDevice();
21343 method public abstract android.media.AudioDeviceInfo getRoutedDevice();
[all …]
Dcurrent.txt19468 method public void onAudioDevicesAdded(android.media.AudioDeviceInfo[]);
19469 method public void onAudioDevicesRemoved(android.media.AudioDeviceInfo[]);
19472 public final class AudioDeviceInfo {
19588 method public android.media.AudioDeviceInfo[] getDevices(int);
19754 method public android.media.AudioDeviceInfo getPreferredDevice();
19756 method public android.media.AudioDeviceInfo getRoutedDevice();
19772 method public boolean setPreferredDevice(android.media.AudioDeviceInfo);
19811 method public android.media.AudioDeviceInfo getAudioDevice();
19822 method public abstract android.media.AudioDeviceInfo getPreferredDevice();
19823 method public abstract android.media.AudioDeviceInfo getRoutedDevice();
[all …]
Dtest-current.txt19537 method public void onAudioDevicesAdded(android.media.AudioDeviceInfo[]);
19538 method public void onAudioDevicesRemoved(android.media.AudioDeviceInfo[]);
19541 public final class AudioDeviceInfo {
19657 method public android.media.AudioDeviceInfo[] getDevices(int);
19823 method public android.media.AudioDeviceInfo getPreferredDevice();
19825 method public android.media.AudioDeviceInfo getRoutedDevice();
19841 method public boolean setPreferredDevice(android.media.AudioDeviceInfo);
19880 method public android.media.AudioDeviceInfo getAudioDevice();
19891 method public abstract android.media.AudioDeviceInfo getPreferredDevice();
19892 method public abstract android.media.AudioDeviceInfo getRoutedDevice();
[all …]
/frameworks/base/
Dcompiled-classes-phone2298 android.media.AudioDeviceInfo