Home
last modified time | relevance | path

Searched refs:AddString (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt2/optimize/
DResourceDeduper_test.cpp40 .AddString("android:string/dedupe", ResourceId{}, default_config, "dedupe") in TEST()
41 .AddString("android:string/dedupe", ResourceId{}, ldrtl_config, "dedupe") in TEST()
42 .AddString("android:string/dedupe", ResourceId{}, land_config, "dedupe") in TEST()
44 .AddString("android:string/dedupe2", ResourceId{}, default_config, "dedupe") in TEST()
45 .AddString("android:string/dedupe2", ResourceId{}, ldrtl_config, "dedupe") in TEST()
46 .AddString("android:string/dedupe2", ResourceId{}, ldrtl_v21_config, "keep") in TEST()
47 .AddString("android:string/dedupe2", ResourceId{}, land_config, "dedupe") in TEST()
49 .AddString("android:string/dedupe3", ResourceId{}, default_config, "dedupe") in TEST()
50 .AddString("android:string/dedupe3", ResourceId{}, en_config, "dedupe") in TEST()
51 .AddString("android:string/dedupe3", ResourceId{}, en_v21_config, "dedupe") in TEST()
[all …]
DResourceFilter_test.cpp34 .AddString("android:string/notblacklisted", ResourceId{}, default_config, "value") in TEST()
35 .AddString("android:string/blacklisted", ResourceId{}, default_config, "value") in TEST()
36 .AddString("android:string/notblacklisted2", ResourceId{}, default_config, "value") in TEST()
37 .AddString("android:string/blacklisted2", ResourceId{}, default_config, "value") in TEST()
58 .AddString("android:string/notblacklisted", ResourceId{}, default_config, "value") in TEST()
59 .AddString("android:string/blacklisted", ResourceId{}, default_config, "value") in TEST()
60 .AddString("android:drawable/notblacklisted", ResourceId{}, default_config, "value") in TEST()
61 .AddString("android:drawable/blacklisted", ResourceId{}, default_config, "value") in TEST()
DResourcePathShortener_test.cpp36 .AddString("android:string/string", "res/should/still/be/the/same.png") in TEST()
/frameworks/base/tools/aapt2/link/
DResourceExcluder_test.cpp51 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
52 .AddString("android:string/test", ResourceId{}, fr_config, "fr") in TEST()
69 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
70 .AddString("android:string/test", ResourceId{}, fr_config, "fr") in TEST()
87 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
88 .AddString("android:string/test", ResourceId{}, fr_land_config, "fr-land") in TEST()
108 .AddString("android:string/test", ResourceId{}, default_config, "default") in TEST()
109 .AddString("android:string/test", ResourceId{}, night_config, "night") in TEST()
110 .AddString("android:string/test", ResourceId{}, fr_config, "fr") in TEST()
111 .AddString("android:string/test", ResourceId{}, fr_land_config, "fr-land") in TEST()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp103 AddString(text, kLowPriority, &flat_text->data); in Visit()
125 AddString(node->namespace_uri, kLowPriority, &flat_elem->ns, in Visit()
127 AddString(node->name, kLowPriority, &flat_elem->name, true /* treat_empty_string_as_null */); in Visit()
147 AddString(node->namespace_uri, kLowPriority, &flat_end_elem->ns, in Visit()
149 AddString(node->name, kLowPriority, &flat_end_elem->name); in Visit()
168 void AddString(const StringPiece& str, uint32_t priority, android::ResStringPool_ref* dest, in AddString() function in aapt::__anon788ae4f30111::XmlFlattenerVisitor
182 void AddString(const StringPool::Ref& ref, android::ResStringPool_ref* dest) { in AddString() function in aapt::__anon788ae4f30111::XmlFlattenerVisitor
194 AddString(decl.prefix, kLowPriority, &flat_ns->prefix); in WriteNamespace()
195 AddString(decl.uri, kLowPriority, &flat_ns->uri); in WriteNamespace()
241 AddString(xml_attr->namespace_uri, kLowPriority, &flat_attr->ns, in WriteAttributes()
[all …]
DTableFlattener_test.cpp166 .AddString("com.app.test:string/test", ResourceId(0x7f040000), "foo") in TEST_F()
167 .AddString("com.app.test:layout/bar", ResourceId(0x7f050000), "res/layout/bar.xml") in TEST_F()
534 .AddString("com.app.test:string/test", ResourceId(0x7f040000), "foo") in TEST_F()
535 .AddString("com.app.test:layout/bar", ResourceId(0x7f050000), "res/layout/bar.xml") in TEST_F()
588 .AddString("com.app.test:string/test", ResourceId(0x7f040000), "foo") in TEST_F()
589 .AddString("com.app.test:layout/bar", ResourceId(0x7f050000), "res/layout/bar.xml") in TEST_F()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp66 ResourceTableBuilder& ResourceTableBuilder::AddString(const StringPiece& name, in AddString() function in aapt::test::ResourceTableBuilder
68 return AddString(name, {}, str); in AddString()
71 ResourceTableBuilder& ResourceTableBuilder::AddString(const StringPiece& name, const ResourceId& id, in AddString() function in aapt::test::ResourceTableBuilder
76 ResourceTableBuilder& ResourceTableBuilder::AddString(const StringPiece& name, const ResourceId& id, in AddString() function in aapt::test::ResourceTableBuilder
DBuilders.h51 ResourceTableBuilder& AddString(const android::StringPiece& name,
53 ResourceTableBuilder& AddString(const android::StringPiece& name, const ResourceId& id,
55 ResourceTableBuilder& AddString(const android::StringPiece& name, const ResourceId& id,
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp185 .AddString("android:string/one", "one") in TEST()
186 .AddString("android:string/two", ResourceId{}, in TEST()
188 .AddString("android:string/three", "three") in TEST()
189 .AddString("android:string/three", ResourceId{}, in TEST()
191 .AddString("android:string/four", "four") in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp47 .AddString("com.app.a:string/text", {}, "hi") in TEST()