/frameworks/av/media/libmedia/ |
D | AudioParameter.cpp | 102 String8 str8 = String8(str); in addInt() local 103 return add(key, str8); in addInt() 113 String8 str8 = String8(str); in addFloat() local 114 return add(key, str8); in addFloat() 142 String8 str8; in getInt() local 143 status_t result = get(key, str8); in getInt() 147 if (sscanf(str8.string(), "%d", &val) == 1) { in getInt() 158 String8 str8; in getFloat() local 159 status_t result = get(key, str8); in getFloat() 163 if (sscanf(str8.string(), "%f", &val) == 1) { in getFloat()
|
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 26 const char *str8(const uint16_t *x, size_t x_len) in str8() function 113 return check_mac_perms_from_lookup(spid, perm, str8(name, name_len)) ? 1 : 0; in svc_can_register() 125 return check_mac_perms_from_lookup(spid, perm, str8(name, name_len)) ? 1 : 0; in svc_can_find() 157 ALOGI("service '%s' died\n", str8(si->name, si->len)); in svcinfo_death() 176 str8(s, len), uid); in do_find_service() 211 str8(s, len), handle, uid); in do_add_service() 219 str8(s, len), handle, uid); in do_add_service() 227 str8(s, len), handle, uid); in do_add_service() 279 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 | 505 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_readProcLines() local 507 if (str8 == NULL) { in android_os_Process_readProcLines() 511 fields.add(String8(str8)); in android_os_Process_readProcLines() 512 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_readProcLines() 934 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_getPidsForCommands() local 935 if (str8 == NULL) { in android_os_Process_getPidsForCommands() 939 commands.add(String8(str8)); in android_os_Process_getPidsForCommands() 940 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_getPidsForCommands()
|
D | android_util_AssetManager.cpp | 1835 const char* str8 = pool->string8At(value.data, &strLen); in android_content_AssetManager_getArrayStringResource() local 1836 if (str8 != NULL) { in android_content_AssetManager_getArrayStringResource() 1837 str = env->NewStringUTF(str8); in android_content_AssetManager_getArrayStringResource()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 147 float TextRenderer::computeScaledStringWidth(const String8& str8) const { in computeScaledStringWidth() 154 const char* str = str8.string(); in computeScaledStringWidth() 180 float x, float y, const String8& str8) const { in drawString() 181 ALOGV("drawString %.3f,%.3f '%s' (scale=%.3f)", x, y, str8.string(),mScale); in drawString() 187 const char* str = str8.string(); in drawString()
|
D | TextRenderer.h | 99 float computeScaledStringWidth(const String8& str8) const;
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 890 String8 str8(str, strLen); in indexOfString() local 891 const size_t str8Len = str8.size(); in indexOfString() 897 if (s && str8Len == len && memcmp(s, str8.string(), str8Len) == 0) { in indexOfString() 6305 const char* str8 = pkg->header->values.string8At( in print_value() local 6307 if (str8 != NULL) { in print_value() 6308 printf("(string8) \"%s\"\n", normalizeForOutput(str8).string()); in print_value()
|