Searched refs:str8 (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libmedia/ |
D | AudioParameter.cpp | 101 String8 str8 = String8(str); in addInt() local 102 return add(key, str8); in addInt() 112 String8 str8 = String8(str); in addFloat() local 113 return add(key, str8); in addFloat() 141 String8 str8; in getInt() local 142 status_t result = get(key, str8); in getInt() 146 if (sscanf(str8.string(), "%d", &val) == 1) { in getInt() 157 String8 str8; in getFloat() local 158 status_t result = get(key, str8); in getFloat() 162 if (sscanf(str8.string(), "%f", &val) == 1) { in getFloat()
|
/frameworks/base/cmds/servicemanager/ |
D | service_manager.c | 52 const char *str8(uint16_t *x) in str8() function 118 ALOGI("service '%s' died\n", str8(si->name)); in svcinfo_death() 165 str8(s), ptr, uid); in do_add_service() 173 str8(s), ptr, uid); in do_add_service() 181 str8(s), ptr, uid); in do_add_service() 226 fprintf(stderr,"invalid id %s\n", str8(s)); in svcmgr_handler()
|
/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 83 const char* str8 = osb->string8At(idx, &len); in android_content_StringBlock_nativeGetString() local 84 if (str8 != NULL) { in android_content_StringBlock_nativeGetString() 85 return env->NewStringUTF(str8); in android_content_StringBlock_nativeGetString()
|
D | android_util_Process.cpp | 496 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_readProcLines() local 498 if (str8 == NULL) { in android_os_Process_readProcLines() 502 fields.add(String8(str8)); in android_os_Process_readProcLines() 503 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_readProcLines() 910 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); in android_os_Process_getPidsForCommands() local 911 if (str8 == NULL) { in android_os_Process_getPidsForCommands() 915 commands.add(String8(str8)); in android_os_Process_getPidsForCommands() 916 env->ReleaseStringUTFChars((jstring)obj, str8); in android_os_Process_getPidsForCommands()
|
D | android_util_AssetManager.cpp | 1493 const char* str8 = pool->string8At(value.data, &strLen); in android_content_AssetManager_getArrayStringResource() local 1494 if (str8 != NULL) { in android_content_AssetManager_getArrayStringResource() 1495 str = env->NewStringUTF(str8); in android_content_AssetManager_getArrayStringResource()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5354 const char* str8 = pkg->header->values.string8At( in print_value() local 5356 if (str8 != NULL) { in print_value() 5357 printf("(string8) \"%s\"\n", normalizeForOutput(str8).string()); in print_value()
|