Home
last modified time | relevance | path

Searched refs:kAttr (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tools/aapt2/
DLinker_test.cpp40 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()
DResourceTable_test.cpp84 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()
DJavaClassGenerator_test.cpp60 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()
DResourceParser_test.cpp226 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 …]
DResource.cpp30 case ResourceType::kAttr: return u"attr"; in toString()
59 { u"attr", ResourceType::kAttr },
DXmlFlattener_test.cpp42 { ResourceName{ u"android", ResourceType::kAttr, u"attr" }, in SetUp()
46 { ResourceName{ u"com.lib", ResourceType::kAttr, u"attr" }, in SetUp()
DMockResolver.h62 if (name.type == ResourceType::kAttr) { in findAttribute()
DResource_test.cpp38 EXPECT_EQ(*type, ResourceType::kAttr); in TEST()
DResource.h37 kAttr, enumerator
DResourceParser.cpp105 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()
DSdkConstants.cpp726 if (name.package != u"android" && name.type != ResourceType::kAttr) { in findAttributeSdkLevel()
DResourceTable.cpp46 findOrCreateType(ResourceType::kAttr)->typeId = 1; in ResourceTable()
DXmlFlattener.cpp264 ResourceName attrName = { package.value(), ResourceType::kAttr, attr.name }; in writeAttributes()
DBinaryResourceParser.cpp740 case ResourceType::kAttr: in parseMapEntry()