/frameworks/base/tools/aapt2/format/ |
D | Container_test.cpp | 51 pb::ResourceTable pb_table; in TEST() local 52 pb::Package* pb_pkg = pb_table.add_package(); in TEST() 55 ASSERT_TRUE(writer.AddResTableEntry(pb_table)); in TEST()
|
/frameworks/base/tools/aapt2/ |
D | LoadedApk.cpp | 102 pb::ResourceTable pb_table; in LoadProtoApkFromFileCollection() local 110 if (!proto_reader.ReadMessage(&pb_table)) { in LoadProtoApkFromFileCollection() 117 if (!DeserializeTableFromPb(pb_table, collection.get(), table.get(), &error)) { in LoadProtoApkFromFileCollection() 270 pb::ResourceTable pb_table; in WriteToArchive() local 271 SerializeTableToPb(*split_table, &pb_table, context->GetDiagnostics()); in WriteToArchive() 273 &pb_table, in WriteToArchive()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 102 pb::ResourceTable pb_table; in TEST() local 103 SerializeTableToPb(*table, &pb_table, context->GetDiagnostics()); in TEST() 112 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)) << error; in TEST() 327 pb::ResourceTable pb_table; in TEST() local 328 SerializeTableToPb(*table, &pb_table, context->GetDiagnostics()); in TEST() 337 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)); in TEST() 550 pb::ResourceTable pb_table; in TEST() local 551 SerializeTableToPb(*table, &pb_table, context->GetDiagnostics()); in TEST() 556 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)); in TEST()
|
D | ProtoDeserialize.h | 57 bool DeserializeTableFromPb(const pb::ResourceTable& pb_table, io::IFileCollection* files,
|
D | ProtoDeserialize.cpp | 533 bool DeserializeTableFromPb(const pb::ResourceTable& pb_table, io::IFileCollection* files, in DeserializeTableFromPb() argument 540 if (pb_table.has_source_pool()) { in DeserializeTableFromPb() 541 status_t result = source_pool.setTo(pb_table.source_pool().data().data(), in DeserializeTableFromPb() 542 pb_table.source_pool().data().size()); in DeserializeTableFromPb() 551 for (const pb::Overlayable& pb_overlayable : pb_table.overlayable()) { in DeserializeTableFromPb() 559 for (const pb::Package& pb_package : pb_table.package()) { in DeserializeTableFromPb()
|
D | ProtoSerialize.cpp | 278 pb::ResourceTable* pb_table) { in SerializeOverlayableItemToPb() argument 290 pb::Overlayable* pb_overlayable = pb_table->add_overlayable(); in SerializeOverlayableItemToPb()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 165 pb::ResourceTable pb_table; in Action() local 166 if (!entry->GetResTable(&pb_table)) { in Action() 175 if (!DeserializeTableFromPb(pb_table, nullptr /*files*/, &table, &error)) { in Action()
|
D | Convert.cpp | 160 pb::ResourceTable pb_table; in SerializeTable() local 161 SerializeTableToPb(*table, &pb_table, context_->GetDiagnostics()); in SerializeTable() 162 return io::CopyProtoToArchive(context_, &pb_table, kProtoResourceTablePath, in SerializeTable()
|
D | Compile.cpp | 210 pb::ResourceTable pb_table; in CompileTable() local 211 SerializeTableToPb(table, &pb_table, context->GetDiagnostics()); in CompileTable() 212 if (!container_writer.AddResTableEntry(pb_table)) { in CompileTable()
|
D | Link.cpp | 1067 pb::ResourceTable pb_table; in FlattenTable() local 1068 SerializeTableToPb(*table, &pb_table, context_->GetDiagnostics()); in FlattenTable() 1069 return io::CopyProtoToArchive(context_, &pb_table, kProtoResourceTablePath, in FlattenTable() 1479 pb::ResourceTable pb_table; in MergeFile() local 1480 if (!entry->GetResTable(&pb_table)) { in MergeFile() 1488 if (!DeserializeTableFromPb(pb_table, nullptr /*files*/, &table, &error)) { in MergeFile()
|