xref: /aosp_15_r20/external/autotest/client/site_tests/audio_CrasDevSwitchStress/control.input (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2019 The 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 = 'The Chromium OS Authors,[email protected]'
6NAME = 'audio_CrasDevSwitchStress.input'
7ATTRIBUTES = "suite:audio"
8PURPOSE = 'Test device buffer can stay at reasonable level at repeated switching'
9CRITERIA = """
10Fail if device buffer drifts too high.
11"""
12TIME='MEDIUM'
13TEST_CATEGORY = 'Functional'
14TEST_CLASS = "audio"
15TEST_TYPE = 'client'
16PY_VERSION = 3
17
18DOC = """
19Test device buffer can stay at reasonable level under repeated switching.
20"""
21
22from autotest_lib.client.bin import utils
23from autotest_lib.client.cros.audio import audio_spec
24internal_mic_node = audio_spec.get_internal_mic_node(
25    utils.get_board_type(), utils.get_board(), utils.get_platform(), utils.get_sku())
26
27job.run_test('audio_CrasDevSwitchStress',
28             type_a='MIC',
29             type_b=internal_mic_node,
30             pinned_type=internal_mic_node)
31