/device/sample/frameworks/PlatformLibrary/jni/ |
D | PlatformLibrary.cpp | 50 static void throwException(JNIEnv* env, const char* ex, const char* fmt, in throwException() argument 53 if (jclass cls = env->FindClass(ex)) { in throwException() 57 env->ThrowNew(cls, msg); in throwException() 59 env->ThrowNew(cls, NULL); in throwException() 68 env->DeleteLocalRef(cls); in throwException() 78 static jint PlatformLibrary_getJniInt(JNIEnv* env, jobject thiz, jboolean bad) { in PlatformLibrary_getJniInt() argument 80 throwException(env, "java/lang/IllegalStateException", in PlatformLibrary_getJniInt() 84 env->SetIntField(thiz, gCachedState.jniInt, 42); in PlatformLibrary_getJniInt() 99 static jstring PlatformLibrary_reverseString(JNIEnv* env, jclass clazz, in PlatformLibrary_reverseString() argument 103 throwException(env, "java/lang/NullPointerException", NULL, 0); in PlatformLibrary_reverseString() [all …]
|
/device/google/dragon/audio/hal/ |
D | cras_expr.c | 95 static struct cras_expr_value *find_value(struct cras_expr_env *env, in find_value() argument 101 FOR_ARRAY_ELEMENT(&env->keys, i, key) { in find_value() 103 return ARRAY_ELEMENT(&env->values, i); in find_value() 111 static struct cras_expr_value *insert_value(struct cras_expr_env *env, in insert_value() argument 114 *ARRAY_APPEND_ZERO(&env->keys) = strdup(key); in insert_value() 115 return ARRAY_APPEND_ZERO(&env->values); in insert_value() 118 static struct cras_expr_value *find_or_insert_value(struct cras_expr_env *env, in find_or_insert_value() argument 121 struct cras_expr_value *value = find_value(env, key); in find_or_insert_value() 123 value = insert_value(env, key); in find_or_insert_value() 238 static void env_set_variable(struct cras_expr_env *env, const char *name, in env_set_variable() argument [all …]
|
D | cras_expr.h | 74 void cras_expr_env_install_builtins(struct cras_expr_env *env); 75 void cras_expr_env_set_variable_boolean(struct cras_expr_env *env, 77 void cras_expr_env_set_variable_integer(struct cras_expr_env *env, 79 void cras_expr_env_set_variable_string(struct cras_expr_env *env, 81 void cras_expr_env_free(struct cras_expr_env *env); 85 struct cras_expr_env *env, 88 struct cras_expr_env *env, char *boolean); 90 struct cras_expr_env *env, int *integer);
|
D | cras_dsp.c | 28 struct cras_expr_env env; member 38 static void initialize_environment(struct cras_expr_env *env) in initialize_environment() argument 40 cras_expr_env_install_builtins(env); in initialize_environment() 41 cras_expr_env_set_variable_boolean(env, "disable_eq", 0); in initialize_environment() 42 cras_expr_env_set_variable_boolean(env, "disable_drc", 0); in initialize_environment() 43 cras_expr_env_set_variable_string(env, "dsp_name", ""); in initialize_environment() 54 pipeline = cras_dsp_pipeline_create(ini, &ctx->env, purpose); in prepare_pipeline() 92 cras_expr_env_set_variable_string(&ctx->env, key, value); in cras_dsp_set_variable() 146 initialize_environment(&ctx->env); in cras_dsp_context_new() 162 cras_expr_env_free(&ctx->env); in cras_dsp_context_free()
|
D | cras_dsp_pipeline.c | 268 static char is_disabled(struct plugin *plugin, struct cras_expr_env *env) in is_disabled() argument 273 plugin->disable_expr, env, &disabled) == 0 && in is_disabled() 278 struct cras_expr_env *env, in topological_sort() argument 304 if (topological_sort(pipeline, env, flow->from, visited) < 0) in topological_sort() 309 if (is_disabled(plugin, env)) in topological_sort() 376 struct cras_expr_env *env) in find_enabled_builtin_plugin() argument 388 if (is_disabled(plugin, env)) in find_enabled_builtin_plugin() 402 struct cras_expr_env *env, in cras_dsp_pipeline_create() argument 410 ini, "source", purpose, env); in cras_dsp_pipeline_create() 412 ini, "sink", purpose, env); in cras_dsp_pipeline_create() [all …]
|
D | cras_dsp_pipeline.h | 43 struct cras_expr_env *env,
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 121 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params) in glGetTexEnvfv() argument 123 getDispatch()->glGetTexEnvfv(env, pname, params); in glGetTexEnvfv() 501 void glGetTexEnviv(GLenum env, GLenum pname, GLint *params) in glGetTexEnviv() argument 503 getDispatch()->glGetTexEnviv(env, pname, params); in glGetTexEnviv() 506 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) in glGetTexEnvxv() argument 508 getDispatch()->glGetTexEnvxv(env, pname, params); in glGetTexEnvxv() 911 void glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params) in glGetTexEnvxvOES() argument 913 getDispatch()->glGetTexEnvxvOES(env, pname, params); in glGetTexEnvxvOES()
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | gl_entry.cpp | 22 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat* params); 97 void glGetTexEnviv(GLenum env, GLenum pname, GLint* params); 98 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed* params); 199 void glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed* params); 387 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat* params) in glGetTexEnvfv() argument 390 ctx->glGetTexEnvfv(ctx, env, pname, params); in glGetTexEnvfv() 841 void glGetTexEnviv(GLenum env, GLenum pname, GLint* params) in glGetTexEnviv() argument 844 ctx->glGetTexEnviv(ctx, env, pname, params); in glGetTexEnviv() 847 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed* params) in glGetTexEnvxv() argument 850 ctx->glGetTexEnvxv(ctx, env, pname, params); in glGetTexEnvxv() [all …]
|
D | gl_enc.cpp | 416 void glGetTexEnvfv_enc(void *self , GLenum env, GLenum pname, GLfloat* params) in glGetTexEnvfv_enc() argument 435 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnvfv_enc() 2461 void glGetTexEnviv_enc(void *self , GLenum env, GLenum pname, GLint* params) in glGetTexEnviv_enc() argument 2480 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnviv_enc() 2499 void glGetTexEnvxv_enc(void *self , GLenum env, GLenum pname, GLfixed* params) in glGetTexEnvxv_enc() argument 2518 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnvxv_enc() 5337 void glGetTexEnvxvOES_enc(void *self , GLenum env, GLenum pname, GLfixed* params) in glGetTexEnvxvOES_enc() argument 5356 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnvxvOES_enc()
|
/device/moto/shamu/ |
D | init.shamu.rc | 340 on property:persist.env.fastdorm.enabled=true
|