• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "puthik"
2NAME = "power_VideoCall.FDO_25min"
3PURPOSE = "Simulates video call multitasking."
4CRITERIA = "This test is a benchmark."
5TIME = "LENGTHY"
6TEST_CATEGORY = "Benchmark"
7TEST_CLASS = "power"
8TEST_TYPE = "client"
9ATTRIBUTES = "suite:power_daily"
10PY_VERSION = 3
11
12DOC = """
13This test simulates video call multitasking and record power related statistics
14while optionally force discharge.
15
16Workload
17- Camera preview in 720p using VP9 codec.
18- Four 720p 30fps video playback with two VP8 videos and two VP9 videos.
19- Google Doc with emulated typing.
20
21The version runs for 25 minutes as it is common duration of the video call.
22
23"FDO" is short for "force discharge optional." Test will use EC command to
24force DUT to discharge. If it fails, then use AC as the power source.
25"""
26
27args_dict = utils.args_to_dict(args)
28pdash_note = args_dict.get('pdash_note', '')
29job.run_test('power_VideoCall', pdash_note=pdash_note, duration=1500,
30             tag=NAME.split('.')[1], force_discharge='optional')
31