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()
41 return AssertionFailure() << "Could not find file '" << file << "' in zip '" << zip_path in ReadFileFromZipToString()
51 return AssertionFailure() << "Failed to extract file '" << file << "' from zip '" << zip_path in ReadFileFromZipToString()
DTestHelpers.h30 ::testing::AssertionResult ReadFileFromZipToString(const std::string& zip_path,
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp103 void ParseSections(const std::string& zip_path, std::vector<SectionInfo>* sections) { in ParseSections() argument
106 ASSERT_EQ(OpenArchive(zip_path.c_str(), &handle), 0); in ParseSections()