Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp70 EXPECT_FALSE(theme->GetAttribute(app::R::attr::attr_one).has_value()); in TEST_F()
80 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
100 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
140 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
170 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
224 auto value = theme_one->GetAttribute(app::R::attr::attr_one); in TEST_F()
243 ASSERT_FALSE(theme_one->GetAttribute(app::R::attr::attr_one).has_value()); in TEST_F()
273 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
293 value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
312 value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
[all …]
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.cpp68 std::array<uint32_t, 6> attrs{{app::R::attr::attr_one, app::R::attr::attr_two, in BM_ApplyStyle()
DAssetManager2_test.cpp341 EXPECT_EQ(app::R::attr::attr_one, (*bag_one)->entries[0].key); in TEST_F()
356 EXPECT_EQ(app::R::attr::attr_one, (*bag_two)->entries[0].key); in TEST_F()
/frameworks/base/tools/aapt2/
DResourceValues_test.cpp274 Attribute attr_one(TYPE_STRING | TYPE_REFERENCE); in TEST() local
279 EXPECT_TRUE(attr_one.IsCompatibleWith(attr_one)); in TEST()
280 EXPECT_TRUE(attr_one.IsCompatibleWith(attr_two)); in TEST()
281 EXPECT_FALSE(attr_one.IsCompatibleWith(attr_three)); in TEST()
282 EXPECT_FALSE(attr_one.IsCompatibleWith(attr_four)); in TEST()
284 EXPECT_TRUE(attr_two.IsCompatibleWith(attr_one)); in TEST()
289 EXPECT_FALSE(attr_three.IsCompatibleWith(attr_one)); in TEST()
DResourceTable_test.cpp136 Attribute attr_one(android::ResTable_map::TYPE_STRING); in TEST() local
137 attr_one.SetWeak(true); in TEST()
142 NewResourceBuilder(name).SetValue(util::make_unique<Attribute>(attr_one)).Build(), in TEST()
/frameworks/base/libs/androidfw/tests/data/styles/
DR.h29 attr_one = 0x7f010000u, enumerator