Searched refs:AudioDeviceInfo (Results 1 – 20 of 20) 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()332 case AudioDeviceInfo.TYPE_USB_HEADSET: in deviceToMode()[all …]
35 public boolean setPreferredDevice(AudioDeviceInfo deviceInfo); in setPreferredDevice()41 public AudioDeviceInfo getPreferredDevice(); in getPreferredDevice()49 public AudioDeviceInfo getRoutedDevice(); in getRoutedDevice()
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()
31 public void onAudioDevicesAdded(AudioDeviceInfo[] addedDevices) {} in onAudioDevicesAdded()39 public void onAudioDevicesRemoved(AudioDeviceInfo[] removedDevices) {} in onAudioDevicesRemoved()
1054 @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 …]
31 public final class AudioDeviceInfo { class190 AudioDeviceInfo that = (AudioDeviceInfo) o; in equals()201 AudioDeviceInfo(AudioDevicePort port) { in AudioDeviceInfo() method in AudioDeviceInfo
1391 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()
1494 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()
242 public AudioDeviceInfo getAudioDevice() { in getAudioDevice()256 final AudioDeviceInfo[] devices = in getAudioDevice()
226 return AudioDeviceInfo.convertInternalDeviceToDeviceType(mType); in getType()
3028 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()
1419 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()
24 import android.media.AudioDeviceInfo;384 public Builder setDevice(@NonNull AudioDeviceInfo device) throws IllegalArgumentException { in setDevice()391 mDeviceSystemType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(device.getType()); in setDevice()
28 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()
29 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()
1463 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();
1222 ….media.audiopolicy.AudioMix.Builder setDevice(@NonNull android.media.AudioDeviceInfo) throws java.…1253 …d public boolean setUidDeviceAffinity(int, @NonNull java.util.List<android.media.AudioDeviceInfo>);
3566 …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>);
2188 android.media.AudioDeviceInfo
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...