AUTHOR = "puthik" NAME = "power_VideoCall.fast_crosbolt" PURPOSE = "Make sure power_VideoCall works fine." CRITERIA = "This test is a benchmark." TIME = "SHORT" TEST_CATEGORY = "Benchmark" TEST_CLASS = "power" TEST_TYPE = "client" ATTRIBUTES = "suite:crosbolt_perf_perbuild" DOC = """ This test simulates video call multitasking and record power related statistic. Workload - Camera preview in 720p using VP9 codec. - Four 720p 30fps video playback with two VP8 videos and two VP9 videos. - Google Doc with emulated typing. The fast version only runs for 3 minutes to make sure the test works as expected. Crosbolt version adds force_discharge to collect total system power from battery. """ args_dict = utils.args_to_dict(args) pdash_note = args_dict.get('pdash_note', '') job.default_profile_only = True job.profilers.add('cros_perf', interval=20) job.run_test('power_VideoCall', pdash_note=pdash_note, duration=180, tag=NAME.split('.')[1], seconds_period=5, force_discharge=True) job.profilers.delete('cros_perf')