Home
last modified time | relevance | path

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

/aosp12/system/update_engine/scripts/update_payload/
H A Dapplier.py327 if not old_part_file:
372 if not old_part_file:
385 ((not old_part_file) or hasattr(old_part_file, 'fileno'))):
399 old_file_name = '/dev/fd/%d' % old_part_file.fileno()
407 os.set_inheritable(old_part_file.fileno(), True)
433 input_part_file = old_part_file if old_part_file else new_part_file
538 with open(old_part_file_name, 'rb') as old_part_file:
539 _VerifySha256(old_part_file, old_part_info.hash,
550 old_part_file = (open(old_part_file_name, 'r+b')
556 if old_part_file:
[all …]
/aosp12/system/update_engine/payload_generator/
H A Dpayload_properties_unittest.cc71 ScopedTempFile old_part_file("old_part.XXXXXX"); in SetUp() local
75 SetupPartitionConfig(&old_part, old_part_file.path(), 0); in SetUp()
77 WriteZerosToFile(old_part_file.path().c_str(), old_part.size); in SetUp()