Home
last modified time | relevance | path

Searched refs:GetAttribute (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp73 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
87 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
93 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
111 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
117 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
126 cookie = theme->GetAttribute(app::R::attr::attr_three, &value, &flags); in TEST_F()
142 ASSERT_EQ(kInvalidCookie, theme->GetAttribute(0x7f000001, &value, &flags)); in TEST_F()
158 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
165 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
172 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
[all …]
DTheme_bench.cpp77 theme->GetAttribute(kAttrId, &value, &flags); in BM_ThemeGetAttribute()
DAttributeFinder_test.cpp35 inline uint32_t GetAttribute(const int index) const { return attrs_[index]; } in GetAttribute() function in android::MockAttributeFinder
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp33 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
68 CHECK(GetAttribute(params.c_str(), "octet-align", &value) && value == "1"); in AAMRAssembler()
69 CHECK(!GetAttribute(params.c_str(), "crc", &value) || value == "0"); in AAMRAssembler()
70 CHECK(!GetAttribute(params.c_str(), "interleaving", &value)); in AAMRAssembler()
DAPacketSource.cpp43 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
113 if (GetAttribute(params, "profile-level-id", &val)) { in MakeAVCCodecSpecificData()
125 if (!GetAttribute(params, "sprop-parameter-sets", &val)) { in MakeAVCCodecSpecificData()
224 CHECK(GetAttribute(params, "config", &val)); in MakeAACCodecSpecificData()
263 if (GetAttribute(params, "objectType", &val)) { in MakeAACCodecSpecificData2()
272 CHECK(GetAttribute(params, "config", &val)); in MakeAACCodecSpecificData2()
367 CHECK(GetAttribute(params, "config", &val)); in MakeMPEG4VideoCodecSpecificData()
541 if (!GetAttribute(params.c_str(), "mode", &val) in APacketSource()
DAMPEG4ElementaryAssembler.cpp38 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
72 if (!GetAttribute(s, key, &val)) { in GetIntegerAttribute()
133 CHECK(GetAttribute(params.c_str(), "mode", &value)); in AMPEG4ElementaryAssembler()
DAMPEG4AudioAssembler.cpp35 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
450 if (!GetAttribute(params.c_str(), "cpresent", &val)) { in AMPEG4AudioAssembler()
459 CHECK(GetAttribute(params.c_str(), "config", &val)); in AMPEG4AudioAssembler()
DMyHandler.h83 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
343 if (!GetAttribute(transport.c_str(), in pokeAHole()
361 if (!GetAttribute(transport.c_str(), in pokeAHole()
697 if (GetAttribute( in onMessageReceived()
1468 CHECK(GetAttribute(range.c_str(), "npt", &val)); in parsePlayResponse()
1491 CHECK(GetAttribute((*it).c_str(), "url", &val)); in parsePlayResponse()
1500 CHECK(GetAttribute((*it).c_str(), "seq", &val)); in parsePlayResponse()
1510 CHECK(GetAttribute((*it).c_str(), "rtptime", &val)); in parsePlayResponse()
DMyTransmitter.h53 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
494 CHECK(GetAttribute(transport.c_str(), "server_port", &value)); in onMessageReceived()
499 CHECK(GetAttribute(transport.c_str(), "source", &value)); in onMessageReceived()
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeFinder.h126 current_attr_ = static_cast<const Derived*>(this)->GetAttribute(current_); in JumpToClosestAttribute()
157 current_attr_ = static_cast<const Derived*>(this)->GetAttribute(begin_); in Find()
182 current_attr_ = static_cast<const Derived*>(this)->GetAttribute(current_); in Find()
DAssetManager2.h461 ApkAssetsCookie GetAttribute(uint32_t resid, Res_value* out_value, uint32_t* out_flags) const;
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp43 inline uint32_t GetAttribute(size_t index) const { in GetAttribute() function in android::XmlAttributeFinder
59 inline uint32_t GetAttribute(const ResolvedBag::Entry* entry) const { in GetAttribute() function in android::BagAttributeFinder
82 if (theme->GetAttribute(def_style_attr, &value, &def_style_flags) != kInvalidCookie) { in ResolveAttrs()
152 ApkAssetsCookie new_cookie = theme->GetAttribute(cur_ident, &value, &type_set_flags); in ResolveAttrs()
223 if (theme->GetAttribute(def_style_attr, &value, &def_style_flags) != kInvalidCookie) { in ApplyStyle()
238 if (theme->GetAttribute(value.data, &value, &style_flags) == kInvalidCookie) { in ApplyStyle()
352 ApkAssetsCookie new_cookie = theme->GetAttribute(cur_ident, &value, &type_set_flags); in ApplyStyle()
DAssetManager2.cpp1207 ApkAssetsCookie Theme::GetAttribute(uint32_t resid, Res_value* out_value, in GetAttribute() function in android::Theme
1258 cookie = GetAttribute(in_out_value->data, in_out_value, &new_flags); in ResolveAttributeReference()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h152 GetAttribute(SurfaceAttribute::Visible, &bool_value, in GetVisible()
159 GetAttribute(SurfaceAttribute::ZOrder, &int_value, in GetZOrder()
169 bool GetAttribute(SurfaceAttributeKey key, ReturnType* out_value, in GetAttribute() function
/frameworks/base/media/mca/filterfw/jni/
Djni_shader_program.cpp272 ProgramVar program_var = program->GetAttribute(attr_string); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues()
304 ProgramVar program_var = program->GetAttribute(attr_string); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.h232 ProgramVar GetAttribute(const std::string& name) const;
Dshader_program.cpp934 ProgramVar ShaderProgram::GetAttribute(const std::string& name) const { in GetAttribute() function in android::filterfw::ShaderProgram
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1196 if (theme->GetAttribute(def_style_attr, &value, &def_style_flags) != kInvalidCookie) { in NativeAttributeResolutionStack()
1431 ApkAssetsCookie cookie = theme->GetAttribute(static_cast<uint32_t>(resid), &value, &flags); in NativeThemeGetAttributeValue()