Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp70 EXPECT_FALSE(theme->GetAttribute(app::R::attr::attr_one).has_value()); in TEST_F()
80 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
86 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
100 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
106 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
115 value = theme->GetAttribute(app::R::attr::attr_three); in TEST_F()
128 ASSERT_FALSE(theme->GetAttribute(0x7f000001)); in TEST_F()
140 auto value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
147 value = theme->GetAttribute(app::R::attr::attr_six); in TEST_F()
154 value = theme->GetAttribute(app::R::attr::attr_five); in TEST_F()
[all …]
DTheme_bench.cpp74 theme->GetAttribute(kAttrId); 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.cpp32 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
67 CHECK(GetAttribute(params.c_str(), "octet-align", &value) && value == "1"); in AAMRAssembler()
68 CHECK(!GetAttribute(params.c_str(), "crc", &value) || value == "0"); in AAMRAssembler()
69 CHECK(!GetAttribute(params.c_str(), "interleaving", &value)); in AAMRAssembler()
DAPacketSource.cpp42 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
112 if (GetAttribute(params, "profile-level-id", &val)) { in MakeAVCCodecSpecificData()
126 if (!GetAttribute(params, "sprop-parameter-sets", &val)) { in MakeAVCCodecSpecificData()
225 CHECK(GetAttribute(params, "config", &val)); in MakeAACCodecSpecificData()
264 if (GetAttribute(params, "objectType", &val)) { in MakeAACCodecSpecificData2()
273 CHECK(GetAttribute(params, "config", &val)); in MakeAACCodecSpecificData2()
368 CHECK(GetAttribute(params, "config", &val)); in MakeMPEG4VideoCodecSpecificData()
553 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()
/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.h581 std::optional<AssetManager2::SelectedValue> GetAttribute(uint32_t resid) const;
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp45 inline uint32_t GetAttribute(size_t index) const { in GetAttribute() function in android::__anonc409a8d80111::XmlAttributeFinder
61 inline uint32_t GetAttribute(const ResolvedBag::Entry* entry) const { in GetAttribute() function in android::__anonc409a8d80111::BagAttributeFinder
72 std::optional<AssetManager2::SelectedValue> value = theme->GetAttribute(theme_attribute_resid); in GetStyleBag()
106 if (std::optional<AssetManager2::SelectedValue> result = theme->GetAttribute(value.data)) { in GetXmlStyleBag()
176 if (auto attr_value = theme->GetAttribute(cur_ident)) { in ResolveAttrs()
308 if (auto attr_value = theme->GetAttribute(cur_ident)) { in ApplyStyle()
DAssetManager2.cpp1685 std::optional<AssetManager2::SelectedValue> Theme::GetAttribute(uint32_t resid) const { in GetAttribute() function in android::Theme
1713 std::optional<AssetManager2::SelectedValue> result = GetAttribute(value.data); in ResolveAttributeReference()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DMyHandler.h84 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute() function
352 if (!GetAttribute(transport.c_str(), in pokeAHole()
370 if (!GetAttribute(transport.c_str(), in pokeAHole()
706 if (GetAttribute( in onMessageReceived()
1484 CHECK(GetAttribute(range.c_str(), "npt", &val)); in parsePlayResponse()
1507 CHECK(GetAttribute((*it).c_str(), "url", &val)); in parsePlayResponse()
1516 CHECK(GetAttribute((*it).c_str(), "seq", &val)); in parsePlayResponse()
1526 CHECK(GetAttribute((*it).c_str(), "rtptime", &val)); in parsePlayResponse()
/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.cpp1149 auto value = theme->GetAttribute(def_style_attr); in NativeAttributeResolutionStack()
1433 auto value = theme->GetAttribute(static_cast<uint32_t>(resid)); in NativeThemeGetAttributeValue()