summaryrefslogtreecommitdiff
path: root/hwbinder_throughput_test/HwBinderThroughputBenchmark.py
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2018-11-28 18:35:07 -0800
committerBill Yi <byi@google.com>2018-11-28 18:35:07 -0800
commit446289ca0c1b28b96f9312c96e891eaa32c04c11 (patch)
treeeaca1ba82888a43180e4fc66cc7ee6757104c463 /hwbinder_throughput_test/HwBinderThroughputBenchmark.py
parent96a858e7f8e4e3173d38ff45bb9f3ea269481dd5 (diff)
parent65f31088e161724f41d2cd39626784a4ffa45716 (diff)
downloadperformance-446289ca0c1b28b96f9312c96e891eaa32c04c11.tar.gz
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releasepie-platform-releasepie-cuttlefish-testing
Change-Id: Ic5421e74ba1e5219cd66cab7d047c5c7fd3f94d3
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:"