Home
last modified time | relevance | path

Searched refs:FindFile (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/
DLoadedApk.cpp39 if (apk->FindFile(kApkResourceTablePath) != nullptr) { in DetermineApkFormat()
41 } else if (apk->FindFile(kProtoResourceTablePath) != nullptr) { in DetermineApkFormat()
45 io::IFile* manifest_file = apk->FindFile(kAndroidManifestPath); in DetermineApkFormat()
102 io::IFile* table_file = collection->FindFile(kProtoResourceTablePath); in LoadProtoApkFromFileCollection()
126 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadProtoApkFromFileCollection()
161 io::IFile* table_file = collection->FindFile(kApkResourceTablePath); in LoadBinaryApkFromFileCollection()
176 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
316 io::IFile* file = apk_->FindFile(file_path); in LoadXml()
/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp135 ASSERT_NE(zip->FindFile("drawable_image.png.flat"), nullptr); in TEST_F()
136 ASSERT_NE(zip->FindFile("layout_layout.xml.flat"), nullptr); in TEST_F()
137 ASSERT_NE(zip->FindFile("values_values.arsc.flat"), nullptr); in TEST_F()
164 ASSERT_NE(zip->FindFile("drawable_image.png.flat"), nullptr); in TEST_F()
165 ASSERT_NE(zip->FindFile("layout_layout.xml.flat"), nullptr); in TEST_F()
166 ASSERT_NE(zip->FindFile("values_values.arsc.flat"), nullptr); in TEST_F()
343 apk.get()->GetFileCollection()->FindFile("resources.pb"); in TEST_F()
DLink_test.cpp120 auto file = zip->FindFile("assets/testtxt"); in TEST_F()
124 file = zip->FindFile("assets/testtxt2"); in TEST_F()
128 file = zip->FindFile("assets/test.txt"); in TEST_F()
132 file = zip->FindFile("assets/test.hello.txt"); in TEST_F()
136 file = zip->FindFile("assets/test.hello.xml"); in TEST_F()
168 auto file = zip->FindFile("res/raw/testtxt"); in TEST_F()
172 file = zip->FindFile("res/raw/test.txt"); in TEST_F()
176 file = zip->FindFile("res/raw/test1.hello.hello.txt"); in TEST_F()
180 file = zip->FindFile("res/raw/test2.goodbye.goodbye.xml"); in TEST_F()
DDump.cpp357 io::IFile* file = apk->GetFileCollection()->FindFile(xml_file); in Dump()
564 auto file = apk->GetFileCollection()->FindFile("resources.arsc"); in Dump()
DConvert.cpp284 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
DLink.cpp854 if (zip_collection->FindFile(kProtoResourceTablePath) != nullptr) { in LoadSymbolsFromIncludePaths()
/frameworks/base/tools/aapt2/io/
DFile.h113 virtual IFile* FindFile(android::StringPiece path) = 0;
DFileSystem.h68 IFile* FindFile(android::StringPiece path) override;
DZipArchive.h68 io::IFile* FindFile(android::StringPiece path) override;
DZipArchive.cpp155 IFile* ZipFileCollection::FindFile(StringPiece path) { in FindFile() function in aapt::io::ZipFileCollection
DFileSystem.cpp151 IFile* FileCollection::FindFile(StringPiece path) { in FindFile() function in aapt::io::FileCollection
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp38 MOCK_METHOD1(FindFile, io::IFile*(StringPiece path));
180 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST()
408 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST()
775 EXPECT_CALL(files, FindFile(Eq("res/layout/bar.xml"))) in TEST()
987 EXPECT_CALL(files, FindFile(Eq("res/layout/bar.xml"))).WillRepeatedly(::testing::Return(&file_a)); in TEST()
DProtoDeserialize.cpp998 file_ref->file = files->FindFile(*file_ref->path); in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp98 std::unique_ptr<android::InputStream> stream = zip->FindFile(file)->OpenInputStream(); in VerifyZipFile()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp570 file_ref->file = files_->FindFile(*file_ref->path); in ParseValue()