Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DTestHelpers.cpp71 ::testing::AssertionResult ReadFileFromZipToString(const std::string& zip_path, in ReadFileFromZipToString() argument
76 int32_t result = OpenArchive(zip_path.c_str(), &handle); in ReadFileFromZipToString()
78 return ::testing::AssertionFailure() << "Failed to open zip '" << zip_path in ReadFileFromZipToString()
88 << zip_path << "' : " << ::ErrorCodeString(result); in ReadFileFromZipToString()
98 << zip_path << "': " << ::ErrorCodeString(result); in ReadFileFromZipToString()
DTestHelpers.h47 ::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()