Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DLink_test.cpp110 auto file = zip->FindFile("assets/testtxt"); in TEST_F()
114 file = zip->FindFile("assets/testtxt2"); in TEST_F()
118 file = zip->FindFile("assets/test.txt"); in TEST_F()
122 file = zip->FindFile("assets/test.hello.txt"); in TEST_F()
126 file = zip->FindFile("assets/test.hello.xml"); in TEST_F()
158 auto file = zip->FindFile("res/raw/testtxt"); in TEST_F()
162 file = zip->FindFile("res/raw/test.txt"); in TEST_F()
166 file = zip->FindFile("res/raw/test1.hello.hello.txt"); in TEST_F()
170 file = zip->FindFile("res/raw/test2.goodbye.goodbye.xml"); in TEST_F()
DCompile_test.cpp136 ASSERT_NE(zip->FindFile("drawable_image.png.flat"), nullptr); in TEST_F()
137 ASSERT_NE(zip->FindFile("layout_layout.xml.flat"), nullptr); in TEST_F()
138 ASSERT_NE(zip->FindFile("values_values.arsc.flat"), nullptr); in TEST_F()
167 ASSERT_NE(zip->FindFile("drawable_image.png.flat"), nullptr); in TEST_F()
168 ASSERT_NE(zip->FindFile("layout_layout.xml.flat"), nullptr); in TEST_F()
169 ASSERT_NE(zip->FindFile("values_values.arsc.flat"), nullptr); in TEST_F()
DDump.cpp358 io::IFile* file = apk->GetFileCollection()->FindFile(xml_file); in Dump()
DConvert.cpp278 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
DLink.cpp836 if (zip_collection->FindFile(kProtoResourceTablePath) != nullptr) { in LoadSymbolsFromIncludePaths()
/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()
100 io::IFile* table_file = collection->FindFile(kProtoResourceTablePath); in LoadProtoApkFromFileCollection()
124 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadProtoApkFromFileCollection()
158 io::IFile* table_file = collection->FindFile(kApkResourceTablePath); in LoadBinaryApkFromFileCollection()
173 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
306 io::IFile* file = apk_->FindFile(file_path); in LoadXml()
/frameworks/base/tools/aapt2/io/
DZipArchive.h67 io::IFile* FindFile(const android::StringPiece& path) override;
DFile.h105 virtual IFile* FindFile(const android::StringPiece& path) = 0;
DFileSystem.h68 IFile* FindFile(const android::StringPiece& path) override;
DFileSystem.cpp125 IFile* FileCollection::FindFile(const StringPiece& path) { in FindFile() function in aapt::io::FileCollection
DZipArchive.cpp148 IFile* ZipFileCollection::FindFile(const StringPiece& path) { in FindFile() function in aapt::io::ZipFileCollection
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp37 MOCK_METHOD1(FindFile, io::IFile*(const StringPiece& path));
109 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST()
336 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST()
DProtoDeserialize.cpp936 file_ref->file = files->FindFile(*file_ref->path); in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp73 std::unique_ptr<io::InputStream> stream = zip->FindFile(file)->OpenInputStream(); in VerifyZipFile()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp494 file_ref->file = files_->FindFile(*file_ref->path); in ParseValue()