Home
last modified time | relevance | path

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

/bootable/recovery/
Dverifier_test.sh56 run_command rm $WORK_DIR/package.zip
66 $ADB push $DATA_DIR/$1 $WORK_DIR/package.zip
68 run_command $WORK_DIR/verifier_test "$@" $WORK_DIR/package.zip || fail
73 $ADB push $DATA_DIR/$1 $WORK_DIR/package.zip
75 run_command $WORK_DIR/verifier_test "$@" $WORK_DIR/package.zip && fail
79 expect_fail unsigned.zip
81 expect_fail jarsigned.zip
84 expect_succeed otasigned.zip
85 expect_succeed otasigned_f4.zip -f4
86 expect_succeed otasigned_sha256.zip -sha256
[all …]
Dinstall.cpp50 try_update_binary(const char *path, ZipArchive *zip, int* wipe_cache) { in try_update_binary() argument
52 mzFindZipEntry(zip, ASSUMED_UPDATE_BINARY_NAME); in try_update_binary()
54 mzCloseZipArchive(zip); in try_update_binary()
62 mzCloseZipArchive(zip); in try_update_binary()
66 bool ok = mzExtractZipEntryToFile(zip, binary_entry, fd); in try_update_binary()
68 mzCloseZipArchive(zip); in try_update_binary()
216 ZipArchive zip; in really_install_package() local
217 err = mzOpenZipArchive(path, &zip); in really_install_package()
226 return try_update_binary(path, &zip, wipe_cache); in really_install_package()