Home
last modified time | relevance | path

Searched refs:FindFile (Results 1 – 16 of 16) 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()
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/cmd/
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.cpp352 io::IFile* file = apk->GetFileCollection()->FindFile(xml_file); in Dump()
DConvert.cpp272 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
DLink.cpp828 if (zip_collection->FindFile(kProtoResourceTablePath) != nullptr) { in LoadSymbolsFromIncludePaths()
/frameworks/base/tools/aapt2/io/
DFileSystem.h68 IFile* FindFile(const android::StringPiece& path) override;
DZipArchive.h67 io::IFile* FindFile(const android::StringPiece& path) override;
DFile.h105 virtual IFile* FindFile(const android::StringPiece& path) = 0;
DFileSystem.cpp125 IFile* FileCollection::FindFile(const StringPiece& path) { in FindFile() function in aapt::io::FileCollection
DZipArchive.cpp152 IFile* ZipFileCollection::FindFile(const StringPiece& path) { in FindFile() function in aapt::io::ZipFileCollection
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_database.cc174 Value SimpleDescriptorDatabase::DescriptorIndex<Value>::FindFile( in FindFile() function in google::protobuf::SimpleDescriptorDatabase::DescriptorIndex
269 return MaybeCopy(index_.FindFile(filename), output); in FindFileByName()
331 return MaybeParse(index_.FindFile(filename), output); in FindFileByName()
Ddescriptor_database.h174 Value FindFile(const string& filename);
Ddescriptor.cc471 inline const FileDescriptor* FindFile(const string& key) const;
817 inline const FileDescriptor* DescriptorPool::Tables::FindFile( in FindFile() function in google::protobuf::DescriptorPool::Tables
1096 return tables_->FindFile(filename) != NULL; in InternalIsFileLoaded()
1178 const FileDescriptor* result = tables_->FindFile(name); in FindFileByName()
1185 result = tables_->FindFile(name); in FindFileByName()
1640 || tables_->FindFile(file_proto.name()) != NULL in TryFindSymbolInFallbackDatabase()
1661 if (tables_->FindFile(file_proto.name()) != NULL) { in TryFindExtensionInFallbackDatabase()
3811 const FileDescriptor* existing_file = tables_->FindFile(filename_); in BuildFile()
3844 if (tables_->FindFile(proto.dependency(i)) == NULL && in BuildFile()
3933 const FileDescriptor* dependency = tables_->FindFile(proto.dependency(i)); in BuildFileImpl()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp35 MOCK_METHOD1(FindFile, io::IFile*(const StringPiece& path));
107 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST()
332 EXPECT_CALL(files, FindFile(Eq("res/layout/main.xml"))) in TEST()
DProtoDeserialize.cpp928 file_ref->file = files->FindFile(*file_ref->path); in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp523 file_ref->file = files_->FindFile(*file_ref->path); in ParseValue()