• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "puthik"
2NAME = "power_VideoCall.16_vp8_multitask_2hr"
3PURPOSE = "Simulates video call multitasking."
4CRITERIA = "This test is a benchmark."
5TIME = "LENGTHY"
6TEST_CATEGORY = "Benchmark"
7TEST_CLASS = "power"
8TEST_TYPE = "client"
9EXTENDED_TIMEOUT = 7800
10PY_VERSION = 3
11
12DOC = """
13This test simulates video call multitasking and record power related statistic.
14
15Workload
16- Camera preview in 270p using VP8 codec.
17- 16 270p 24fps VP8 video playback.
18
19The run time is 2 hours.
20"""
21
22video_url = 'http://crospower.page.link/power_VideoCall_16_vp8'
23
24args_dict = utils.args_to_dict(args)
25pdash_note = args_dict.get('pdash_note', '')
26job.run_test('power_VideoCall', pdash_note=pdash_note, tag=NAME.split('.')[1],
27             video_url=video_url, num_video=17, duration=7200,
28             seconds_period=20, multitask=True)
29