Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceParser_test.cpp95 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F()
101 str = test::GetValue<String>(&table_, "string/bar"); in TEST_F()
137 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F()
156 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F()
163 str = test::GetValue<String>(&table_, "string/foo2"); in TEST_F()
172 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F()
180 str = test::GetValue<String>(&table_, "string/foo2"); in TEST_F()
188 str = test::GetValue<String>(&table_, "string/foo3"); in TEST_F()
195 str = test::GetValue<String>(&table_, "string/foo4"); in TEST_F()
205 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F()
[all …]
DResourceTable_test.cpp65 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/id"), NotNull()); in TEST()
97 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/layout_width"), NotNull()); in TEST()
98 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/id"), NotNull()); in TEST()
99 EXPECT_THAT(test::GetValue<Id>(&table, "android:string/ok"), NotNull()); in TEST()
110 Attribute* attr = test::GetValue<Attribute>(&table, "android:attr/foo"); in TEST()
117 attr = test::GetValue<Attribute>(&table, "android:attr/foo"); in TEST()
/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener_test.cpp22 using ::aapt::test::GetValue;
55 GetValue<FileReference>(table.get(), "android:drawable/xmlfile"); in TEST()
62 *GetValue<String>(table.get(), "android:string/string")->value, in TEST()
DMultiApkGenerator_test.cpp42 using ::aapt::test::GetValue;
130 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); in TEST_F()
155 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); in TEST_F()
180 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); in TEST_F()
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp59 Reference* ref = test::GetValue<Reference>(table.get(), "com.app.test:string/foo"); in TEST()
64 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/bar"); in TEST()
69 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/baz"); in TEST()
91 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
122 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
169 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
DTableMerger_test.cpp145 FileReference* f = test::GetValue<FileReference>(&final_table, "com.app.a:xml/file"); in TEST_F()
150 f = test::GetValue<FileReference>(&final_table, "com.app.a:xml/com.app.b$file"); in TEST_F()
176 BinaryPrimitive* foo = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/foo"); in TEST_F()
216 BinaryPrimitive* foo = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/foo"); in TEST_F()
218 BinaryPrimitive* bar = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/bar"); in TEST_F()
220 BinaryPrimitive* baz = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/baz"); in TEST_F()
470 Styleable* styleable = test::GetValue<Styleable>(&final_table, "com.app.a:styleable/Foo"); in TEST_F()
480 Style* style = test::GetValue<Style>(&final_table, "com.app.a:style/Theme"); in TEST_F()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeAac.cpp354 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, sampleRateKeyIndex, in DecPlayCallback()
361 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, channelCountKeyIndex, in DecPlayCallback()
364 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, bitsPerSampleKeyIndex, in DecPlayCallback()
367 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, containerSizeKeyIndex, in DecPlayCallback()
370 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, channelMaskKeyIndex, in DecPlayCallback()
374 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, endiannessKeyIndex, in DecPlayCallback()
DslesTestDecodeToBuffQueue.cpp246 SLresult res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, sampleRateKeyIndex, in DecPlayCallback()
253 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, channelCountKeyIndex, in DecPlayCallback()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp88 Result<std::string> WARN_UNUSED GetValue(const AssetManager2& am, ResourceId resid) { in GetValue() function
238 const Result<std::string> value = GetValue(am, *resid); in Lookup()
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp60 EXPECT_NE(nullptr, test::GetValue<Id>(table.get(), "android:string/one")); in TEST()
96 EXPECT_NE(nullptr, test::GetValue<Id>(table.get(), "android:string/one")); in TEST()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp59 Id* id = test::GetValue<Id>(table.get(), "com.app.a:id/foo"); in TEST()
115 Id* new_id = test::GetValue<Id>(&new_table, "com.app.a:id/foo"); in TEST()
142 Reference* actual_ref = test::GetValue<Reference>(&new_table, "com.app.a:layout/abc"); in TEST()
149 test::GetValue<FileReference>(&new_table, "com.app.a:layout/main"); in TEST()
154 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled"); in TEST()
/frameworks/base/tools/aapt2/test/
DCommon.h81 T* GetValue(ResourceTable* table, const android::StringPiece& res_name) { in GetValue() function
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp194 String* val = test::GetValue<String>(table.get(), "android:string/four"); in TEST()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp312 test::GetValue<Id>(table.get(), "android:id/foo") in TEST()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp233 Attribute* actual_attr = test::GetValue<Attribute>(&result, "android:attr/foo"); in TEST_F()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h786 SLresult (*GetValue) ( member
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1332 XAresult (*GetValue) ( member