Searched refs:attr2 (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceValues_test.cpp | 237 Attribute attr2(TYPE_INTEGER | TYPE_ENUM); in TEST() local 238 attr2.min_int = 0; in TEST() 239 attr2.symbols.push_back(Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), in TEST() 241 EXPECT_FALSE(attr2.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST() 242 EXPECT_TRUE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, static_cast<uint32_t>(-1)))); in TEST() 243 EXPECT_TRUE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, 1u))); in TEST() 244 EXPECT_FALSE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, static_cast<uint32_t>(-2)))); in TEST()
|
D | Resources.proto | 351 // tag_name;attr1=value1;attr2=value2;[...]
|
/frameworks/base/libs/androidfw/tests/data/lib_one/ |
D | R.h | 30 attr2 = 0x02010001, // default enumerator
|
/frameworks/base/libs/androidfw/tests/data/basic/ |
D | R.h | 30 attr2 = 0x7f010001, enumerator
|
/frameworks/base/libs/androidfw/tests/ |
D | ResTable_test.cpp | 118 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST() 142 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST() 166 index = theme.getAttribute(lib::R::attr::attr2, &val, &specFlags); in TEST()
|
D | Theme_test.cpp | 368 value = theme_dst->GetAttribute(fix_package_id(lib_one::R::attr::attr2, 0x02)); in TEST_F()
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 119 xml::Attribute* attr2 = el->FindAttribute(xml::kSchemaAndroid, attrName2); in RequiredOneAndroidAttribute() local 120 if (attr1 == nullptr && attr2 == nullptr) { in RequiredOneAndroidAttribute() 126 if (attr1 != nullptr && attr2 != nullptr) { in RequiredOneAndroidAttribute()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 399 Bundle attr2 = new Bundle(); in sendUpdatedScores() local 400 attr2.putParcelable(ScoredNetwork.ATTRIBUTES_KEY_BADGING_CURVE, mockBadgeCurve2); in sendUpdatedScores() 406 attr2); in sendUpdatedScores()
|