/frameworks/base/tools/aapt2/ |
D | Linker_test.cpp | 40 addResource(ResourceName{ {}, ResourceType::kAttr, u"integer" }, in SetUp() 43 addResource(ResourceName{ {}, ResourceType::kAttr, u"string" }, in SetUp() 56 addResource(ResourceName{ {}, ResourceType::kAttr, u"flags" }, std::move(flagAttr)); in SetUp() 82 ResourceNameRef{ u"android", ResourceType::kAttr, u"integer" }, in TEST_F() 98 ResourceNameRef{ u"android", ResourceType::kAttr, u"integer" }, in TEST_F() 110 ResourceNameRef{ u"android", ResourceType::kAttr, u"string" }, in TEST_F() 129 ResourceNameRef{ u"android", ResourceType::kAttr, u"flags" }, in TEST_F()
|
D | ResourceTable_test.cpp | 84 const ResourceName name = { kAndroidPackage, ResourceType::kAttr, u"id" }; in TEST() 113 ResourceName{ kAndroidPackage, ResourceType::kAttr, u"layout_width" }, in TEST() 118 ResourceName{ kAndroidPackage, ResourceType::kAttr, u"id" }, in TEST() 136 EXPECT_EQ(ResourceType::kAttr, (*typeIter)->type); in TEST() 205 ResourceName{ kAndroid, ResourceType::kAttr, u"foo" }, in TEST() 211 ResourceNameRef{ kAndroid, ResourceType::kAttr, u"foo" }); in TEST() 217 ASSERT_TRUE(table.addResource(ResourceName{ kAndroid, ResourceType::kAttr, u"foo" }, {}, {}, in TEST() 221 ResourceNameRef{ kAndroid, ResourceType::kAttr, u"foo" }); in TEST()
|
D | JavaClassGenerator_test.cpp | 60 ASSERT_TRUE(addResource(ResourceName{ {}, ResourceType::kAttr, u"cool.attr" }, in TEST_F() 64 Reference ref(ResourceName{ u"android", ResourceType::kAttr, u"cool.attr"}); in TEST_F() 121 ResourceType::kAttr, in TEST_F() 123 styleable->entries.emplace_back(ResourceNameRef{ u"com.lib", ResourceType::kAttr, u"bar" }); in TEST_F() 129 { ResourceName{ u"android", ResourceType::kAttr, u"bar" }, in TEST_F() 131 { ResourceName{ u"com.lib", ResourceType::kAttr, u"bar" }, in TEST_F()
|
D | ResourceParser_test.cpp | 226 u"android", ResourceType::kAttr, u"foo"}); in TEST_F() 231 u"android", ResourceType::kAttr, u"bar"}); in TEST_F() 244 u"android", ResourceType::kAttr, u"foo"}); in TEST_F() 259 u"android", ResourceType::kAttr, u"foo"}); in TEST_F() 273 u"android", ResourceType::kAttr, u"foo"}); in TEST_F() 297 u"android", ResourceType::kAttr, u"foo"}); in TEST_F() 341 (ResourceName{ u"android", ResourceType::kAttr, u"bar" })); in TEST_F() 343 (ResourceName{ u"android", ResourceType::kAttr, u"bat" })); in TEST_F() 345 (ResourceName{ u"android", ResourceType::kAttr, u"baz" })); in TEST_F() 380 EXPECT_EQ(ResourceNameRef(u"android", ResourceType::kAttr, u"bar"), in TEST_F() [all …]
|
D | Resource.cpp | 30 case ResourceType::kAttr: return u"attr"; in toString() 59 { u"attr", ResourceType::kAttr },
|
D | XmlFlattener_test.cpp | 42 { ResourceName{ u"android", ResourceType::kAttr, u"attr" }, in SetUp() 46 { ResourceName{ u"com.lib", ResourceType::kAttr, u"attr" }, in SetUp()
|
D | MockResolver.h | 62 if (name.type == ResourceType::kAttr) { in findAttribute()
|
D | Resource_test.cpp | 38 EXPECT_EQ(*type, ResourceType::kAttr); in TEST()
|
D | Resource.h | 37 kAttr, enumerator
|
D | ResourceParser.cpp | 105 outRef->type = ResourceType::kAttr; in tryParseAttributeReference() 715 ResourceNameRef{ {}, ResourceType::kAttr, attributeName }); in parseResources() 1117 outName->type = ResourceType::kAttr; in parseXmlAttributeName() 1364 ResourceType::kAttr, in parseDeclareStyleable()
|
D | SdkConstants.cpp | 726 if (name.package != u"android" && name.type != ResourceType::kAttr) { in findAttributeSdkLevel()
|
D | ResourceTable.cpp | 46 findOrCreateType(ResourceType::kAttr)->typeId = 1; in ResourceTable()
|
D | XmlFlattener.cpp | 264 ResourceName attrName = { package.value(), ResourceType::kAttr, attr.name }; in writeAttributes()
|
D | BinaryResourceParser.cpp | 740 case ResourceType::kAttr: in parseMapEntry()
|