Home
last modified time | relevance | path

Searched refs:file_desc (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/link/
DTableMerger.cpp350 bool TableMerger::MergeFileImpl(const ResourceFile& file_desc, io::IFile* file, bool overlay) { in MergeFileImpl() argument
352 std::string path = ResourceUtils::BuildResourceFileName(file_desc); in MergeFileImpl()
355 file_ref->SetSource(file_desc.source); in MergeFileImpl()
358 ResourceTablePackage* pkg = table.CreatePackage(file_desc.name.package, 0x0); in MergeFileImpl()
359 pkg->FindOrCreateType(file_desc.name.type) in MergeFileImpl()
360 ->FindOrCreateEntry(file_desc.name.entry) in MergeFileImpl()
361 ->FindOrCreateValue(file_desc.config, {}) in MergeFileImpl()
368 bool TableMerger::MergeFile(const ResourceFile& file_desc, io::IFile* file) { in MergeFile() argument
369 return MergeFileImpl(file_desc, file, false /* overlay */); in MergeFile()
372 bool TableMerger::MergeFileOverlay(const ResourceFile& file_desc, in MergeFileOverlay() argument
[all …]
DTableMerger_test.cpp95 ResourceFile file_desc; in TEST_F() local
96 file_desc.config = test::ParseConfigOrDie("hdpi-v4"); in TEST_F()
97 file_desc.name = test::ParseNameOrDie("layout/main"); in TEST_F()
98 file_desc.source = Source("res/layout-hdpi/main.xml"); in TEST_F()
101 ASSERT_TRUE(merger.MergeFile(file_desc, &test_file)); in TEST_F()
115 ResourceFile file_desc; in TEST_F() local
116 file_desc.name = test::ParseNameOrDie("xml/foo"); in TEST_F()
120 ASSERT_TRUE(merger.MergeFile(file_desc, &file_a)); in TEST_F()
121 ASSERT_TRUE(merger.MergeFileOverlay(file_desc, &file_b)); in TEST_F()
DTableMerger.h126 bool MergeFileImpl(const ResourceFile& file_desc, io::IFile* file,
/frameworks/rs/tests/lldb/tests/harness/
Dtest_base.py298 file_desc, name = tempfile.mkstemp()
299 os.close(file_desc)
/frameworks/base/tools/aapt2/cmd/
DLink.cpp1160 bool MergeCompiledFile(io::IFile* file, ResourceFile* file_desc, bool override) { in MergeCompiledFile() argument
1162 context_->GetDiagnostics()->Note(DiagMessage() << "merging '" << file_desc->name in MergeCompiledFile()
1169 result = table_merger_->MergeFileOverlay(*file_desc, file); in MergeCompiledFile()
1171 result = table_merger_->MergeFile(*file_desc, file); in MergeCompiledFile()
1179 for (SourcedResourceName& exported_symbol : file_desc->exported_symbols) { in MergeCompiledFile()
1193 id->SetSource(file_desc->source.WithLine(exported_symbol.line)); in MergeCompiledFile()