Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp112 uint32_t specFlags = 0; in TEST() local
113 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
118 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
136 uint32_t specFlags = 0; in TEST() local
137 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
142 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
160 uint32_t specFlags = 0; in TEST() local
161 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); in TEST()
166 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.cpp3473 uint32_t specFlags; member
4413 *outSpecFlags = entry.specFlags; in getResource()
4643 set->typeSpecFlags |= entry.specFlags; in getBagLocked()
5034 *outTypeSpecFlags = result.specFlags; in findEntry()
5508 uint32_t specFlags = 0; in stringToValue() local
5510 type.size(), package.string(), package.size(), &specFlags); in stringToValue()
5514 if ((specFlags&ResTable_typeSpec::SPEC_PUBLIC) == 0) { in stringToValue()
5680 uint32_t specFlags = 0; in stringToValue() local
5684 package.string(), package.size(), &specFlags); in stringToValue()
5687 if ((specFlags&ResTable_typeSpec::SPEC_PUBLIC) == 0) { in stringToValue()
[all …]
/frameworks/base/tools/aapt/
DResource.cpp489 uint32_t specFlags = 0; in validateAttr() local
491 if ((strIdx=table.resolveReference(&value, 0x10000000, NULL, &specFlags)) < 0) { in validateAttr()
505 specFlags, strIdx, str != NULL ? String8(str).string() : "???"); in validateAttr()
507 if ((specFlags&~ResTable_typeSpec::SPEC_PUBLIC) != 0 && false) { in validateAttr()
511 specFlags); in validateAttr()
DResourceTable.cpp2208 uint32_t specFlags = 0; in getResId() local
2213 &specFlags); in getResId()
2215 if (onlyPublic && (specFlags & ResTable_typeSpec::SPEC_PUBLIC) == 0) { in getResId()
4470 uint32_t specFlags; in getPublicAttributeSdkLevel() local
4471 if (!mAssets->getIncludedResources().getResourceFlags(attrId, &specFlags)) { in getPublicAttributeSdkLevel()
4475 if ((specFlags & ResTable_typeSpec::SPEC_PUBLIC) == 0) { in getPublicAttributeSdkLevel()