Searched refs:ToCppString (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_native_program.cpp | 48 return ToJBool(program && lib_name && program->OpenLibrary(ToCppString(env, lib_name))); in Java_android_filterfw_core_NativeProgram_openNativeLibrary() 55 return ToJBool(program && func_name && program->BindInitFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindInitFunction() 64 program->BindSetValueFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindSetValueFunction() 73 program->BindGetValueFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindGetValueFunction() 80 return ToJBool(program && func_name && program->BindProcessFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindProcessFunction() 89 program->BindResetFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindResetFunction() 98 program->BindTeardownFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindTeardownFunction() 112 ToCppString(env, key).c_str()); in Java_android_filterfw_core_NativeProgram_callNativeSetValue() 115 const std::string c_value = ToCppString(env, value); in Java_android_filterfw_core_NativeProgram_callNativeSetValue() 116 const std::string c_key = ToCppString(env, key); in Java_android_filterfw_core_NativeProgram_callNativeSetValue() [all …]
|
D | jni_shader_program.cpp | 52 shader.reset(new ShaderProgram(gl_env_ptr, ToCppString(env, fragment_shader))); in Java_android_filterfw_core_ShaderProgram_allocate() 54 shader.reset(new ShaderProgram(gl_env_ptr, ToCppString(env, vertex_shader), in Java_android_filterfw_core_ShaderProgram_allocate() 55 ToCppString(env, fragment_shader))); in Java_android_filterfw_core_ShaderProgram_allocate() 74 const std::string c_key = ToCppString(env, key); in Java_android_filterfw_core_ShaderProgram_setUniformValue() 87 const std::string c_key = ToCppString(env, key); in Java_android_filterfw_core_ShaderProgram_getUniformValue() 271 const std::string attr_string = ToCppString(env, attr_name); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues() 303 const std::string attr_string = ToCppString(env, attr_name); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()
|
D | jni_util.cpp | 102 std::string ToCppString(JNIEnv* env, jstring value) { in ToCppString() function 146 result = MakeStringValue(ToCppString(env, static_cast<jstring>(object)).c_str()); in ToCValue()
|
D | jni_util.h | 283 std::string ToCppString(JNIEnv* env, jstring value);
|