Home
last modified time | relevance | path

Searched refs:otafile (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/scripts/
Dota_stress_test.py37 def PerformOTAThenPause(otafile: Path, update_device_script: Path):
39 ota_cmd = [python, str(update_device_script), str(otafile),
58 def PerformTest(otafile: Path, resumes: int, timeout: int):
67 assert otafile.exists()
68 print("Applying", otafile)
77 PerformOTAThenPause(otafile, update_device_script)
82 str(otafile), "--no-postinstall"]
117 PerformTest(args.otafile, args.resumes, args.timeout)
Dupdate_device.py405 def PushMetadata(dut, otafile, metadata_path): argument
406 payload = update_payload.Payload(otafile)
409 with zipfile.ZipFile(otafile, "r") as zfp:
520 if PushMetadata(dut, args.otafile, metadata_path):
528 if PushMetadata(dut, args.otafile, metadata_path):
536 assert PushMetadata(dut, args.otafile, metadata_path)
541 assert PushMetadata(dut, args.otafile, metadata_path)
561 with zipfile.ZipFile(args.otafile) as zfp:
578 cmds.append(['push', args.otafile, data_local_tmp_file])
589 if use_omaha and zipfile.is_zipfile(args.otafile):
[all …]