Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceValues_test.cpp270 Attribute attr_one(TYPE_STRING | TYPE_REFERENCE); in TEST() local
275 EXPECT_TRUE(attr_one.IsCompatibleWith(attr_one)); in TEST()
276 EXPECT_TRUE(attr_one.IsCompatibleWith(attr_two)); in TEST()
277 EXPECT_FALSE(attr_one.IsCompatibleWith(attr_three)); in TEST()
278 EXPECT_FALSE(attr_one.IsCompatibleWith(attr_four)); in TEST()
280 EXPECT_TRUE(attr_two.IsCompatibleWith(attr_one)); in TEST()
285 EXPECT_FALSE(attr_three.IsCompatibleWith(attr_one)); in TEST()
290 EXPECT_FALSE(attr_four.IsCompatibleWith(attr_one)); in TEST()
297 Attribute attr_one(TYPE_ENUM); in TEST() local
298 attr_one.symbols.push_back( in TEST()
[all …]
DResourceTable_test.cpp126 Attribute attr_one(android::ResTable_map::TYPE_STRING); in TEST() local
127 attr_one.SetWeak(true); in TEST()
132 util::make_unique<Attribute>(attr_one), test::GetDiagnostics())); in TEST()
/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp73 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
87 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
111 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
158 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
192 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
255 cookie = theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
274 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
314 EXPECT_EQ(2, theme_dst->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
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()
DAssetManager2_test.cpp296 EXPECT_EQ(app::R::attr::attr_one, bag_one->entries[0].key); in TEST_F()
311 EXPECT_EQ(app::R::attr::attr_one, bag_two->entries[0].key); in TEST_F()
/frameworks/base/libs/androidfw/tests/data/styles/
DR.h29 attr_one = 0x7f010000u, enumerator