Lines Matching refs:flags

72   uint32_t flags;  in TEST_F()  local
73 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
84 uint32_t flags; in TEST_F() local
87 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
91 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
93 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
97 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
108 uint32_t flags; in TEST_F() local
111 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
115 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
117 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
123 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
126 cookie = theme->GetAttribute(app::R::attr::attr_three, &value, &flags); in TEST_F()
130 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
141 uint32_t flags; in TEST_F() local
142 ASSERT_EQ(kInvalidCookie, theme->GetAttribute(0x7f000001, &value, &flags)); in TEST_F()
154 uint32_t flags; in TEST_F() local
158 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
162 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
165 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
169 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
172 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
176 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
188 uint32_t flags; in TEST_F() local
192 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
196 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
199 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
203 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
206 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
210 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
222 uint32_t flags; in TEST_F() local
226 cookie = theme->GetAttribute(libclient::R::attr::foo, &value, &flags); in TEST_F()
230 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
233 cookie = theme->GetAttribute(libclient::R::attr::bar, &value, &flags); in TEST_F()
251 uint32_t flags; in TEST_F() local
255 cookie = theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
259 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
262 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_six, &value, &flags)); in TEST_F()
274 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
277 cookie = theme_one->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
281 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), flags); in TEST_F()
307 uint32_t flags; in TEST_F() local
310 EXPECT_EQ(0, theme_dst->GetAttribute(R::attr::foreground, &value, &flags)); in TEST_F()
314 EXPECT_EQ(2, theme_dst->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
320 &flags)); in TEST_F()
322 &flags)); in TEST_F()
342 uint32_t flags; in TEST_F() local
346 EXPECT_EQ(0, theme_dst->GetAttribute(0x0101021b /* android:versionCode */, &value, &flags)); in TEST_F()
350 EXPECT_EQ(-1, theme_dst->GetAttribute(0x01010001 /* android:label */, &value, &flags)); in TEST_F()
354 EXPECT_EQ(-1, theme_dst->GetAttribute(0x01010002 /* android:icon */, &value, &flags)); in TEST_F()
355 EXPECT_EQ(-1, theme_dst->GetAttribute(0x010100d1 /* android:tag */, &value, &flags)); in TEST_F()
358 EXPECT_EQ(0, theme_dst->GetAttribute(0x010100d0 /* android:id */, &value, &flags)); in TEST_F()
359 EXPECT_EQ(0, theme_dst->GetAttribute(0x01010000 /* android:theme */, &value, &flags)); in TEST_F()