Home
last modified time | relevance | path

Searched refs:pb_compiled_file (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/format/
DContainer_test.cpp44 pb::internal::CompiledFile pb_compiled_file; in TEST() local
45 pb_compiled_file.set_resource_name("android:layout/main.xml"); in TEST()
46 pb_compiled_file.set_type(pb::FileReference::PROTO_XML); in TEST()
47 pb_compiled_file.set_source_path("res/layout/main.xml"); in TEST()
49 ASSERT_TRUE(writer.AddResFileEntry(pb_compiled_file, &data)); in TEST()
/frameworks/base/tools/aapt2/cmd/
DDump.cpp187 pb::internal::CompiledFile pb_compiled_file; in Action() local
190 if (!entry->GetResFileOffsets(&pb_compiled_file, &offset, &length)) { in Action()
199 if (!DeserializeCompiledFileFromPb(pb_compiled_file, &file, &error)) { in Action()
DCompile.cpp304 pb::internal::CompiledFile pb_compiled_file; in WriteHeaderAndDataToWriter() local
305 SerializeCompiledFileToPb(file, &pb_compiled_file); in WriteHeaderAndDataToWriter()
307 if (!container_writer.AddResFileEntry(pb_compiled_file, in)) { in WriteHeaderAndDataToWriter()
322 pb::internal::CompiledFile pb_compiled_file; in FlattenXmlToOutStream() local
323 SerializeCompiledFileToPb(xmlres.file, &pb_compiled_file); in FlattenXmlToOutStream()
331 if (!container_writer->AddResFileEntry(pb_compiled_file, &serialized_in)) { in FlattenXmlToOutStream()
DLink.cpp1499 pb::internal::CompiledFile pb_compiled_file; in MergeFile() local
1502 if (!entry->GetResFileOffsets(&pb_compiled_file, &offset, &len)) { in MergeFile()
1510 if (!DeserializeCompiledFileFromPb(pb_compiled_file, &resource_file, &error)) { in MergeFile()