/frameworks/av/media/libmedia/ |
D | AudioParameter.cpp | 128 String8 str8 = String8(str); in addInt() local 129 return add(key, str8); in addInt() 139 String8 str8 = String8(str); in addFloat() local 140 return add(key, str8); in addFloat() 168 String8 str8; in getInt() local 169 status_t result = get(key, str8); in getInt() 173 if (sscanf(str8.string(), "%d", &val) == 1) { in getInt() 184 String8 str8; in getFloat() local 185 status_t result = get(key, str8); in getFloat() 189 if (sscanf(str8.string(), "%f", &val) == 1) { in getFloat()
|
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 32 const char *str8(const uint16_t *x, size_t x_len) in str8() function 124 return check_mac_perms_from_lookup(spid, sid, uid, perm, str8(name, name_len)) ? 1 : 0; in svc_can_register() 136 return check_mac_perms_from_lookup(spid, sid, uid, perm, str8(name, name_len)) ? 1 : 0; in svc_can_find() 169 ALOGI("service '%s' died\n", str8(si->name, si->len)); in svcinfo_death() 218 str8(s, len), handle, uid); in do_add_service() 226 str8(s, len), handle, uid); in do_add_service() 234 str8(s, len), handle, uid); in do_add_service() 291 fprintf(stderr,"invalid id %s\n", str8(s, len)); in svcmgr_handler()
|
/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 | 676 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_readProcLines() local 678 if (str8 == NULL) { in android_os_Process_readProcLines() 682 fields.add(String8(str8)); in android_os_Process_readProcLines() 683 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_readProcLines() 1149 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_getPidsForCommands() local 1150 if (str8 == NULL) { in android_os_Process_getPidsForCommands() 1154 commands.add(String8(str8)); in android_os_Process_getPidsForCommands() 1155 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 | 309 const uint8_t* str8 = (uint8_t*)string; in AParcel_writeString() local 310 const ssize_t len16 = utf8_to_utf16_length(str8, length); in AParcel_writeString() 327 utf8_to_utf16(str8, length, (char16_t*)str16, (size_t)len16 + 1); in AParcel_writeString() 358 char* str8; in AParcel_readString() local 359 bool success = allocator(stringData, len8, &str8); in AParcel_readString() 361 if (!success || str8 == nullptr) { in AParcel_readString() 366 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() 7381 const char* str8 = pkg->header->values.string8At( in print_value() local 7383 if (str8 != NULL) { in print_value() 7384 printf("(string8) \"%s\"\n", normalizeForOutput(str8).string()); in print_value()
|