Searched refs:FindFile (Results 1 – 15 of 15) sorted by relevance
/aosp14/frameworks/base/tools/aapt2/ |
H A D | LoadedApk.cpp | 39 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()
|
/aosp14/frameworks/base/tools/aapt2/cmd/ |
H A D | Compile_test.cpp | 135 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() 328 apk.get()->GetFileCollection()->FindFile("resources.pb"); in TEST_F()
|
H A D | Link_test.cpp | 121 auto file = zip->FindFile("assets/testtxt"); in TEST_F() 125 file = zip->FindFile("assets/testtxt2"); in TEST_F() 129 file = zip->FindFile("assets/test.txt"); in TEST_F() 133 file = zip->FindFile("assets/test.hello.txt"); in TEST_F() 137 file = zip->FindFile("assets/test.hello.xml"); in TEST_F() 169 auto file = zip->FindFile("res/raw/testtxt"); in TEST_F() 173 file = zip->FindFile("res/raw/test.txt"); in TEST_F() 177 file = zip->FindFile("res/raw/test1.hello.hello.txt"); in TEST_F() 181 file = zip->FindFile("res/raw/test2.goodbye.goodbye.xml"); in TEST_F()
|
H A D | Dump.cpp | 357 io::IFile* file = apk->GetFileCollection()->FindFile(xml_file); in Dump() 564 auto file = apk->GetFileCollection()->FindFile("resources.arsc"); in Dump()
|
H A D | Convert.cpp | 284 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
|
H A D | Link.cpp | 851 if (zip_collection->FindFile(kProtoResourceTablePath) != nullptr) { in LoadSymbolsFromIncludePaths()
|
/aosp14/frameworks/base/tools/aapt2/io/ |
H A D | FileSystem.h | 67 IFile* FindFile(android::StringPiece path) override;
|
H A D | File.h | 104 virtual IFile* FindFile(android::StringPiece path) = 0;
|
H A D | ZipArchive.h | 67 io::IFile* FindFile(android::StringPiece path) override;
|
H A D | ZipArchive.cpp | 147 IFile* ZipFileCollection::FindFile(StringPiece path) { in FindFile() function in aapt::io::ZipFileCollection
|
H A D | FileSystem.cpp | 131 IFile* FileCollection::FindFile(StringPiece path) { in FindFile() function in aapt::io::FileCollection
|
/aosp14/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize_test.cpp | 38 MOCK_METHOD1(FindFile, io::IFile*(StringPiece path)); 180 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST() 407 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST() 774 EXPECT_CALL(files, FindFile(Eq("res/layout/bar.xml"))) in TEST() 986 EXPECT_CALL(files, FindFile(Eq("res/layout/bar.xml"))).WillRepeatedly(::testing::Return(&file_a)); in TEST()
|
H A D | ProtoDeserialize.cpp | 998 file_ref->file = files->FindFile(*file_ref->path); in DeserializeItemFromPb()
|
/aosp14/frameworks/base/tools/aapt2/format/ |
H A D | Archive_test.cpp | 73 std::unique_ptr<io::InputStream> stream = zip->FindFile(file)->OpenInputStream(); in VerifyZipFile()
|
/aosp14/frameworks/base/tools/aapt2/format/binary/ |
H A D | BinaryResourceParser.cpp | 570 file_ref->file = files_->FindFile(*file_ref->path); in ParseValue()
|