Lines Matching refs:flagAttr
296 const Attribute* flagAttr = findResource<Attribute>(ResourceName{ in TEST_F() local
298 ASSERT_NE(flagAttr, nullptr); in TEST_F()
299 EXPECT_EQ(flagAttr->typeMask, android::ResTable_map::TYPE_FLAGS); in TEST_F()
300 ASSERT_EQ(flagAttr->symbols.size(), 3u); in TEST_F()
302 EXPECT_EQ(flagAttr->symbols[0].symbol.name.entry, u"bar"); in TEST_F()
303 EXPECT_EQ(flagAttr->symbols[0].value, 0u); in TEST_F()
305 EXPECT_EQ(flagAttr->symbols[1].symbol.name.entry, u"bat"); in TEST_F()
306 EXPECT_EQ(flagAttr->symbols[1].value, 1u); in TEST_F()
308 EXPECT_EQ(flagAttr->symbols[2].symbol.name.entry, u"baz"); in TEST_F()
309 EXPECT_EQ(flagAttr->symbols[2].value, 2u); in TEST_F()
312 ResourceParser::tryParseFlagSymbol(*flagAttr, u"baz|bat"); in TEST_F()