Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp863 String8 params8; in android_hardware_Camera_setParameters() local
865 params8 = String8(reinterpret_cast<const char16_t*>(str), in android_hardware_Camera_setParameters()
869 if (camera->setParameters(params8) != NO_ERROR) { in android_hardware_Camera_setParameters()
881 String8 params8 = camera->getParameters(); in android_hardware_Camera_getParameters() local
882 if (params8.empty()) { in android_hardware_Camera_getParameters()
886 return env->NewStringUTF(params8.c_str()); in android_hardware_Camera_getParameters()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp324 const char* params8 = env->GetStringUTFChars(params, NULL); in android_media_MediaRecorder_setParameter() local
325 if (params8 == NULL) in android_media_MediaRecorder_setParameter()
331 …process_media_recorder_call(env, mr->setParameters(String8(params8)), "java/lang/RuntimeException"… in android_media_MediaRecorder_setParameter()
332 env->ReleaseStringUTFChars(params,params8); in android_media_MediaRecorder_setParameter()