summaryrefslogtreecommitdiff
path: root/hwbinder_throughput_test/HwBinderThroughputBenchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'hwbinder_throughput_test/HwBinderThroughputBenchmark.py')
-rw-r--r--hwbinder_throughput_test/HwBinderThroughputBenchmark.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/hwbinder_throughput_test/HwBinderThroughputBenchmark.py b/hwbinder_throughput_test/HwBinderThroughputBenchmark.py
index 588c37f..5fd950e 100644
--- a/hwbinder_throughput_test/HwBinderThroughputBenchmark.py
+++ b/hwbinder_throughput_test/HwBinderThroughputBenchmark.py
@@ -41,8 +41,7 @@ class HwBinderThroughputBenchmark(base_test.BaseTestClass):
def setUpClass(self):
required_params = ["hidl_hal_mode"]
self.getUserParams(required_params)
- self.dut = self.registerController(android_device)[0]
- self.dut.shell.InvokeTerminal("one")
+ self.dut = self.android_devices[0]
self._cpu_freq = cpu_frequency_scaling.CpuFrequencyScalingController(self.dut)
self._cpu_freq.DisableCpuScaling()
@@ -153,7 +152,7 @@ class HwBinderThroughputBenchmark(base_test.BaseTestClass):
self.hidl_hal_mode, bits)
binary = "/data/local/tmp/%s/hwbinderThroughputTest%s" % (bits, bits)
- results = self.dut.shell.one.Execute(
+ results = self.dut.shell.Execute(
["chmod 755 %s" % binary,
"VTS_ROOT_PATH=/data/local/tmp " \
"LD_LIBRARY_PATH=/system/lib%s:/data/local/tmp/%s/hw:"