Searched refs:AudioDeviceInfo (Results 1 – 14 of 14) sorted by relevance
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()333 case AudioDeviceInfo.TYPE_BUILTIN_SPEAKER: in deviceToMode()[all …]
35 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo); in setPreferredDevice()41 public AudioDeviceInfo getPreferredDevice(); in getPreferredDevice()49 public AudioDeviceInfo getRoutedDevice(); in getRoutedDevice()
31 public void onAudioDevicesAdded(AudioDeviceInfo[] addedDevices) {} in onAudioDevicesAdded()39 public void onAudioDevicesRemoved(AudioDeviceInfo[] removedDevices) {} in onAudioDevicesRemoved()
3887 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 …]
116 public AudioDeviceInfo getAudioDevice() { in getAudioDevice()130 final AudioDeviceInfo[] devices = in getAudioDevice()
1378 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()
27 public final class AudioDeviceInfo { class121 AudioDeviceInfo(AudioDevicePort port) { in AudioDeviceInfo() method in AudioDeviceInfo
2405 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()
22 import android.media.AudioDeviceInfo;307 public Builder setDevice(@NonNull AudioDeviceInfo device) throws IllegalArgumentException { in setDevice()314 mDeviceSystemType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setDevice()
45 AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);46 for (AudioDeviceInfo device : devices) {47 if (device.getType() == AudioDeviceInfo.TYPE_BUILTIN_SPEAKER) {
20964 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 …]
19468 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 …]
19537 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 …]
2298 android.media.AudioDeviceInfo