Searched refs:zip_file (Results 1 – 3 of 3) sorted by relevance
/packages/modules/adb/client/ |
D | fastdeploy.cpp | 153 std::unique_ptr<android::ZipFileRO> zip_file((android::ZipFileRO::open)(apk_path)); in get_package_name_from_apk() local 155 if (zip_file == nullptr) { in get_package_name_from_apk() 158 android::ZipEntryRO entry = zip_file->findEntryByName("AndroidManifest.xml"); in get_package_name_from_apk() 163 if (!zip_file->getEntryInfo(entry, NULL, &manifest_len, NULL, NULL, NULL, NULL)) { in get_package_name_from_apk() 167 if (!zip_file->uncompressEntry(entry, manifest_data.data(), manifest_len)) { in get_package_name_from_apk()
|
/packages/modules/Virtualization/zipfuse/src/ |
D | main.rs | 46 let zip_file = matches.value_of("ZIPFILE").unwrap().as_ref(); in main() localVariable 48 run_fuse(zip_file, mount_point)?; in main() 53 pub fn run_fuse(zip_file: &Path, mount_point: &Path) -> Result<()> { in run_fuse() 72 Ok(fuse::worker::start_message_loop(dev_fuse, MAX_READ, MAX_WRITE, ZipFuse::new(zip_file)?)?) in run_fuse() 110 fn new(zip_file: &Path) -> Result<ZipFuse> { in new() 113 let f = OpenOptions::new().read(true).open(zip_file)?; in new() 209 let mut zip_file = zip_archive.by_index(zip_index)?; in open() localVariable 211 zip_file.read_to_end(&mut buf)?; in open()
|
D | inode.rs | 97 fn new_file(zip_index: ZipIndex, zip_file: &zip::read::ZipFile) -> InodeData { in new_file() 99 mode: zip_file.unix_mode().unwrap_or(0), in new_file() 100 size: zip_file.size(), in new_file()
|