1 # Copyright 2019 Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = 'yshavit (a] chromium.org' 6 NAME = 'bluetooth_AdapterAudioLink' 7 ATTRIBUTES = "suite:bluetooth" 8 # The default net duration of the test (excluding initializations) 9 # is 1 minute (12 interations of 5 seconds audio). 10 # Initialization time varies, usualy it takes about 2 minutes. 11 TIME = 'SHORT' 12 TEST_CLASS = 'bluetooth' 13 TEST_TYPE = 'Server' 14 DEPENDENCIES = 'bluetooth' 15 16 DOC = """ 17 Bluetooth audio test to verify that audio connection can be established 18 and stay connected during audio. In the futuer the test can be expanded 19 to test audio quality etc. 20 """ 21 22 from autotest_lib.server.cros.bluetooth import bluetooth_tester 23 from autotest_lib.server import utils 24 25 args_dict = utils.args_to_dict(args) 26 chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict) 27 28 def run(machine): 29 host = hosts.create_host(machine, chameleon_args=chameleon_args) 30 job.run_test('bluetooth_AdapterAudioLink', host=host) 31 32 33 parallel_simple(run, machines) 34