/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 73 return AddValue(name, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); in AddString() 79 return AddValue(name, config, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); in AddString() 92 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); in AddFileReference() 101 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); in AddFileReference() 146 StringPool* ResourceTableBuilder::string_pool() { in string_pool() function in aapt::test::ResourceTableBuilder 147 return &table_->string_pool; in string_pool()
|
D | Builders.h | 79 StringPool* string_pool();
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 282 dst_config_value, src_config_value.get(), &master_table_->string_pool); in DoMerge() 301 new_file_ref = std::unique_ptr<FileReference>(f->Clone(&master_table_->string_pool)); in DoMerge() 310 src_config_value->value->Clone(&master_table_->string_pool)); in DoMerge() 331 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile() 338 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool)); in CloneAndMangleFile() 345 util::make_unique<FileReference>(table.string_pool.MakeRef(path)); in MergeFile()
|
D | ReferenceLinker.cpp | 54 StringPool* string_pool, xml::IPackageDeclStack* decl) in ReferenceLinkerVisitor() argument 59 string_pool_(string_pool) {} in ReferenceLinkerVisitor() 416 &table->string_pool, &decl_stack); in Consume()
|
D | XmlCompatVersioner.cpp | 114 out_el->attributes.push_back(CopyAttr(attr, &cloned_doc->string_pool)); in ProcessDoc() 124 &cloned_doc->string_pool); in ProcessDoc()
|
D | AutoVersioner.cpp | 131 std::unique_ptr<Style> new_style(style->Clone(&table->string_pool)); in Consume()
|
D | ReferenceLinker_test.cpp | 94 util::make_unique<RawString>(table->string_pool.MakeRef("one|two")); in TEST()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | PrettyPrintVisitor.cpp | 63 const ResStringPool string_pool(data.GetStringPoolData(), in visit() local 77 << string_pool.string8ObjectAt(target_entry.data_value - string_pool_offset).c_str() in visit()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 242 plural->values = {util::make_unique<String>(table->string_pool.MakeRef("zero")), in TEST() 243 util::make_unique<String>(table->string_pool.MakeRef("one"))}; in TEST() 247 expected->values = {util::make_unique<String>(table->string_pool.MakeRef("[žéŕö one]")), in TEST() 248 util::make_unique<String>(table->string_pool.MakeRef("[öñé one]"))}; in TEST() 269 util::make_unique<StyledString>(table->string_pool.MakeRef(original_style)); in TEST() 273 auto string = util::make_unique<String>(table->string_pool.MakeRef(original_style.str)); in TEST()
|
D | PseudolocaleGenerator.cpp | 360 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool, in Consume() 362 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kBidi, value, &table->string_pool, in Consume()
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 202 ResStringPool* string_pool) in LoadedIdmap() argument 207 string_pool_(string_pool), in LoadedIdmap()
|
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 68 const ResStringPool* string_pool = assets[cookie]->GetLoadedArsc()->GetStringPool(); in GetStringFromApkAssets() local 69 return GetStringFromPool(string_pool, value.data); in GetStringFromApkAssets()
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourcePathShortener.cpp | 118 file_ref->path = table->string_pool.MakeRef(shortened_path, file_ref->path.GetContext()); in Consume()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile_test.cpp | 222 table->string_pool.Sort(); in AssertTranslations() 225 table->string_pool.strings(); in AssertTranslations()
|
D | Dump.cpp | 278 StringPool::FlattenUtf8(&buffer, table->string_pool, GetDiagnostics()); in Dump()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Idmap.h | 204 ResStringPool* string_pool);
|
/frameworks/base/core/proto/android/server/ |
D | notificationhistory.proto | 88 optional StringPool string_pool = 1; field
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 715 table->string_pool.Prune(); in Consume() 716 table->string_pool.Sort([](const StringPool::Context& a, const StringPool::Context& b) -> int { in Consume() 730 StringPool::FlattenUtf8(table_writer.buffer(), table->string_pool, in Consume()
|
D | BinaryResourceParser.cpp | 149 table_->string_pool.HintWillAdd(value_pool_.size(), value_pool_.styleCount()); in ParseTable() 490 value, &table_->string_pool); in ParseValue()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 261 config_value->value->Clone(&split_table->string_pool)); in SplitTable()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 153 StringPool string_pool; variable
|
D | XmlDom.cpp | 333 CopyAttributes(el.get(), &tree, &xml_resource->string_pool); in Inflate() 385 cloned_attr.compiled_value.reset(attr.compiled_value->Clone(&cloned->string_pool)); in Clone()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 278 StringPool string_pool; variable
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 66 plural->values[Plural::One] = util::make_unique<String>(table->string_pool.MakeRef("one")); in TEST() 76 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), in TEST()
|
D | ProtoDeserialize.cpp | 525 &out_table->string_pool, files, out_error); in DeserializePackageFromPb() 956 if (!DeserializeXmlFromPb(pb_node, resource->root.get(), &resource->string_pool, out_error)) { in DeserializeXmlResourceFromPb()
|