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 -e3
85 expect_succeed otasigned_f4.zip -f4
86 expect_succeed otasigned_sha256.zip -e3 -sha256
[all …]
Dinstall.cpp51 try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) { in try_update_binary() argument
53 mzFindZipEntry(zip, ASSUMED_UPDATE_BINARY_NAME); in try_update_binary()
55 mzCloseZipArchive(zip); in try_update_binary()
63 mzCloseZipArchive(zip); in try_update_binary()
67 bool ok = mzExtractZipEntryToFile(zip, binary_entry, fd); in try_update_binary()
69 mzCloseZipArchive(zip); in try_update_binary()
246 ZipArchive zip; in really_install_package() local
247 err = mzOpenZipArchive(map.addr, map.length, &zip); in really_install_package()
258 int result = try_update_binary(path, &zip, wipe_cache); in really_install_package()