Home
last modified time | relevance | path

Searched refs:attr_two (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues_test.cpp271 Attribute attr_two(TYPE_STRING); in TEST() local
276 EXPECT_TRUE(attr_one.IsCompatibleWith(attr_two)); in TEST()
280 EXPECT_TRUE(attr_two.IsCompatibleWith(attr_one)); in TEST()
281 EXPECT_TRUE(attr_two.IsCompatibleWith(attr_two)); in TEST()
282 EXPECT_FALSE(attr_two.IsCompatibleWith(attr_three)); in TEST()
283 EXPECT_FALSE(attr_two.IsCompatibleWith(attr_four)); in TEST()
286 EXPECT_FALSE(attr_three.IsCompatibleWith(attr_two)); in TEST()
291 EXPECT_FALSE(attr_four.IsCompatibleWith(attr_two)); in TEST()
303 Attribute attr_two(TYPE_ENUM); in TEST() local
304 attr_two.symbols.push_back( in TEST()
[all …]
DResourceTable_test.cpp128 Attribute attr_two(android::ResTable_map::TYPE_STRING | android::ResTable_map::TYPE_REFERENCE); in TEST() local
129 attr_two.SetWeak(true); in TEST()
134 util::make_unique<Attribute>(attr_two), test::GetDiagnostics())); in TEST()
/frameworks/base/libs/androidfw/tests/
DAttributeResolution_test.cpp77 {fix_package_id(R::attr::attr_one, 0x02), fix_package_id(R::attr::attr_two, 0x02)}}; in TEST()
107 std::array<uint32_t, 5> attrs{{R::attr::attr_one, R::attr::attr_two, R::attr::attr_three, in TEST_F()
160 std::array<uint32_t, 5> attrs{{R::attr::attr_one, R::attr::attr_two, R::attr::attr_three, in TEST_F()
212 std::array<uint32_t, 6> attrs{{R::attr::attr_one, R::attr::attr_two, R::attr::attr_three, in TEST_F()
DAttributeResolution_bench.cpp69 std::array<uint32_t, 6> attrs{{app::R::attr::attr_one, app::R::attr::attr_two, in BM_ApplyStyle()
DTheme_test.cpp93 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
117 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
DAssetManager2_test.cpp301 EXPECT_EQ(app::R::attr::attr_two, bag_one->entries[1].key); in TEST_F()
318 EXPECT_EQ(app::R::attr::attr_two, bag_two->entries[1].key); in TEST_F()
/frameworks/base/libs/androidfw/tests/data/styles/
DR.h30 attr_two = 0x7f010001u, enumerator