Home
last modified time | relevance | path

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

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCAudioManager.java103 private Set<AudioDevice> audioDevices = new HashSet<>(); field in AppRTCAudioManager
123 if (audioDevices.size() == 2 && audioDevices.contains(AppRTCAudioManager.AudioDevice.EARPIECE) in onProximitySensorChangedState()
124 && audioDevices.contains(AppRTCAudioManager.AudioDevice.SPEAKER_PHONE)) { in onProximitySensorChangedState()
277 audioDevices.clear(); in start()
330 AppRTCUtils.assertIsTrue(audioDevices.contains(device)); in setAudioDeviceInternal()
380 if (!audioDevices.contains(device)) { in selectAudioDevice()
381 Log.e(TAG, "Can not select " + device + " from available " + audioDevices); in selectAudioDevice()
390 return Collections.unmodifiableSet(new HashSet<>(audioDevices)); in getAudioDevices()
469 + "available=" + audioDevices + ", " in updateAudioDeviceState()
503 boolean audioDeviceSetUpdated = !audioDevices.equals(newAudioDevices); in updateAudioDeviceState()
[all …]