Home
last modified time | relevance | path

Searched refs:GetValueForConfig (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp48 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
51 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
54 EXPECT_NE(nullptr, test::GetValueForConfig<FileReference>( in TEST()
57 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
89 EXPECT_NE(nullptr, test::GetValueForConfig<FileReference>( in TEST()
93 EXPECT_NE(nullptr, test::GetValueForConfig<FileReference>( in TEST()
99 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
102 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
138 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
141 EXPECT_EQ(nullptr, test::GetValueForConfig<FileReference>( in TEST()
[all …]
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser_test.cpp49 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
52 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
57 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
62 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
67 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
70 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
73 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
91 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
94 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
97 test::GetValueForConfig<Id>(table.get(), res_name, in TEST()
[all …]
DMultiApkGenerator_test.cpp43 using ::aapt::test::GetValueForConfig;
87 return GetValueForConfig<FileReference>(table, kResourceName, config); in ValueForConfig()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp204 test::GetValueForConfig<String>(table.get(), "android:string/one", in TEST()
207 test::GetValueForConfig<String>(table.get(), "android:string/one", in TEST()
212 test::GetValueForConfig<String>(table.get(), "android:string/two", in TEST()
215 test::GetValueForConfig<String>(table.get(), "android:string/two", in TEST()
219 val = test::GetValueForConfig<String>(table.get(), "android:string/three", in TEST()
225 test::GetValueForConfig<String>(table.get(), "android:string/three", in TEST()
230 test::GetValueForConfig<String>(table.get(), "android:string/four", in TEST()
233 test::GetValueForConfig<String>(table.get(), "android:string/four", in TEST()
253 const auto* actual = test::GetValueForConfig<Plural>(table.get(), "com.pkg:plurals/foo", in TEST()
286 StyledString* new_styled_string = test::GetValueForConfig<StyledString>( in TEST()
[all …]
/frameworks/base/tools/aapt2/link/
DAutoVersioner_test.cpp88 …Style* style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie… in TEST()
93 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v13")… in TEST()
99 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v17")… in TEST()
106 …style = test::GetValueForConfig<Style>(table.get(), "app:style/Foo", test::ParseConfigOrDie("v21")… in TEST()
DTableMerger_test.cpp105 FileReference* file = test::GetValueForConfig<FileReference>( in TEST_F()
/frameworks/base/tools/aapt2/test/
DCommon.h75 T* GetValueForConfig(ResourceTable* table, const android::StringPiece& res_name, in GetValueForConfig() function
82 return GetValueForConfig<T>(table, res_name, {}); in GetValue()
226 return GetValueForConfig<Value>(&(*arg), name, {}) != nullptr;
232 return GetValueForConfig<Value>(&(*arg), name, config) != nullptr;
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp356 auto value = test::GetValueForConfig<BinaryPrimitive>(&sparse_table, "android:string/foo_0", in TEST_F()
361 ASSERT_THAT(test::GetValueForConfig<BinaryPrimitive>(&sparse_table, "android:string/foo_1", in TEST_F()
365 value = test::GetValueForConfig<BinaryPrimitive>(&sparse_table, "android:string/foo_4", in TEST_F()
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp350 EXPECT_THAT(test::GetValueForConfig<Attribute>(&table_, "attr/foo", watch_config), IsNull()); in TEST_F()
351 EXPECT_THAT(test::GetValueForConfig<Attribute>(&table_, "attr/baz", watch_config), IsNull()); in TEST_F()
352 EXPECT_THAT(test::GetValueForConfig<Styleable>(&table_, "styleable/bar", watch_config), IsNull()); in TEST_F()
DResourceTable_test.cpp102 …EXPECT_THAT(test::GetValueForConfig<BinaryPrimitive>(&table, "android:string/ok", language_config)… in TEST()