/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 35 struct SndFile *thiz = &thisAP->mSndFile; local 37 pthread_mutex_lock(&thiz->mMutex); 38 if (thiz->mEOF) { 39 pthread_mutex_unlock(&thiz->mMutex); 42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE]; 43 if (++thiz->mWhich >= SndFile_NUMBUFS) { 44 thiz->mWhich = 0; 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 48 pthread_mutex_unlock(&thiz 137 SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument 239 SndFile_Realize(CAudioPlayer *thiz) argument 277 SndFile_Destroy(CAudioPlayer *thiz) argument [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.h | 27 Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz); 30 Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, jobject thiz); 36 Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, jobject thiz); 39 Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz); 42 Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz); 48 Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz); 51 Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz); 54 Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz); 58 jobject thiz, [all...] |
H A D | jni_gl_frame.h | 28 jobject thiz, 35 jobject thiz, 43 jobject thiz, 51 jobject thiz, 55 Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 58 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 61 Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz); 64 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 67 Java_android_filterfw_core_GLFrame_getNativeFloats(JNIEnv* env, jobject thiz); 71 jobject thiz, [all...] |
H A D | jni_vertex_frame.h | 27 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_VertexFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 37 jobject thiz, 42 jobject thiz, 48 Java_android_filterfw_core_VertexFrame_getNativeVboId(JNIEnv* env, jobject thiz);
|
H A D | jni_native_program.cpp | 30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { argument 31 return ToJBool(WrapObjectInJava(new NativeProgram(), env, thiz, true)); 34 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { argument 35 return ToJBool(DeleteNativeObject<NativeProgram>(env, thiz)); 38 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { argument 39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 44 jobject thiz, 46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 51 jobject thiz, 53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 43 Java_android_filterfw_core_NativeProgram_openNativeLibrary(JNIEnv* env, jobject thiz, jstring lib_name) argument 50 Java_android_filterfw_core_NativeProgram_bindInitFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 57 Java_android_filterfw_core_NativeProgram_bindSetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 66 Java_android_filterfw_core_NativeProgram_bindGetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 75 Java_android_filterfw_core_NativeProgram_bindProcessFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 82 Java_android_filterfw_core_NativeProgram_bindResetFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 91 Java_android_filterfw_core_NativeProgram_bindTeardownFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 100 Java_android_filterfw_core_NativeProgram_callNativeInit(JNIEnv* env, jobject thiz) argument 105 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument 119 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument 130 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument 179 Java_android_filterfw_core_NativeProgram_callNativeReset(JNIEnv* env, jobject thiz) argument 184 Java_android_filterfw_core_NativeProgram_callNativeTeardown(JNIEnv* env, jobject thiz) argument [all...] |
H A D | jni_native_frame.h | 27 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 39 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 42 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size); 45 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 48 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size); 52 jobject thiz, 58 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size); 61 Java_android_filterfw_core_NativeFrame_getNativeBuffer(JNIEnv* env, jobject thiz, jobject buffer); 65 jobject thiz, [all...] |
H A D | jni_shader_program.cpp | 39 jobject thiz, 54 thiz, 62 thiz, 66 jboolean Java_android_filterfw_core_ShaderProgram_deallocate(JNIEnv* env, jobject thiz) { argument 67 return ToJBool(DeleteNativeObject<ShaderProgram>(env, thiz)); 70 jboolean Java_android_filterfw_core_ShaderProgram_compileAndLink(JNIEnv* env, jobject thiz) { argument 71 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); 76 jobject thiz, 79 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); 91 jobject thiz, 38 Java_android_filterfw_core_ShaderProgram_allocate(JNIEnv* env, jobject thiz, jobject gl_env, jstring vertex_shader, jstring fragment_shader) argument 75 Java_android_filterfw_core_ShaderProgram_setUniformValue(JNIEnv* env, jobject thiz, jstring key, jobject value) argument 90 Java_android_filterfw_core_ShaderProgram_getUniformValue(JNIEnv* env, jobject thiz, jstring key) argument 98 Java_android_filterfw_core_ShaderProgram_shaderProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument 143 Java_android_filterfw_core_ShaderProgram_setSourceRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument 161 Java_android_filterfw_core_ShaderProgram_setTargetRegion(JNIEnv* env, jobject thiz, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument 179 Java_android_filterfw_core_ShaderProgram_setShaderClearsOutput(JNIEnv* env, jobject thiz, jboolean clears) argument 190 Java_android_filterfw_core_ShaderProgram_setShaderBlendEnabled(JNIEnv* env, jobject thiz, jboolean enable) argument 201 Java_android_filterfw_core_ShaderProgram_setShaderBlendFunc(JNIEnv* env, jobject thiz, jint sfactor, jint dfactor) argument 213 Java_android_filterfw_core_ShaderProgram_setShaderClearColor(JNIEnv* env, jobject thiz, jfloat r, jfloat g, jfloat b) argument 226 Java_android_filterfw_core_ShaderProgram_setShaderDrawMode(JNIEnv* env, jobject thiz, jint draw_mode) argument 237 Java_android_filterfw_core_ShaderProgram_setShaderTileCounts(JNIEnv* env, jobject thiz, jint x_count, jint y_count) argument 249 Java_android_filterfw_core_ShaderProgram_setShaderVertexCount(JNIEnv* env, jobject thiz, jint vertex_count) argument 260 Java_android_filterfw_core_ShaderProgram_beginShaderDrawing(JNIEnv* env, jobject thiz) argument 265 Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues( JNIEnv* env, jobject thiz, jstring attr_name, jfloatArray values, jint component_count) argument 294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument [all...] |
H A D | jni_shader_program.h | 30 jobject thiz, 36 Java_android_filterfw_core_ShaderProgram_deallocate(JNIEnv* env, jobject thiz); 39 Java_android_filterfw_core_ShaderProgram_compileAndLink(JNIEnv* env, jobject thiz); 43 jobject thiz, 49 jobject thiz, 54 jobject thiz, 65 jobject thiz, 77 jobject thiz, 89 jobject thiz, 94 jobject thiz, [all...] |
H A D | jni_gl_frame.cpp | 45 jobject thiz, 53 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 61 jobject thiz, 70 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 78 jobject thiz, 87 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 95 jobject thiz, 101 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 108 jboolean Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 109 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); 44 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, jobject thiz, jobject gl_env, jint width, jint height) argument 60 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument 77 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument 94 Java_android_filterfw_core_GLFrame_nativeAllocateExternal(JNIEnv* env, jobject thiz, jobject gl_env) argument 112 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 129 Java_android_filterfw_core_GLFrame_getNativeData(JNIEnv* env, jobject thiz) argument 141 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 158 Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz) argument 170 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 194 Java_android_filterfw_core_GLFrame_getNativeFloats(JNIEnv* env, jobject thiz) argument 216 Java_android_filterfw_core_GLFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size) argument 233 Java_android_filterfw_core_GLFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap) argument 248 Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, jobject thiz, jint x, jint y, jint width, jint height) argument 258 Java_android_filterfw_core_GLFrame_getNativeTextureId(JNIEnv* env, jobject thiz) argument 263 Java_android_filterfw_core_GLFrame_getNativeFboId(JNIEnv* env, jobject thiz) argument 268 Java_android_filterfw_core_GLFrame_generateNativeMipMap(JNIEnv* env, jobject thiz) argument 273 Java_android_filterfw_core_GLFrame_setNativeTextureParam(JNIEnv* env, jobject thiz, jint param, jint value) argument 281 Java_android_filterfw_core_GLFrame_nativeResetParams(JNIEnv* env, jobject thiz) argument 286 Java_android_filterfw_core_GLFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument 297 Java_android_filterfw_core_GLFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument 308 Java_android_filterfw_core_GLFrame_nativeFocus(JNIEnv* env, jobject thiz) argument 313 Java_android_filterfw_core_GLFrame_nativeReattachTexToFbo(JNIEnv* env, jobject thiz) argument 318 Java_android_filterfw_core_GLFrame_nativeDetachTexFromFbo(JNIEnv* env, jobject thiz) argument [all...] |
H A D | jni_native_buffer.h | 43 Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size); 46 Java_android_filterfw_core_NativeBuffer_deallocate(JNIEnv* env, jobject thiz, jboolean owns_data); 49 Java_android_filterfw_core_NativeBuffer_nativeCopyTo(JNIEnv* env, jobject thiz, jobject new_buffer);
|
H A D | jni_vertex_frame.cpp | 25 jobject thiz, 27 return ToJBool(WrapObjectInJava(new VertexFrame(size), env, thiz, true)); 30 jboolean Java_android_filterfw_core_VertexFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument 31 return ToJBool(DeleteNativeObject<VertexFrame>(env, thiz)); 35 jobject thiz, 38 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 53 jobject thiz, 55 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 70 jobject thiz, 74 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 24 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument 34 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument 52 Java_android_filterfw_core_VertexFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument 69 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument 87 Java_android_filterfw_core_VertexFrame_getNativeVboId(JNIEnv* env, jobject thiz) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDeviceVolume.c | 62 IDeviceVolume *thiz = (IDeviceVolume *) self; local 63 interface_lock_poke(thiz); 64 thiz->mVolume[~deviceID] = volume; 65 interface_unlock_poke(thiz); 94 IDeviceVolume *thiz = (IDeviceVolume *) self; local 95 interface_lock_peek(thiz); 96 SLint32 volume = thiz->mVolume[~deviceID]; 97 interface_unlock_peek(thiz); 120 IDeviceVolume *thiz = (IDeviceVolume *) self; local 121 thiz [all...] |
H A D | IEffectSend.c | 39 static struct EnableLevel *getEnableLevel(IEffectSend *thiz, const void *pAuxEffect) argument 42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 43 (CAudioPlayer *) thiz->mThis : NULL; 81 return &thiz->mEnableLevels[aux]; 121 IEffectSend *thiz = (IEffectSend *) self; local 122 struct EnableLevel *enableLevel = getEnableLevel(thiz, pAuxEffect); 126 interface_lock_exclusive(thiz); 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 134 (CAudioPlayer *) thiz->mThis : NULL; 154 interface_unlock_exclusive(thiz); 170 IEffectSend *thiz = (IEffectSend *) self; local 197 IEffectSend *thiz = (IEffectSend *) self; local 232 IEffectSend *thiz = (IEffectSend *) self; local 260 IEffectSend *thiz = (IEffectSend *) self; local 295 IEffectSend *thiz = (IEffectSend *) self; local 323 IEffectSend *thiz = (IEffectSend *) self; local [all...] |
H A D | IMuteSolo.c | 26 IMuteSolo *thiz = (IMuteSolo *) self; local 27 IObject *thisObject = thiz->mThis; 32 interface_lock_exclusive(thiz); 35 interface_unlock_exclusive(thiz); 38 interface_unlock_exclusive(thiz); 48 interface_unlock_exclusive_attributes(thiz, oldMuteMask != ap->mMuteMask ? ATTR_GAIN : 65 IMuteSolo *thiz = (IMuteSolo *) self; local 66 IObject *thisObject = thiz->mThis; 72 interface_lock_shared(thiz); 85 interface_unlock_shared(thiz); 98 IMuteSolo *thiz = (IMuteSolo *) self; local 137 IMuteSolo *thiz = (IMuteSolo *) self; local 173 IMuteSolo *thiz = (IMuteSolo *) self; local 202 IMuteSolo *thiz = (IMuteSolo *) self; local [all...] |
H A D | IStreamInformation.c | 32 IStreamInformation *thiz = (IStreamInformation *) self; local 33 interface_lock_shared(thiz); 35 *info = thiz->mStreamInfoTable.itemAt(0).containerInfo; 36 interface_unlock_shared(thiz); 70 IStreamInformation *thiz = (IStreamInformation *) self; local 72 interface_lock_shared(thiz); 74 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; 78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain; 85 interface_unlock_shared(thiz); 107 IStreamInformation *thiz 172 IStreamInformation *thiz = (IStreamInformation *) self; local 219 IStreamInformation *thiz = (IStreamInformation *) self; local 245 IStreamInformation *thiz = (IStreamInformation *) self; local 289 IStreamInformation *thiz = (IStreamInformation *) self; local 317 IStreamInformation *thiz = (IStreamInformation *) self; local [all...] |
H A D | I3DGrouping.c | 37 I3DGrouping *thiz = (I3DGrouping *) self; local 38 IObject *thisObject = InterfaceToIObject(thiz); 44 interface_lock_exclusive(thiz); 45 C3DGroup *oldGroup = thiz->mGroup; 66 thiz->mGroup = newGroup; 68 interface_unlock_exclusive(thiz); 82 I3DGrouping *thiz = (I3DGrouping *) self; local 83 interface_lock_shared(thiz); 84 C3DGroup *group = thiz->mGroup; 86 interface_unlock_shared(thiz); 101 I3DGrouping *thiz = (I3DGrouping *) self; local 108 I3DGrouping *thiz = (I3DGrouping *) self; local [all...] |
H A D | IOutputMix.c | 52 IOutputMix *thiz = (IOutputMix *) self; local 53 interface_lock_exclusive(thiz); 54 thiz->mCallback = callback; 55 thiz->mContext = pContext; 56 interface_unlock_exclusive(thiz); 94 IOutputMix *thiz = (IOutputMix *) self; local 95 thiz->mItf = &IOutputMix_Itf; 96 thiz->mCallback = NULL; 97 thiz->mContext = NULL;
|
H A D | IEngine.c | 113 CLEDDevice *thiz = (CLEDDevice *) construct(pCLEDDevice_class, exposedMask, self); local 114 if (NULL == thiz) { 117 thiz->mDeviceID = deviceID; 118 IObject_Publish(&thiz->mObject); 120 *pDevice = &thiz->mObject.mItf; 151 CVibraDevice *thiz = (CVibraDevice *) construct(pCVibraDevice_class, exposedMask, self); local 152 if (NULL == thiz) { 155 thiz->mDeviceID = deviceID; 156 IObject_Publish(&thiz->mObject); 158 *pDevice = &thiz 188 CAudioPlayer *thiz = (CAudioPlayer *) construct(pCAudioPlayer_class, exposedMask, self); local 428 CAudioRecorder *thiz = (CAudioRecorder *) construct(pCAudioRecorder_class, exposedMask, local 563 CMidiPlayer *thiz = (CMidiPlayer *) construct(pCMidiPlayer_class, exposedMask, self); local 609 CListener *thiz = (CListener *) construct(pCListener_class, exposedMask, self); local 646 C3DGroup *thiz = (C3DGroup *) construct(pC3DGroup_class, exposedMask, self); local 680 COutputMix *thiz = (COutputMix *) construct(pCOutputMix_class, exposedMask, self); local 735 CMetadataExtractor *thiz = (CMetadataExtractor *) local 976 IEngine *thiz = (IEngine *) self; local 1069 CMediaPlayer *thiz = (CMediaPlayer *) construct(pCMediaPlayer_class, exposedMask, local 1432 IXAEngine *thiz = (IXAEngine *) self; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 49 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, argument 53 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture); 55 surfaceTexture->incStrong(thiz); 58 p->decStrong(thiz); 60 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get()); 63 sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) argument 66 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture)); 71 JNIEnv* env, jobject thiz) 73 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); 79 bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz) argument 70 android_SurfaceTexture_getNativeWindow( JNIEnv* env, jobject thiz) argument 179 SurfaceTexture_init(JNIEnv* env, jobject thiz, jint texName, jobject weakThiz, jboolean allowSynchronous) argument 202 SurfaceTexture_finalize(JNIEnv* env, jobject thiz) argument 209 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument 216 SurfaceTexture_updateTexImage(JNIEnv* env, jobject thiz) argument 228 SurfaceTexture_detachFromGLContext(JNIEnv* env, jobject thiz) argument 234 SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument 240 SurfaceTexture_getTransformMatrix(JNIEnv* env, jobject thiz, jfloatArray jmtx) argument 249 SurfaceTexture_getTimestamp(JNIEnv* env, jobject thiz) argument 255 SurfaceTexture_release(JNIEnv* env, jobject thiz) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaRecorder.cpp | 45 extern sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, struct JNICameraContext** context); 64 JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 73 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument 78 jclass clazz = env->GetObjectClass(thiz); 130 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) argument 133 MediaRecorder* const p = (MediaRecorder*)env->GetIntField(thiz, fields.context); 137 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) argument 140 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context); 142 recorder->incStrong(thiz); 145 old->decStrong(thiz); 152 android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) argument 166 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) argument 178 android_media_MediaRecorder_setAudioSource(JNIEnv *env, jobject thiz, jint as) argument 191 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument 203 android_media_MediaRecorder_setVideoEncoder(JNIEnv *env, jobject thiz, jint ve) argument 215 android_media_MediaRecorder_setAudioEncoder(JNIEnv *env, jobject thiz, jint ae) argument 227 android_media_MediaRecorder_setParameter(JNIEnv *env, jobject thiz, jstring params) argument 250 android_media_MediaRecorder_setOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument 264 android_media_MediaRecorder_setVideoSize(JNIEnv *env, jobject thiz, jint width, jint height) argument 277 android_media_MediaRecorder_setVideoFrameRate(JNIEnv *env, jobject thiz, jint rate) argument 289 android_media_MediaRecorder_setMaxDuration(JNIEnv *env, jobject thiz, jint max_duration_ms) argument 301 android_media_MediaRecorder_setMaxFileSize( JNIEnv *env, jobject thiz, jlong max_filesize_bytes) argument 314 android_media_MediaRecorder_prepare(JNIEnv *env, jobject thiz) argument 340 android_media_MediaRecorder_native_getMaxAmplitude(JNIEnv *env, jobject thiz) argument 350 android_media_MediaRecorder_start(JNIEnv *env, jobject thiz) argument 358 android_media_MediaRecorder_stop(JNIEnv *env, jobject thiz) argument 366 android_media_MediaRecorder_native_reset(JNIEnv *env, jobject thiz) argument 374 android_media_MediaRecorder_release(JNIEnv *env, jobject thiz) argument 426 android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak_this) argument 447 android_media_MediaRecorder_native_finalize(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_media_MediaPlayer.cpp | 68 JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 77 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument 82 jclass clazz = env->GetObjectClass(thiz); 127 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) argument 130 MediaPlayer* const p = (MediaPlayer*)env->GetIntField(thiz, fields.context); 134 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) argument 137 sp<MediaPlayer> old = (MediaPlayer*)env->GetIntField(thiz, fields.context); 139 player->incStrong(thiz); 142 old->decStrong(thiz); 144 env->SetIntField(thiz, field 152 process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument 179 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jstring path, jobjectArray keys, jobjectArray values) argument 222 android_media_MediaPlayer_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument 240 getVideoSurfaceTexture(JNIEnv* env, jobject thiz) argument 246 decVideoSurfaceRef(JNIEnv *env, jobject thiz) argument 260 setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface, jboolean mediaPlayerMustBeAlive) argument 300 android_media_MediaPlayer_setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface) argument 306 android_media_MediaPlayer_prepare(JNIEnv *env, jobject thiz) argument 323 android_media_MediaPlayer_prepareAsync(JNIEnv *env, jobject thiz) argument 340 android_media_MediaPlayer_start(JNIEnv *env, jobject thiz) argument 352 android_media_MediaPlayer_stop(JNIEnv *env, jobject thiz) argument 364 android_media_MediaPlayer_pause(JNIEnv *env, jobject thiz) argument 376 android_media_MediaPlayer_isPlaying(JNIEnv *env, jobject thiz) argument 390 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, int msec) argument 402 android_media_MediaPlayer_getVideoWidth(JNIEnv *env, jobject thiz) argument 419 android_media_MediaPlayer_getVideoHeight(JNIEnv *env, jobject thiz) argument 437 android_media_MediaPlayer_getCurrentPosition(JNIEnv *env, jobject thiz) argument 451 android_media_MediaPlayer_getDuration(JNIEnv *env, jobject thiz) argument 465 android_media_MediaPlayer_reset(JNIEnv *env, jobject thiz) argument 477 android_media_MediaPlayer_setAudioStreamType(JNIEnv *env, jobject thiz, int streamtype) argument 489 android_media_MediaPlayer_setLooping(JNIEnv *env, jobject thiz, jboolean looping) argument 501 android_media_MediaPlayer_isLooping(JNIEnv *env, jobject thiz) argument 513 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, float leftVolume, float rightVolume) argument 526 android_media_MediaPlayer_getFrameAt(JNIEnv *env, jobject thiz, jint msec) argument 535 android_media_MediaPlayer_invoke(JNIEnv *env, jobject thiz, jobject java_request, jobject java_reply) argument 554 android_media_MediaPlayer_setMetadataFilter(JNIEnv *env, jobject thiz, jobject request) argument 573 android_media_MediaPlayer_getMetadata(JNIEnv *env, jobject thiz, jboolean update_only, jboolean apply_filter, jobject reply) argument 628 android_media_MediaPlayer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this) argument 646 android_media_MediaPlayer_release(JNIEnv *env, jobject thiz) argument 659 android_media_MediaPlayer_native_finalize(JNIEnv *env, jobject thiz) argument 669 android_media_MediaPlayer_set_audio_session_id(JNIEnv *env, jobject thiz, jint sessionId) argument 679 android_media_MediaPlayer_get_audio_session_id(JNIEnv *env, jobject thiz) argument 691 android_media_MediaPlayer_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level) argument 702 android_media_MediaPlayer_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument 713 android_media_MediaPlayer_pullBatteryData(JNIEnv *env, jobject thiz, jobject java_reply) argument 728 android_media_MediaPlayer_setRetransmitEndpoint(JNIEnv *env, jobject thiz, jstring addrString, jint port) argument 767 android_media_MediaPlayer_setParameter(JNIEnv *env, jobject thiz, jint key, jobject java_request) argument 786 android_media_MediaPlayer_getParameter(JNIEnv *env, jobject thiz, jint key, jobject java_reply) argument 800 android_media_MediaPlayer_setNextMediaPlayer(JNIEnv *env, jobject thiz, jobject java_player) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_ToneGenerator.cpp | 41 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jint durationMs) { argument 42 ALOGV("android_media_ToneGenerator_startTone: %x", (int)thiz); 44 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 54 static void android_media_ToneGenerator_stopTone(JNIEnv *env, jobject thiz) { argument 55 ALOGV("android_media_ToneGenerator_stopTone: %x", (int)thiz); 57 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 68 static jint android_media_ToneGenerator_getAudioSessionId(JNIEnv *env, jobject thiz) { argument 69 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 78 static void android_media_ToneGenerator_release(JNIEnv *env, jobject thiz) { argument 79 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 88 android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, jint streamType, jint volume) argument 115 android_media_ToneGenerator_native_finalize(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_hardware_UsbRequest.cpp | 42 android_hardware_UsbRequest_init(JNIEnv *env, jobject thiz, jobject java_device, argument 64 env->SetIntField(thiz, field_context, (int)request); 69 android_hardware_UsbRequest_close(JNIEnv *env, jobject thiz) argument 72 struct usb_request* request = get_request_from_object(env, thiz); 75 env->SetIntField(thiz, field_context, 0); 80 android_hardware_UsbRequest_queue_array(JNIEnv *env, jobject thiz, argument 83 struct usb_request* request = get_request_from_object(env, thiz); 112 request->client_data = (void *)env->NewGlobalRef(thiz); 118 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz, argument 121 struct usb_request* request = get_request_from_object(env, thiz); 137 android_hardware_UsbRequest_queue_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length, jboolean out) argument 168 android_hardware_UsbRequest_dequeue_direct(JNIEnv *env, jobject thiz) argument 181 android_hardware_UsbRequest_cancel(JNIEnv *env, jobject thiz) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | entry.c | 90 CEngine *thiz = theOneTrueEngine; local 91 if (NULL != thiz) { 101 object_lock_exclusive(&thiz->mObject); 105 SLuint8 *interfaceStateP = thiz->mObject.mInterfaceStates; 116 if ((NULL == expose) || (*expose)((char *) thiz + x->mOffset)) { 129 object_unlock_exclusive(&thiz->mObject); 131 *pEngine = &thiz->mObject.mItf; 143 thiz = (CEngine *) construct(pCEngine_class, exposedMask, NULL); 144 if (NULL == thiz) { 151 memset(&thiz [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.h | 111 jobject thiz); 117 jobject thiz, 123 jobject thiz, 133 jobject thiz, 141 jobject thiz, 150 jobject thiz, 158 jobject thiz, 164 jobject thiz, 173 jobject thiz,
|