Make audiofuntest's success rate threshold an argument

The threshold was previously hard coded to 50, which is not flexible and
pretty easy to pass. Make it an argument so we can easily adjust it in
the future.

TEST=Manually tested, the test won't pass after covering with tape on
    the mic

Change-Id: Ib7f961c44aedd83f784321fd91fa530b89ebb3d5
Reviewed-by: Cheng-Yi Chiang <>
Commit-Queue: Mao Huang <>
Tested-by: Mao Huang <>
1 file changed