xref: /aosp_15_r20/external/autotest/client/site_tests/power_AudioDetector/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2012 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 = "sque"
6NAME = "power_AudioDetector"
7PURPOSE = "Verify the system does not suspend while playing audio."
8CRITERIA = """
9Fail if any of the following occur:
10  - The system suspends during audio playback.
11  - The powerd log does not contain logging to indicate that the audio detector
12    delayed suspend.
13"""
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "power"
17TEST_TYPE = "client"
18ATTRIBUTES = "suite:bvt-perbuild"
19PY_VERSION = 3
20
21DOC = """
22This test verifies that the system will not suspend while audio is playing.
23"""
24
25job.run_test("power_AudioDetector")
26