| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from measurements import power | 5 from measurements import power |
| 6 import page_sets | 6 import page_sets |
| 7 from telemetry import benchmark | 7 from telemetry import benchmark |
| 8 | 8 |
| 9 | 9 |
| 10 @benchmark.Enabled('android') | 10 @benchmark.Enabled('android') |
| 11 class PowerAndroidAcceptance(benchmark.Benchmark): | 11 class PowerAndroidAcceptance(benchmark.Benchmark): |
| 12 | |
| 13 """Android power acceptance test.""" | 12 """Android power acceptance test.""" |
| 14 | |
| 15 test = power.Power | 13 test = power.Power |
| 16 page_set = page_sets.AndroidAcceptancePageSet | 14 page_set = page_sets.AndroidAcceptancePageSet |
| 15 @classmethod |
| 16 def Name(cls): |
| 17 return 'power.android_acceptance' |
| 18 |
| 17 | 19 |
| 18 | 20 |
| 19 @benchmark.Enabled('android') | 21 @benchmark.Enabled('android') |
| 20 class PowerTypical10Mobile(benchmark.Benchmark): | 22 class PowerTypical10Mobile(benchmark.Benchmark): |
| 21 | |
| 22 """Android typical 10 mobile power test.""" | 23 """Android typical 10 mobile power test.""" |
| 23 | |
| 24 test = power.Power | 24 test = power.Power |
| 25 page_set = page_sets.Typical10MobilePageSet | 25 page_set = page_sets.Typical10MobilePageSet |
| 26 @classmethod |
| 27 def Name(cls): |
| 28 return 'power.typical_10_mobile' |
| 29 |
| 30 |
| OLD | NEW |