Searched refs:ToJBool (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_native_program.cpp | 32 return ToJBool(WrapOwnedObjectInJava(std::move(program), env, thiz, true)); in Java_android_filterfw_core_NativeProgram_allocate() 36 return ToJBool(DeleteNativeObject<NativeProgram>(env, thiz)); in Java_android_filterfw_core_NativeProgram_deallocate() 41 return ToJBool(program && program->CallInit()); in Java_android_filterfw_core_NativeProgram_nativeInit() 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() 62 return ToJBool(program && in Java_android_filterfw_core_NativeProgram_bindSetValueFunction() 71 return ToJBool(program && 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() 87 return ToJBool(program && in Java_android_filterfw_core_NativeProgram_bindResetFunction() 96 return ToJBool(program && in Java_android_filterfw_core_NativeProgram_bindTeardownFunction() [all …]
|
D | jni_gl_frame.cpp | 53 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true)); in Java_android_filterfw_core_GLFrame_nativeAllocate() 68 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true)); in Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture() 83 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true)); in Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo() 95 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true)); in Java_android_filterfw_core_GLFrame_nativeAllocateExternal() 101 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); in Java_android_filterfw_core_GLFrame_nativeDeallocate() 115 return ToJBool(success); in Java_android_filterfw_core_GLFrame_setNativeData() 144 return ToJBool(success); in Java_android_filterfw_core_GLFrame_setNativeInts() 180 return ToJBool(success); in Java_android_filterfw_core_GLFrame_setNativeFloats() 218 return ToJBool(success && in Java_android_filterfw_core_GLFrame_setNativeBitmap() 247 return frame ? ToJBool(frame->SetViewport(x, y, width, height)) : JNI_FALSE; in Java_android_filterfw_core_GLFrame_setNativeViewport() [all …]
|
D | jni_gl_environment.cpp | 67 return ToJBool(WrapOwnedObjectInJava(std::move(glEnv), env, thiz, true)); in Java_android_filterfw_core_GLEnvironment_nativeAllocate() 71 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz)); in Java_android_filterfw_core_GLEnvironment_nativeDeallocate() 77 return gl_env ? ToJBool(gl_env->InitWithNewContext()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext() 83 return gl_env ? ToJBool(gl_env->InitWithCurrentContext()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext() 88 return gl_env ? ToJBool(gl_env->IsActive()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeIsActive() 93 return gl_env ? ToJBool(gl_env->IsContextActive()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeIsContextActive() 98 return ToJBool(GLEnv::IsAnyContextActive()); in Java_android_filterfw_core_GLEnvironment_nativeIsAnyContextActive() 103 return gl_env ? ToJBool(gl_env->Activate()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeActivate() 108 return gl_env ? ToJBool(gl_env->Deactivate()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeDeactivate() 113 return gl_env ? ToJBool(gl_env->SwapBuffers()) : JNI_FALSE; in Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers() [all …]
|
D | jni_vertex_frame.cpp | 28 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true)); in Java_android_filterfw_core_VertexFrame_nativeAllocate() 32 return ToJBool(DeleteNativeObject<VertexFrame>(env, thiz)); in Java_android_filterfw_core_VertexFrame_nativeDeallocate() 47 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeInts() 64 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeFloats() 82 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeData()
|
D | jni_native_frame.cpp | 39 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true)); in Java_android_filterfw_core_NativeFrame_nativeAllocate() 43 return ToJBool(DeleteNativeObject<NativeFrame>(env, thiz)); in Java_android_filterfw_core_NativeFrame_nativeDeallocate() 67 return ToJBool(success); in Java_android_filterfw_core_NativeFrame_setNativeData() 94 return ToJBool(AttachDataToJBuffer(env, buffer, data, frame->Size())); in Java_android_filterfw_core_NativeFrame_getNativeBuffer() 111 return ToJBool(success); in Java_android_filterfw_core_NativeFrame_setNativeInts() 145 return ToJBool(success); in Java_android_filterfw_core_NativeFrame_setNativeFloats() 280 return ToJBool(this_frame->WriteData(other_frame->Data(), 0, other_frame->Size())); in Java_android_filterfw_core_NativeFrame_nativeCopyFromNative() 291 return ToJBool(other_frame->CopyDataTo(this_frame->MutableData(), this_frame->Size())); in Java_android_filterfw_core_NativeFrame_nativeCopyFromGL()
|
D | jni_shader_program.cpp | 56 return ToJBool(WrapOwnedObjectInJava(std::move(shader), env, thiz, true)); in Java_android_filterfw_core_ShaderProgram_allocate() 60 return ToJBool(DeleteNativeObject<ShaderProgram>(env, thiz)); in Java_android_filterfw_core_ShaderProgram_deallocate() 65 return program ? ToJBool(program->CompileAndLink()) : JNI_FALSE; in Java_android_filterfw_core_ShaderProgram_compileAndLink() 76 return ToJBool(program && program->SetUniformValue(c_key, c_value)); in Java_android_filterfw_core_ShaderProgram_setUniformValue() 255 return ToJBool(program && program->BeginDraw()); in Java_android_filterfw_core_ShaderProgram_beginShaderDrawing() 281 return ToJBool(success); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues() 315 return ToJBool(success); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()
|
D | jni_native_buffer.cpp | 55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size)); in Java_android_filterfw_core_NativeBuffer_allocate()
|
D | jni_util.cpp | 111 jboolean ToJBool(bool value) { in ToJBool() function
|
D | jni_util.h | 274 jboolean ToJBool(bool value);
|