Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceParser_test.cpp97 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F()
103 str = test::GetValue<String>(&table_, "string/bar"); in TEST_F()
139 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F()
158 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F()
165 str = test::GetValue<String>(&table_, "string/foo2"); in TEST_F()
174 String* str = test::GetValue<String>(&table_, "string/foo"); in TEST_F()
182 str = test::GetValue<String>(&table_, "string/foo2"); in TEST_F()
190 str = test::GetValue<String>(&table_, "string/foo3"); in TEST_F()
197 str = test::GetValue<String>(&table_, "string/foo4"); in TEST_F()
207 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); in TEST_F()
[all …]
DResourceTable_test.cpp69 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/id"), NotNull()); in TEST()
105 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/layout_width"), NotNull()); in TEST()
106 EXPECT_THAT(test::GetValue<Id>(&table, "android:attr/id"), NotNull()); in TEST()
107 EXPECT_THAT(test::GetValue<Id>(&table, "android:string/ok"), NotNull()); in TEST()
118 Attribute* attr = test::GetValue<Attribute>(&table, "android:attr/foo"); in TEST()
127 attr = test::GetValue<Attribute>(&table, "android:attr/foo"); in TEST()
/frameworks/base/tools/aapt2/optimize/
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()
DObfuscator_test.cpp28 using ::aapt::test::GetValue;
97 FileReference* ref = GetValue<FileReference>(table.get(), "android:drawable/xmlfile"); in TEST()
103 EXPECT_THAT(*GetValue<String>(table.get(), "android:string/string")->value, in TEST()
150 FileReference* ref = GetValue<FileReference>(table.get(), "android:drawable/xmlfile"); in TEST()
159 FileReference* ref2 = GetValue<FileReference>(table.get(), "android:drawable/xmlfile2"); in TEST()
/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp142 FileReference* f = test::GetValue<FileReference>(&final_table, "com.app.a:xml/file"); in TEST_F()
147 f = test::GetValue<FileReference>(&final_table, "com.app.a:xml/com.app.b$file"); in TEST_F()
171 BinaryPrimitive* foo = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/foo"); in TEST_F()
209 BinaryPrimitive* foo = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/foo"); in TEST_F()
211 BinaryPrimitive* bar = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/bar"); in TEST_F()
213 BinaryPrimitive* baz = test::GetValue<BinaryPrimitive>(&final_table, "com.app.a:bool/baz"); in TEST_F()
391 Styleable* styleable = test::GetValue<Styleable>(&final_table, "com.app.a:styleable/Foo"); in TEST_F()
401 Style* style = test::GetValue<Style>(&final_table, "com.app.a:style/Theme"); in TEST_F()
451 test::GetValue<Styleable>(&final_table, "com.app.a:styleable/MyWidget"); in TEST_F()
455 const Style* actual_style = test::GetValue<Style>(&final_table, "com.app.a:style/Theme"); in TEST_F()
[all …]
DReferenceLinker_test.cpp58 Reference* ref = test::GetValue<Reference>(table.get(), "com.app.test:string/foo"); in TEST()
63 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/bar"); in TEST()
68 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/baz"); in TEST()
89 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
120 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
166 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); in TEST()
/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.cpp106 Result<std::string> WARN_UNUSED GetValue(AssetManager2* const am, ResourceId resid) { in GetValue() function
229 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.cpp118 Id* id = test::GetValue<Id>(table.get(), "com.app.a:id/foo"); in TEST()
188 Id* new_id = test::GetValue<Id>(&new_table, "com.app.a:id/foo"); in TEST()
217 Reference* actual_ref = test::GetValue<Reference>(&new_table, "com.app.a:layout/abc"); in TEST()
224 test::GetValue<FileReference>(&new_table, "com.app.a:layout/main"); in TEST()
229 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled"); in TEST()
928 Macro* deserialized = test::GetValue<Macro>(&new_table, "com.app.a:macro/foo"); in TEST()
/frameworks/base/tools/aapt2/test/
DCommon.h80 T* GetValue(ResourceTable* table, android::StringPiece res_name) { in GetValue() function
/frameworks/native/libs/ftl/
Dflags_test.cpp156 TEST(Flags, GetValue) { in TEST() argument
/frameworks/base/tools/aapt2/cmd/
DLink_test.cpp220 const Style* actual_style = test::GetValue<Style>( in TEST_F()
264 const Style* actual_style = test::GetValue<Style>( in TEST_F()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp302 test::GetValue<Id>(table.get(), "android:id/foo") in TEST()
/frameworks/libs/native_bridge_support/android_api/libOpenSLES/proxy/
Dsles_trampolines.cc416 REGISTER_TRAMPOLINE(SLMetadataExtraction, GetValue); in RegisterSLMetadataExtractionItfMethods()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp195 String* val = test::GetValue<String>(table.get(), "android:string/four"); in TEST()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp232 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