Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp210 const char16_t* str16 = parser->getAttributeNamespace(i, &len); in copyAttributes() local
211 if (str16) { in copyAttributes()
212 attr.namespaceUri.assign(str16, len); in copyAttributes()
215 str16 = parser->getAttributeName(i, &len); in copyAttributes()
216 if (str16) { in copyAttributes()
217 attr.name.assign(str16, len); in copyAttributes()
220 str16 = parser->getAttributeStringValue(i, &len); in copyAttributes()
221 if (str16) { in copyAttributes()
222 attr.value.assign(str16, len); in copyAttributes()
251 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.cpp111 const jchar* str16 = env->GetStringCritical(name, 0); in android_os_Process_getUidForName() local
113 if (str16) { in android_os_Process_getUidForName()
114 name8 = String8(reinterpret_cast<const char16_t*>(str16), in android_os_Process_getUidForName()
116 env->ReleaseStringCritical(name, str16); in android_os_Process_getUidForName()
143 const jchar* str16 = env->GetStringCritical(name, 0); in android_os_Process_getGidForName() local
145 if (str16) { in android_os_Process_getGidForName()
146 name8 = String8(reinterpret_cast<const char16_t*>(str16), in android_os_Process_getGidForName()
148 env->ReleaseStringCritical(name, str16); in android_os_Process_getGidForName()
Dandroid_util_AssetManager.cpp1979 const char16_t* str16 = pool->stringAt(value.data, &strLen); in android_content_AssetManager_getArrayStringResource() local
1980 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.cpp832 const char16_t *str16 = stringAt(idx, &len); in string8ObjectAt() local
833 if (str16 != NULL) { in string8ObjectAt()
834 return String8(str16, len); in string8ObjectAt()
6856 const char16_t* str16 = pkg->header->values.stringAt( in print_value() local
6858 if (str16 != NULL) { in print_value()
6860 normalizeForOutput(String8(str16, len).string()).string()); in print_value()