xref: /aosp_15_r20/external/autotest/client/site_tests/power_VideoEncode/control.FDO_fast (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1AUTHOR = "puthik"
2NAME = "power_VideoEncode.FDO_fast"
3PURPOSE = "Make sure video encode works fine with optional force discharge."
4
5CRITERIA = "This test is a benchmark."
6TIME = "FAST"
7TEST_CATEGORY = "Benchmark"
8TEST_CLASS = "power"
9TEST_TYPE = "client"
10PY_VERSION = 3
11
12DOC = """
13This test makes sure that power_VideoEncode is working fine while optionally
14force discharge.
15
16"FDO" is short for "force discharge optional." Test will use EC command to
17force DUT to discharge. If it fails, then use AC as the power source.
18"""
19
20formats = [
21    ('h264', 'hd', 24),
22    ('vp9', 'hvga', 24),
23    ('vp8', 'qhvga', 15),
24]
25
26args_dict = utils.args_to_dict(args)
27pdash_note = args_dict.get('pdash_note', '')
28job.run_test('power_VideoEncode', tag=NAME.split('.')[1], seconds_per_test=30,
29             seconds_period=5, format=formats, pdash_note=pdash_note,
30             force_discharge='optional')
31