summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binder_benchmark/BinderPerformanceTest.py4
-rw-r--r--hwbinder_benchmark/HwBinderPerformanceTest.py4
2 files changed, 0 insertions, 8 deletions
diff --git a/binder_benchmark/BinderPerformanceTest.py b/binder_benchmark/BinderPerformanceTest.py
index 4c1cec0..2be4a53 100644
--- a/binder_benchmark/BinderPerformanceTest.py
+++ b/binder_benchmark/BinderPerformanceTest.py
@@ -68,14 +68,10 @@ class BinderPerformanceTest(base_test_with_webdb.BaseTestWithWebDbClass):
def setUpClass(self):
self.dut = self.registerController(android_device)[0]
self.dut.shell.InvokeTerminal("one")
- self.dut.shell.one.Execute("stop")
- self.dut.shell.one.Execute("setprop sys.boot_completed 0")
self.DisableCpuScaling()
def tearDownClass(self):
self.EnableCpuScaling()
- self.dut.shell.one.Execute("start")
- self.dut.shell.one.waitForBootCompletion()
def ChangeCpuGoverner(self, mode):
"""Changes the cpu governer mode of all the cpus on the device.
diff --git a/hwbinder_benchmark/HwBinderPerformanceTest.py b/hwbinder_benchmark/HwBinderPerformanceTest.py
index 541d375..8407122 100644
--- a/hwbinder_benchmark/HwBinderPerformanceTest.py
+++ b/hwbinder_benchmark/HwBinderPerformanceTest.py
@@ -71,14 +71,10 @@ class HwBinderPerformanceTest(base_test_with_webdb.BaseTestWithWebDbClass):
self.getUserParams(required_params)
self.dut = self.registerController(android_device)[0]
self.dut.shell.InvokeTerminal("one")
- self.dut.shell.one.Execute("stop")
- self.dut.shell.one.Execute("setprop sys.boot_completed 0")
self.DisableCpuScaling()
def tearDownClass(self):
self.EnableCpuScaling()
- self.dut.shell.one.Execute("start")
- self.dut.shell.one.waitForBootCompletion()
def ChangeCpuGoverner(self, mode):
"""Changes the cpu governer mode of all the cpus on the device.