Home
last modified time | relevance | path

Searched refs:params8 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp253 const char* params8 = env->GetStringUTFChars(params, NULL); in android_media_MediaRecorder_setParameter() local
254 if (params8 == NULL) in android_media_MediaRecorder_setParameter()
260 …process_media_recorder_call(env, mr->setParameters(String8(params8)), "java/lang/RuntimeException"… in android_media_MediaRecorder_setParameter()
261 env->ReleaseStringUTFChars(params,params8); in android_media_MediaRecorder_setParameter()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp837 String8 params8; in android_hardware_Camera_setParameters() local
839 params8 = String8(reinterpret_cast<const char16_t*>(str), in android_hardware_Camera_setParameters()
843 if (camera->setParameters(params8) != NO_ERROR) { in android_hardware_Camera_setParameters()
855 String8 params8 = camera->getParameters(); in android_hardware_Camera_getParameters() local
856 if (params8.isEmpty()) { in android_hardware_Camera_getParameters()
860 return env->NewStringUTF(params8.string()); in android_hardware_Camera_getParameters()