Home | History | Annotate | Download | only in audio_AudioRoutingUSB

Lines Matching refs:host

17     def get_opened_device(self, host):
19 output = host.run('lsof -Fn +D /dev/snd', ignore_status=True).stdout
22 def run_once(self, host):
24 host.run('aplay /dev/zero </dev/null >/dev/null 2>&1 &')
25 self.run_test_while_audio_is_playing(host)
27 host.run('killall aplay')
29 def run_test_while_audio_is_playing(self, host):
30 host.servo.set('dut_usb2_prtctl', 'on')
33 host.servo.set('usb_mux_oe2', 'off')
35 dev1 = self.get_opened_device(host)
38 host.servo.set('usb_mux_oe2', 'on')
40 dev2 = self.get_opened_device(host)
43 host.servo.set('usb_mux_oe2', 'off')
45 dev3 = self.get_opened_device(host)