| Index: build/android/pylib/perf/perf_control_unittest.py
|
| diff --git a/build/android/pylib/perf/perf_control_unittest.py b/build/android/pylib/perf/perf_control_unittest.py
|
| index 69b8b469bfcdd0511e8840dd76fe0e6f1fcfca5f..dd7cb88002cbd73c2ead71bcfa9a16383231f1c0 100644
|
| --- a/build/android/pylib/perf/perf_control_unittest.py
|
| +++ b/build/android/pylib/perf/perf_control_unittest.py
|
| @@ -9,6 +9,7 @@
|
|
|
| sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
|
|
|
| +from pylib import android_commands
|
| from pylib.device import device_utils
|
| from pylib.perf import perf_control
|
|
|
| @@ -17,9 +18,10 @@
|
| if not os.getenv('BUILDTYPE'):
|
| os.environ['BUILDTYPE'] = 'Debug'
|
|
|
| - devices = device_utils.DeviceUtils.HealthyDevices()
|
| + devices = android_commands.GetAttachedDevices()
|
| self.assertGreater(len(devices), 0, 'No device attached!')
|
| - self._device = devices[0]
|
| + self._device = device_utils.DeviceUtils(
|
| + android_commands.AndroidCommands(device=devices[0]))
|
|
|
| def testHighPerfMode(self):
|
| perf = perf_control.PerfControl(self._device)
|
|
|