1AUTHOR = "ChromeOS Team" 2NAME = "power_VideoPlayback.sw_decoder_FDO" 3PURPOSE = "Measure video playback power usage." 4 5CRITERIA = "This test is a benchmark." 6TIME = "LENGTHY" 7TEST_CATEGORY = "Benchmark" 8TEST_CLASS = "power" 9TEST_TYPE = "client" 10ATTRIBUTES = "suite:power_daily" 11PY_VERSION = 3 12 13DOC = """ 14This test records power related statistics while play back video file in 15various format. 16 17This version of the test forces Chrome to use software decoder. 18 19"FDO" is short for "force discharge optional." Test will use EC command to 20force DUT to discharge. If it fails, then use AC as the power source. 21""" 22 23args_dict = utils.args_to_dict(args) 24pdash_note = args_dict.get('pdash_note', '') 25job.run_test('power_VideoPlayback', use_hw_decode=False, 26 tag=NAME.split('.')[1], pdash_note=pdash_note, 27 force_discharge='optional') 28