Home | History | Annotate | Download | only in manual

Lines Matching refs:microphone

5 """Get speaker/microphone status from cras_client_test, /proc/asound and
204 @returns the list of nodes for default microphone. If device not found,
233 microphone = re.findall(r"10\t(.*):\s+USB\s+Audio:", line)[0]
237 logging.info('---mic for %s is %s', node, microphone)
238 return microphone
267 check microphone is muted or unmuted as expected/.
285 logging.info('Hotrod setting: microphone is muted')
287 logging.info('Hotrod setting: microphone is not muted')
289 logging.info('cras setting: microphone is muted')
291 logging.info('cras setting: microphone is not muted')
292 return False, 'Microphone is not muted/unmuted as shown in Hotrod.'
358 return False, '{} is not preferred microphone.'.format(name)
363 Get the status of mute or unmute for microphone
406 Check microphone exists in cras.
412 microphone = None
417 microphone = dut.run(cmd, ignore_status=True).stdout.splitlines()[0]
420 logging.info('---cmd: %s\n---output = %s', cmd, microphone)
421 if microphone:
423 return False, 'Fail to find microphone {}.'.format(name)