• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = 'yshavit@chromium.org'
6NAME = 'bluetooth_AdapterAudioLink'
7ATTRIBUTES = "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.
11TIME = 'SHORT'
12TEST_CLASS = 'bluetooth'
13TEST_TYPE = 'Server'
14DEPENDENCIES = 'bluetooth'
15
16DOC = """
17Bluetooth audio test to verify that audio connection can be established
18and stay connected during audio. In the futuer the test can be expanded
19to test audio quality etc.
20"""
21
22from autotest_lib.server.cros.bluetooth import bluetooth_tester
23from autotest_lib.server import utils
24
25args_dict = utils.args_to_dict(args)
26chameleon_args = hosts.CrosHost.get_chameleon_arguments(args_dict)
27
28def run(machine):
29    host = hosts.create_host(machine, chameleon_args=chameleon_args)
30    job.run_test('bluetooth_AdapterAudioLink', host=host)
31
32
33parallel_simple(run, machines)
34