Searched refs:str8 (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libmediahelper/ |
D | AudioParameter.cpp | 130 String8 str8 = String8(str); in addInt() local 131 return add(key, str8); in addInt() 141 String8 str8 = String8(str); in addFloat() local 142 return add(key, str8); in addFloat() 170 String8 str8; in getInt() local 171 status_t result = get(key, str8); in getInt() 175 if (sscanf(str8.string(), "%d", &val) == 1) { in getInt() 186 String8 str8; in getFloat() local 187 status_t result = get(key, str8); in getFloat() 191 if (sscanf(str8.string(), "%f", &val) == 1) { in getFloat()
|
/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 84 const char* str8 = osb->string8At(idx, &len); in android_content_StringBlock_nativeGetString() local 85 if (str8 != NULL) { in android_content_StringBlock_nativeGetString() 86 return env->NewStringUTF(str8); in android_content_StringBlock_nativeGetString()
|
D | android_util_Process.cpp | 682 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_readProcLines() local 684 if (str8 == NULL) { in android_os_Process_readProcLines() 688 fields.add(String8(str8)); in android_os_Process_readProcLines() 689 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_readProcLines() 1155 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_getPidsForCommands() local 1156 if (str8 == NULL) { in android_os_Process_getPidsForCommands() 1160 commands.add(String8(str8)); in android_os_Process_getPidsForCommands() 1161 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_getPidsForCommands()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 149 float TextRenderer::computeScaledStringWidth(const String8& str8) const { in computeScaledStringWidth() 156 const char* str = str8.string(); in computeScaledStringWidth() 182 float x, float y, const String8& str8) const { in drawString() 183 ALOGV("drawString %.3f,%.3f '%s' (scale=%.3f)", x, y, str8.string(),mScale); in drawString() 189 const char* str = str8.string(); in drawString()
|
D | TextRenderer.h | 99 float computeScaledStringWidth(const String8& str8) const;
|
/frameworks/native/libs/binder/ndk/ |
D | parcel.cpp | 302 const uint8_t* str8 = (uint8_t*)string; in AParcel_writeString() local 303 const ssize_t len16 = utf8_to_utf16_length(str8, length); in AParcel_writeString() 320 utf8_to_utf16(str8, length, (char16_t*)str16, (size_t)len16 + 1); in AParcel_writeString() 351 char* str8; in AParcel_readString() local 352 bool success = allocator(stringData, len8, &str8); in AParcel_readString() 354 if (!success || str8 == nullptr) { in AParcel_readString() 359 utf16_to_utf8(str16, len16, str8, len8); in AParcel_readString()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 982 String8 str8(str, strLen); in indexOfString() local 983 const size_t str8Len = str8.size(); in indexOfString() 989 if (s && str8Len == len && memcmp(s, str8.string(), str8Len) == 0) { in indexOfString() 7380 const char* str8 = pkg->header->values.string8At( in print_value() local 7382 if (str8 != NULL) { in print_value() 7383 printf("(string8) \"%s\"\n", normalizeForOutput(str8).string()); in print_value()
|