Searched refs:FindFile (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/tools/aapt2/ |
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()
|
/frameworks/base/tools/aapt2/cmd/ |
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() 343 apk.get()->GetFileCollection()->FindFile("resources.pb"); in TEST_F()
|
D | Link_test.cpp | 120 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()
|
D | Dump.cpp | 357 io::IFile* file = apk->GetFileCollection()->FindFile(xml_file); in Dump() 564 auto file = apk->GetFileCollection()->FindFile("resources.arsc"); in Dump()
|
D | Convert.cpp | 284 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
|
D | Link.cpp | 854 if (zip_collection->FindFile(kProtoResourceTablePath) != nullptr) { in LoadSymbolsFromIncludePaths()
|
/frameworks/base/tools/aapt2/io/ |
D | File.h | 113 virtual IFile* FindFile(android::StringPiece path) = 0;
|
D | FileSystem.h | 68 IFile* FindFile(android::StringPiece path) override;
|
D | ZipArchive.h | 68 io::IFile* FindFile(android::StringPiece path) override;
|
D | ZipArchive.cpp | 155 IFile* ZipFileCollection::FindFile(StringPiece path) { in FindFile() function in aapt::io::ZipFileCollection
|
D | FileSystem.cpp | 151 IFile* FileCollection::FindFile(StringPiece path) { in FindFile() function in aapt::io::FileCollection
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 38 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()
|
D | ProtoDeserialize.cpp | 998 file_ref->file = files->FindFile(*file_ref->path); in DeserializeItemFromPb()
|
/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 98 std::unique_ptr<android::InputStream> stream = zip->FindFile(file)->OpenInputStream(); in VerifyZipFile()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 570 file_ref->file = files_->FindFile(*file_ref->path); in ParseValue()
|