Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp868 String8 params8; in android_hardware_Camera_setParameters() local
870 params8 = String8(reinterpret_cast<const char16_t*>(str), in android_hardware_Camera_setParameters()
874 if (camera->setParameters(params8) != NO_ERROR) { in android_hardware_Camera_setParameters()
886 String8 params8 = camera->getParameters(); in android_hardware_Camera_getParameters() local
887 if (params8.isEmpty()) { in android_hardware_Camera_getParameters()
891 return env->NewStringUTF(params8.string()); in android_hardware_Camera_getParameters()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp293 const char* params8 = env->GetStringUTFChars(params, NULL); in android_media_MediaRecorder_setParameter() local
294 if (params8 == NULL) in android_media_MediaRecorder_setParameter()
300 …process_media_recorder_call(env, mr->setParameters(String8(params8)), "java/lang/RuntimeException"… in android_media_MediaRecorder_setParameter()
301 env->ReleaseStringUTFChars(params,params8); in android_media_MediaRecorder_setParameter()