Home
last modified time | relevance | path

Searched refs:specFlags (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp85 uint32_t specFlags = 0; in TEST() local
86 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
91 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
109 uint32_t specFlags = 0; in TEST() local
110 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
115 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
133 uint32_t specFlags = 0; in TEST() local
134 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); in TEST()
139 index = theme.getAttribute(lib::R::attr::attr2, &val, &specFlags); in TEST()
DSplit_test.cpp163 uint32_t specFlags = 0; in TEST_F() local
165 &specFlags, NULL); in TEST_F()
168 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), specFlags); in TEST_F()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3719 uint32_t specFlags; member
4655 *outSpecFlags = entry.specFlags; in getResource()
4885 set->typeSpecFlags |= entry.specFlags; in getBagLocked()
5275 *outTypeSpecFlags = result.specFlags; in findEntry()
5778 uint32_t specFlags = 0; in stringToValue() local
5780 type.size(), package.c_str(), package.size(), &specFlags); in stringToValue()
5784 if ((specFlags&ResTable_typeSpec::SPEC_PUBLIC) == 0) { in stringToValue()
5950 uint32_t specFlags = 0; in stringToValue() local
5954 package.c_str(), package.size(), &specFlags); in stringToValue()
5957 if ((specFlags&ResTable_typeSpec::SPEC_PUBLIC) == 0) { in stringToValue()
[all …]
/frameworks/base/tools/aapt/
DResource.cpp492 uint32_t specFlags = 0; in validateAttr() local
494 if ((strIdx=table.resolveReference(&value, 0x10000000, NULL, &specFlags)) < 0) { in validateAttr()
508 specFlags, strIdx, str != NULL ? String8(str).c_str() : "???"); in validateAttr()
510 if ((specFlags&~ResTable_typeSpec::SPEC_PUBLIC) != 0 && false) { in validateAttr()
514 specFlags); in validateAttr()
DResourceTable.cpp2210 uint32_t specFlags = 0; in getResId() local
2215 &specFlags); in getResId()
2217 if (onlyPublic && (specFlags & ResTable_typeSpec::SPEC_PUBLIC) == 0) { in getResId()
4463 uint32_t specFlags; in getPublicAttributeSdkLevel() local
4464 if (!mAssets->getIncludedResources().getResourceFlags(attrId, &specFlags)) { in getPublicAttributeSdkLevel()
4468 if ((specFlags & ResTable_typeSpec::SPEC_PUBLIC) == 0) { in getPublicAttributeSdkLevel()