Home | History | Annotate | Download | only in aapt2

Lines Matching refs:ref

157     Maybe<Reference> ref = ResourceUtils::parseStyleParentReference(u"@android:style/foo", &errStr);
158 AAPT_ASSERT_TRUE(ref);
159 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName);
161 ref = ResourceUtils::parseStyleParentReference(u"@style/foo", &errStr);
162 AAPT_ASSERT_TRUE(ref);
163 EXPECT_EQ(ref.value().name.value(), kStyleFooName);
165 ref = ResourceUtils::parseStyleParentReference(u"?android:style/foo", &errStr);
166 AAPT_ASSERT_TRUE(ref);
167 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName);
169 ref = ResourceUtils::parseStyleParentReference(u"?style/foo", &errStr);
170 AAPT_ASSERT_TRUE(ref);
171 EXPECT_EQ(ref.value().name.value(), kStyleFooName);
173 ref = ResourceUtils::parseStyleParentReference(u"android:style/foo", &errStr);
174 AAPT_ASSERT_TRUE(ref);
175 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName);
177 ref = ResourceUtils::parseStyleParentReference(u"android:foo", &errStr);
178 AAPT_ASSERT_TRUE(ref);
179 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName);
181 ref = ResourceUtils::parseStyleParentReference(u"@android:foo", &errStr);
182 AAPT_ASSERT_TRUE(ref);
183 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName);
185 ref = ResourceUtils::parseStyleParentReference(u"foo", &errStr);
186 AAPT_ASSERT_TRUE(ref);
187 EXPECT_EQ(ref.value().name.value(), kStyleFooName);
189 ref = ResourceUtils::parseStyleParentReference(u"*android:style/foo", &errStr);
190 AAPT_ASSERT_TRUE(ref);
191 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName);
192 EXPECT_TRUE(ref.value().privateReference);