Searched refs:AudioDevice (Results 1 – 3 of 3) sorted by relevance
20 import android.media.AudioDevice;207 paramsConverter.putInt(AudioDevice.convertDeviceTypeToInternalDevice(deviceType)); in getAnglesInt()308 return AudioDevice.TYPE_WIRED_HEADPHONES; in getDeviceForModeQuery()310 return AudioDevice.TYPE_BUILTIN_SPEAKER; in getDeviceForModeQuery()320 return AudioDevice.TYPE_UNKNOWN; in getDeviceForModeForce()328 case AudioDevice.TYPE_WIRED_HEADSET: in deviceToMode()329 case AudioDevice.TYPE_WIRED_HEADPHONES: in deviceToMode()330 case AudioDevice.TYPE_BLUETOOTH_SCO: in deviceToMode()331 case AudioDevice.TYPE_BUILTIN_EARPIECE: in deviceToMode()333 case AudioDevice.TYPE_BUILTIN_SPEAKER: in deviceToMode()[all …]
44 private final class AudioDevice { class in UsbAudioManager51 public AudioDevice(int card, int device, in AudioDevice() method in UsbAudioManager.AudioDevice72 private final HashMap<UsbDevice,AudioDevice> mAudioDevices73 = new HashMap<UsbDevice,AudioDevice>();82 private void sendDeviceNotification(AudioDevice audioDevice, boolean enabled) { in sendDeviceNotification()175 AudioDevice audioDevice = new AudioDevice(card, device, hasPlayback, hasCapture, hasMidi); in deviceAdded()185 AudioDevice audioDevice = mAudioDevices.remove(device); in deviceRemoved()
25 public class AudioDevice { class111 AudioDevice(AudioDevicePortConfig config) { in AudioDevice() method in AudioDevice