Home
last modified time | relevance | path

Searched refs:zip_path (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/tests/unit/
Dzip_test.cpp31 std::string zip_path = from_testdata_base("ziptest_fake-update.zip"); in TEST() local
33 ASSERT_TRUE(map.MapFile(zip_path)); in TEST()
37 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_path.c_str(), &handle)); in TEST()
Dupdater_test.cpp348 std::string zip_path = from_testdata_base("ziptest_valid.zip"); in TEST_F() local
350 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle)); in TEST_F()
/bootable/recovery/updater/
Dinstall.cpp114 const std::string& zip_path = args[0]; in PackageExtractFileFn() local
119 if (FindEntry(za, zip_path, &entry) != 0) { in PackageExtractFileFn()
120 LOG(ERROR) << name << ": no " << zip_path << " in package"; in PackageExtractFileFn()
141 LOG(ERROR) << name << ": Failed to extract entry \"" << zip_path << "\" (" in PackageExtractFileFn()
165 const std::string& zip_path = args[0]; in PackageExtractFileFn() local
169 if (FindEntry(za, zip_path, &entry) != 0) { in PackageExtractFileFn()
171 zip_path.c_str()); in PackageExtractFileFn()
182 zip_path.c_str(), buffer.size(), ErrorCodeString(ret)); in PackageExtractFileFn()