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.py22 from acts.libs.ota.ota_runners import ota_runner
47 class OtaRunnerImpl(ota_runner.OtaRunner):
64 self.prev_sl4a_service_setup_time = ota_runner.SL4A_SERVICE_SETUP_TIME
65 ota_runner.SL4A_SERVICE_SETUP_TIME = 0
68 ota_runner.SL4A_SERVICE_SETUP_TIME = self.prev_sl4a_service_setup_time
95 except ota_runner.OtaError:
101 runner = ota_runner.OtaRunner(tool, device)
136 runner = ota_runner.SingleUseOtaRunner(self.tool, self.device, '', '')
138 with mock.patch.object(ota_runner.OtaRunner, '_update'):
140 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.py42 def update(self, ota_runner): argument
44 ota_runner.android_device.root_adb()
46 self.command, ota_runner.serial, ota_runner.get_ota_package())
52 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.py23 from acts.libs.ota.ota_runners import ota_runner
49 self.sl4a_service_setup_time = ota_runner.SL4A_SERVICE_SETUP_TIME
50 ota_runner.SL4A_SERVICE_SETUP_TIME = 0
53 ota_runner.SL4A_SERVICE_SETUP_TIME = self.sl4a_service_setup_time
64 runner = ota_runner.SingleUseOtaRunner(tool, device, ota_package_path,
Dupdate_device_ota_tool_test.py23 from acts.libs.ota.ota_runners import ota_runner
43 self.sl4a_service_setup_time = ota_runner.SL4A_SERVICE_SETUP_TIME
44 ota_runner.SL4A_SERVICE_SETUP_TIME = 0
47 ota_runner.SL4A_SERVICE_SETUP_TIME = self.sl4a_service_setup_time
61 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
68 device: ota_runner.OtaRunner('tool', device)
72 except ota_runner.OtaError:
87 with self.assertRaises(ota_runner.OtaError):
97 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,