Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DXmlDom.cpp208 const char16_t* str16 = parser->getAttributeNamespace(i, &len); in copyAttributes() local
209 if (str16) { in copyAttributes()
210 attr.namespaceUri.assign(str16, len); in copyAttributes()
213 str16 = parser->getAttributeName(i, &len); in copyAttributes()
214 if (str16) { in copyAttributes()
215 attr.name.assign(str16, len); in copyAttributes()
218 str16 = parser->getAttributeStringValue(i, &len); in copyAttributes()
219 if (str16) { in copyAttributes()
220 attr.value.assign(str16, len); in copyAttributes()
244 const char16_t* str16 = tree.getNamespacePrefix(&len); in inflate() local
[all …]
/frameworks/base/packages/services/PacProcessor/jni/
Dcom_android_pacprocessor_PacNative.cpp51 String16 str16(reinterpret_cast<const char16_t*>(str), in jstringToString16()
54 return str16; in jstringToString16()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp109 const jchar* str16 = env->GetStringCritical(name, 0); in android_os_Process_getUidForName() local
111 if (str16) { in android_os_Process_getUidForName()
112 name8 = String8(reinterpret_cast<const char16_t*>(str16), in android_os_Process_getUidForName()
114 env->ReleaseStringCritical(name, str16); in android_os_Process_getUidForName()
141 const jchar* str16 = env->GetStringCritical(name, 0); in android_os_Process_getGidForName() local
143 if (str16) { in android_os_Process_getGidForName()
144 name8 = String8(reinterpret_cast<const char16_t*>(str16), in android_os_Process_getGidForName()
146 env->ReleaseStringCritical(name, str16); in android_os_Process_getGidForName()
Dandroid_util_AssetManager.cpp1904 const char16_t* str16 = pool->stringAt(value.data, &strLen); in android_content_AssetManager_getArrayStringResource() local
1905 str = env->NewString(reinterpret_cast<const jchar*>(str16), in android_content_AssetManager_getArrayStringResource()
/frameworks/base/tools/aapt/
DXMLNode.cpp101 String16 str16) in hasSubstitutionErrors() argument
103 const char16_t* str = str16.string(); in hasSubstitutionErrors()
105 const char16_t* end = str + str16.size(); in hasSubstitutionErrors()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp830 const char16_t *str16 = stringAt(idx, &len); in string8ObjectAt() local
831 if (str16 != NULL) { in string8ObjectAt()
832 return String8(str16, len); in string8ObjectAt()
6638 const char16_t* str16 = pkg->header->values.stringAt( in print_value() local
6640 if (str16 != NULL) { in print_value()
6642 normalizeForOutput(String8(str16, len).string()).string()); in print_value()