Home
last modified time | relevance | path

Searched refs:attr2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues_test.cpp233 Attribute attr2(TYPE_INTEGER | TYPE_ENUM); in TEST() local
234 attr2.min_int = 0; in TEST()
235 attr2.symbols.push_back(Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), in TEST()
237 EXPECT_FALSE(attr2.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST()
238 EXPECT_TRUE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, static_cast<uint32_t>(-1)))); in TEST()
239 EXPECT_TRUE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, 1u))); in TEST()
240 EXPECT_FALSE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, static_cast<uint32_t>(-2)))); in TEST()
DResources.proto320 // tag_name;attr1=value1;attr2=value2;[...]
/frameworks/base/libs/androidfw/tests/data/lib_one/
DR.h30 attr2 = 0x02010001, // default enumerator
/frameworks/base/libs/androidfw/tests/data/basic/
DR.h30 attr2 = 0x7f010001, enumerator
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp118 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()
DTheme_test.cpp321 EXPECT_EQ(1, theme_dst->GetAttribute(fix_package_id(lib_one::R::attr::attr2, 0x02), &value, in TEST_F()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java399 Bundle attr2 = new Bundle(); in sendUpdatedScores() local
400 attr2.putParcelable(ScoredNetwork.ATTRIBUTES_KEY_BADGING_CURVE, mockBadgeCurve2); in sendUpdatedScores()
406 attr2); in sendUpdatedScores()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c8997 upb_handlerattr attr2; in T() local
8998 new_tag(h, f, UPB_WIRE_TYPE_END_GROUP, &attr2); in T()
9001 upb_handlers_setendsubmsg(h, f, encode_endgroup, &attr2); in T()
9003 upb_handlerattr_uninit(&attr2); in T()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c9708 upb_handlerattr attr2; in T() local
9709 new_tag(h, f, UPB_WIRE_TYPE_END_GROUP, &attr2); in T()
9712 upb_handlers_setendsubmsg(h, f, encode_endgroup, &attr2); in T()
9714 upb_handlerattr_uninit(&attr2); in T()