Home
last modified time | relevance | path

Searched refs:ota_runner (Results 1 – 9 of 9) sorted by relevance

/tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/
Dota_runner_test.py21 from acts.libs.ota.ota_runners import ota_runner
46 class OtaRunnerImpl(ota_runner.OtaRunner):
60 self.prev_sl4a_service_setup_time = ota_runner.SL4A_SERVICE_SETUP_TIME
61 ota_runner.SL4A_SERVICE_SETUP_TIME = 0
64 ota_runner.SL4A_SERVICE_SETUP_TIME = self.prev_sl4a_service_setup_time
86 except ota_runner.OtaError:
92 runner = ota_runner.OtaRunner(tool, device)
107 runner = ota_runner.SingleUseOtaRunner(self.tool, self.device, '', '')
109 with mock.patch.object(ota_runner.OtaRunner, '_update'):
111 except ota_runner.OtaError:
[all …]
Dota_runner_factory_test.py23 from acts.libs.ota.ota_runners import ota_runner
117 self.assertEqual(type(ret), ota_runner.SingleUseOtaRunner)
122 self.assertEqual(type(ret), ota_runner.MultiUseOtaRunner)
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dadb_sideload_ota_tool.py34 def update(self, ota_runner): argument
36 ota_runner.android_device.root_adb()
38 ota_runner.android_device.adb.reboot('sideload')
39 ota_runner.android_device.adb.wait_for_sideload()
41 package_path = ota_runner.get_ota_package()
43 ota_runner.android_device.adb.sideload(
46 ota_runner.android_device.adb.wait_for_recovery()
47 ota_runner.android_device.reboot(stop_at_lock_screen=True)
Dupdate_device_ota_tool.py43 def update(self, ota_runner): argument
45 ota_runner.android_device.root_adb()
47 self.command, ota_runner.serial, ota_runner.get_ota_package())
53 ota_runner.android_device.reboot(stop_at_lock_screen=True)
Dota_tool.py33 def update(self, ota_runner): argument
41 def cleanup(self, ota_runner): argument
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dadb_sideload_ota_tool_test.py20 from acts.libs.ota.ota_runners import ota_runner
46 self.sl4a_service_setup_time = ota_runner.SL4A_SERVICE_SETUP_TIME
47 ota_runner.SL4A_SERVICE_SETUP_TIME = 0
50 ota_runner.SL4A_SERVICE_SETUP_TIME = self.sl4a_service_setup_time
58 runner = ota_runner.SingleUseOtaRunner(tool, device, '', '')
Dupdate_device_ota_tool_test.py20 from acts.libs.ota.ota_runners import ota_runner
40 self.sl4a_service_setup_time = ota_runner.SL4A_SERVICE_SETUP_TIME
41 ota_runner.SL4A_SERVICE_SETUP_TIME = 0
44 ota_runner.SL4A_SERVICE_SETUP_TIME = self.sl4a_service_setup_time
55 ota_runner.SingleUseOtaRunner(tool, device, '', ''))
/tools/test/connectivity/acts/framework/tests/libs/ota/
Dota_updater_test.py20 from acts.libs.ota.ota_runners import ota_runner
42 raise ota_runner.OtaError
65 device: ota_runner.OtaRunner('tool', device)
69 except ota_runner.OtaError:
83 with self.assertRaises(ota_runner.OtaError):
93 except ota_runner.OtaError:
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner_factory.py20 from acts.libs.ota.ota_runners import ota_runner
159 runner = ota_runner.SingleUseOtaRunner(ota_tool, android_device,
162 runner = ota_runner.MultiUseOtaRunner(ota_tool, android_device,