Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DTestHelpers.cpp27 AssertionResult ReadFileFromZipToString(const std::string& zip_path, const std::string& file, in ReadFileFromZipToString() argument
31 int32_t result = OpenArchive(zip_path.c_str(), &handle); in ReadFileFromZipToString()
33 return AssertionFailure() << "Failed to open zip '" << zip_path in ReadFileFromZipToString()
42 return AssertionFailure() << "Could not find file '" << file << "' in zip '" << zip_path in ReadFileFromZipToString()
52 return AssertionFailure() << "Failed to extract file '" << file << "' from zip '" << zip_path in ReadFileFromZipToString()
DTestHelpers.h30 ::testing::AssertionResult ReadFileFromZipToString(const std::string& zip_path,
/frameworks/base/cmds/idmap/
Dcreate.cpp16 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) in get_zip_entry_crc() argument
18 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(zip_path)); in get_zip_entry_crc()