Home
last modified time | relevance | path

Searched refs:attr_value (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp728 AssetManager2::SelectedValue attr_value(*bag, *entry); in NativeGetResourceBagValue() local
729 auto result = assetmanager->ResolveReference(attr_value); in NativeGetResourceBagValue()
733 return CopyValue(env, attr_value, typed_value); in NativeGetResourceBagValue()
774 AssetManager2::SelectedValue attr_value(bag, bag->entries[i]); in NativeGetResourceStringArray() local
775 auto result = assetmanager->ResolveReference(attr_value); in NativeGetResourceStringArray()
780 if (attr_value.type == Res_value::TYPE_STRING) { in NativeGetResourceStringArray()
781 const auto& apk_assets = assetmanager->GetApkAssets(attr_value.cookie); in NativeGetResourceStringArray()
786 if (auto str_utf8 = pool->string8At(attr_value.data); str_utf8.has_value()) { in NativeGetResourceStringArray()
789 auto str_utf16 = pool->stringAt(attr_value.data); in NativeGetResourceStringArray()
809 attr_value.cookie); in NativeGetResourceStringArray()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMELFAttributeData.cpp22 const ELFAttributeValue& attr_value = m_Attrs[pTag]; in getAttributeValue() local
24 if (attr_value.isInitialized()) { in getAttributeValue()
25 return &attr_value; in getAttributeValue()
43 ELFAttributeValue* attr_value = NULL; in getOrCreateAttributeValue() local
46 attr_value = &m_Attrs[pTag]; in getOrCreateAttributeValue()
49 attr_value = &m_UnknownAttrs[pTag]; in getOrCreateAttributeValue()
52 assert(attr_value != NULL); in getOrCreateAttributeValue()
55 if (!attr_value->isUninitialized()) { in getOrCreateAttributeValue()
56 return std::make_pair(attr_value, false); in getOrCreateAttributeValue()
58 attr_value->setType(GetAttributeValueType(pTag)); in getOrCreateAttributeValue()
[all …]
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp176 if (auto attr_value = theme->GetAttribute(cur_ident)) { in ResolveAttrs() local
177 value = *attr_value; in ResolveAttrs()
308 if (auto attr_value = theme->GetAttribute(cur_ident)) { in ApplyStyle() local
309 value = *attr_value; in ApplyStyle()
/frameworks/base/tools/aapt2/xml/
DXmlDom.h109 android::StringPiece attr_value);
114 android::StringPiece attr_value) const;
DXmlDom.cpp460 StringPiece attr_name, StringPiece attr_value) { in FindChildWithAttribute() argument
462 ns, name, attr_ns, attr_name, attr_value)); in FindChildWithAttribute()
467 StringPiece attr_value) const { in FindChildWithAttribute()
476 if (attr && attr_value == attr->value) { in FindChildWithAttribute()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp69 StringPiece attr_value = attr->value; in VerifyDeeplinkPathAttribute() local
70 const char* startChar = attr_value.begin(); in VerifyDeeplinkPathAttribute()
79 << "> tag has value of '" << attr_value in VerifyDeeplinkPathAttribute()
91 << "> tag has value of '" << attr_value in VerifyDeeplinkPathAttribute()