Home
last modified time | relevance | path

Searched refs:getValueForConfig (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp43 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST()
46 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST()
49 EXPECT_NE(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST()
52 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST()
85 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(&table, u"@android:string/foo", in TEST()
87 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(&table, u"@android:string/foo", in TEST()
89 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(&table, u"@android:string/foo", in TEST()
92 EXPECT_NE(nullptr, test::getValueForConfig<Id>(splitOne, u"@android:string/foo", in TEST()
94 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(splitOne, u"@android:string/foo", in TEST()
96 EXPECT_EQ(nullptr, test::getValueForConfig<Id>(splitOne, u"@android:string/foo", in TEST()
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp93 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/one", in TEST()
95 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/one", in TEST()
99 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/two", in TEST()
101 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/two", in TEST()
106 val = test::getValueForConfig<String>(table.get(), u"@android:string/three", in TEST()
111 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/three", in TEST()
115 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/four", in TEST()
117 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/four", in TEST()
/frameworks/base/tools/aapt2/link/
DAutoVersioner_test.cpp83 Style* style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
91 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
102 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
116 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo", in TEST()
DTableMerger_test.cpp95 FileReference* file = test::getValueForConfig<FileReference>(&finalTable, in TEST_F()
/frameworks/base/tools/aapt2/test/
DCommon.h93 template <typename T> T* getValueForConfig(ResourceTable* table, const StringPiece16& resName, in getValueForConfig() function
99 return getValueForConfig<T>(table, resName, {}); in getValue()
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp100 ASSERT_NE(nullptr, test::getValueForConfig<BinaryPrimitive>(&table, u"@android:string/ok", in TEST()
DResourceParser_test.cpp154 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/foo", watchConfig)); in TEST_F()
155 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/baz", watchConfig)); in TEST_F()
156 EXPECT_EQ(nullptr, test::getValueForConfig<Styleable>(&mTable, u"@styleable/bar", watchConfig)); in TEST_F()