Lines Matching refs:app
27 namespace app = com::android::app;
66 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
74 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleOne)); in TEST_F()
80 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
86 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
98 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
104 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
110 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
119 cookie = theme->GetAttribute(app::R::attr::attr_three, &value, &flags); in TEST_F()
131 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
132 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleThree)); in TEST_F()
139 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
146 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
153 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
156 EXPECT_EQ(app::R::string::string_one, value.data); in TEST_F()
165 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
166 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleThree, true /* force */)); in TEST_F()
173 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
180 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
187 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
229 ASSERT_TRUE(theme_one->ApplyStyle(app::R::style::StyleOne)); in TEST_F()
236 cookie = theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
243 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_six, &value, &flags)); in TEST_F()
246 ASSERT_TRUE(theme_two->ApplyStyle(app::R::style::StyleThree)); in TEST_F()
255 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
258 cookie = theme_one->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
273 ASSERT_TRUE(theme_one->ApplyStyle(app::R::style::StyleOne)); in TEST_F()
276 ASSERT_TRUE(theme_two->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()