OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:target_files_zip
(Results
1 - 5
of
5
) sorted by null
/build/make/tools/releasetools/
test_common.py
500
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
501
target_files_zip
.writestr('META/apkcerts.txt', apkcerts_txt)
503
target_files_zip
.writestr(entry, '')
622
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
623
target_files_zip
.write(
629
target_files_zip
.writestr('IMAGES/system.map', '')
630
target_files_zip
.writestr('SYSTEM/file1', os.urandom(4096 * 8))
631
target_files_zip
.writestr('SYSTEM/file2', os.urandom(4096 * 3))
654
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
655
target_files_zip
.write
[
all
...]
test_sign_target_files_apks.py
413
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
414
target_files_zip
.writestr('META/apexkeys.txt', self.APEX_KEYS_TXT)
416
with zipfile.ZipFile(target_files) as
target_files_zip
:
417
keys_info = ReadApexKeysInfo(
target_files_zip
)
437
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
438
target_files_zip
.writestr('META/apexkeys.txt', apex_keys)
440
with zipfile.ZipFile(target_files) as
target_files_zip
:
441
self.assertRaises(ValueError, ReadApexKeysInfo,
target_files_zip
)
451
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
452
target_files_zip
.writestr('META/apexkeys.txt', apex_keys
[
all
...]
ota_from_target_files
700
def HasRecoveryPatch(
target_files_zip
):
701
namelist = [name for name in
target_files_zip
.namelist()]
706
def HasPartition(
target_files_zip
, partition):
708
target_files_zip
.getinfo(partition.upper() + "/")
714
def HasVendorPartition(
target_files_zip
):
715
return HasPartition(
target_files_zip
, "vendor")
718
def HasProductPartition(
target_files_zip
):
719
return HasPartition(
target_files_zip
, "product")
722
def HasOdmPartition(
target_files_zip
):
723
return HasPartition(
target_files_zip
, "odm"
[
all
...]
ota_from_target_files.py
700
def HasRecoveryPatch(
target_files_zip
):
701
namelist = [name for name in
target_files_zip
.namelist()]
706
def HasPartition(
target_files_zip
, partition):
708
target_files_zip
.getinfo(partition.upper() + "/")
714
def HasVendorPartition(
target_files_zip
):
715
return HasPartition(
target_files_zip
, "vendor")
718
def HasProductPartition(
target_files_zip
):
719
return HasPartition(
target_files_zip
, "product")
722
def HasOdmPartition(
target_files_zip
):
723
return HasPartition(
target_files_zip
, "odm"
[
all
...]
test_ota_from_target_files.py
35
with zipfile.ZipFile(target_files, 'w') as
target_files_zip
:
37
target_files_zip
.writestr(
42
target_files_zip
.writestr(
59
target_files_zip
.writestr(
65
target_files_zip
.writestr(
71
target_files_zip
.writestr('IMAGES/system_other.img',
[
all
...]
Completed in 74 milliseconds