Lines Matching full:program
39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
40 return ToJBool(program && program->CallInit());
46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
47 return ToJBool(program && lib_name && program->OpenLibrary(ToCppString(env, lib_name)));
53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
54 return ToJBool(program && func_name && program->BindInitFunction(ToCppString(env, func_name)));
60 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
61 return ToJBool(program &&
63 program->BindSetValueFunction(ToCppString(env, func_name)));
69 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
70 return ToJBool(program &&
72 program->BindGetValueFunction(ToCppString(env, func_name)));
78 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
79 return ToJBool(program && func_name && program->BindProcessFunction(ToCppString(env, func_name)));
85 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
86 return ToJBool(program &&
88 program->BindResetFunction(ToCppString(env, func_name)));
94 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
95 return ToJBool(program &&
97 program->BindTeardownFunction(ToCppString(env, func_name)));
101 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
102 return ToJBool(program && program->CallInit());
110 LOGE("Native Program: Attempting to set null value for key %s!",
113 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
116 return ToJBool(program && program->CallSetValue(c_key, c_value));
122 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
124 if (program) {
125 return ToJString(env, program->CallGetValue(c_key));
134 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
137 if (!program || !inputs) {
176 return ToJBool(program->CallProcess(input_buffers, input_sizes, output_data, output_size));
180 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
181 return ToJBool(program && program->CallReset());
185 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz);
186 return ToJBool(program && program->CallTeardown());