Searched refs:thiz (Results 76 - 100 of 157) sorted by relevance

1234567

/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp82 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, argument
86 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture);
93 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get());
96 static void SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, argument
100 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer);
107 env->SetLongField(thiz, fields.producer, (jlong)producer.get());
111 jobject thiz, sp<GLConsumer::FrameAvailableListener> listener)
115 env->GetLongField(thiz, fields.frameAvailableListener);
122 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get());
125 sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { argument
110 SurfaceTexture_setFrameAvailableListener(JNIEnv* env, jobject thiz, sp<GLConsumer::FrameAvailableListener> listener) argument
129 SurfaceTexture_getProducer(JNIEnv* env, jobject thiz) argument
133 android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz) argument
140 android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz) argument
258 SurfaceTexture_init(JNIEnv* env, jobject thiz, jboolean isDetached, jint texName, jboolean singleBufferMode, jobject weakThiz) argument
307 SurfaceTexture_finalize(JNIEnv* env, jobject thiz) argument
316 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument
322 SurfaceTexture_updateTexImage(JNIEnv* env, jobject thiz) argument
334 SurfaceTexture_releaseTexImage(JNIEnv* env, jobject thiz) argument
346 SurfaceTexture_detachFromGLContext(JNIEnv* env, jobject thiz) argument
352 SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument
358 SurfaceTexture_getTransformMatrix(JNIEnv* env, jobject thiz, jfloatArray jmtx) argument
367 SurfaceTexture_getTimestamp(JNIEnv* env, jobject thiz) argument
373 SurfaceTexture_release(JNIEnv* env, jobject thiz) argument
379 SurfaceTexture_isReleased(JNIEnv* env, jobject thiz) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp52 extern sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, struct JNICameraContext** context);
71 JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
80 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
85 jclass clazz = env->GetObjectClass(thiz);
142 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) argument
145 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context);
149 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) argument
152 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context);
154 recorder->incStrong(thiz);
157 old->decStrong(thiz);
164 android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) argument
186 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) argument
202 android_media_MediaRecorder_setAudioSource(JNIEnv *env, jobject thiz, jint as) argument
220 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument
236 android_media_MediaRecorder_setVideoEncoder(JNIEnv *env, jobject thiz, jint ve) argument
252 android_media_MediaRecorder_setAudioEncoder(JNIEnv *env, jobject thiz, jint ae) argument
268 android_media_MediaRecorder_setParameter(JNIEnv *env, jobject thiz, jstring params) argument
295 android_media_MediaRecorder_setOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor) argument
313 android_media_MediaRecorder_setNextOutputFileFD(JNIEnv *env, jobject thiz, jobject fileDescriptor) argument
331 android_media_MediaRecorder_setVideoSize(JNIEnv *env, jobject thiz, jint width, jint height) argument
348 android_media_MediaRecorder_setVideoFrameRate(JNIEnv *env, jobject thiz, jint rate) argument
364 android_media_MediaRecorder_setMaxDuration(JNIEnv *env, jobject thiz, jint max_duration_ms) argument
380 android_media_MediaRecorder_setMaxFileSize( JNIEnv *env, jobject thiz, jlong max_filesize_bytes) argument
397 android_media_MediaRecorder_prepare(JNIEnv *env, jobject thiz) argument
427 android_media_MediaRecorder_native_getMaxAmplitude(JNIEnv *env, jobject thiz) argument
441 android_media_MediaRecorder_getSurface(JNIEnv *env, jobject thiz) argument
465 android_media_MediaRecorder_start(JNIEnv *env, jobject thiz) argument
477 android_media_MediaRecorder_stop(JNIEnv *env, jobject thiz) argument
489 android_media_MediaRecorder_pause(JNIEnv *env, jobject thiz) argument
501 android_media_MediaRecorder_resume(JNIEnv *env, jobject thiz) argument
513 android_media_MediaRecorder_native_reset(JNIEnv *env, jobject thiz) argument
525 android_media_MediaRecorder_release(JNIEnv *env, jobject thiz) argument
572 android_media_MediaRecorder_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jstring packageName, jstring opPackageName) argument
608 android_media_MediaRecorder_native_finalize(JNIEnv *env, jobject thiz) argument
614 android_media_MediaRecorder_setInputSurface( JNIEnv* env, jobject thiz, jobject object) argument
631 android_media_MediaRecorder_native_getMetrics(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_media_MediaPlayer.cpp107 JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
116 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) argument
121 jclass clazz = env->GetObjectClass(thiz);
167 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) argument
170 MediaPlayer* const p = (MediaPlayer*)env->GetLongField(thiz, fields.context);
174 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) argument
177 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context);
184 env->SetLongField(thiz, fields.context, (jlong)player.get());
192 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) argument
196 sp<MediaPlayer> mp = getMediaPlayer(env, thiz);
221 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
271 android_media_MediaPlayer_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument
289 android_media_MediaPlayer_setDataSourceCallback(JNIEnv *env, jobject thiz, jobject dataSource) argument
306 getVideoSurfaceTexture(JNIEnv* env, jobject thiz) argument
312 decVideoSurfaceRef(JNIEnv *env, jobject thiz) argument
326 setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface, jboolean mediaPlayerMustBeAlive) argument
366 android_media_MediaPlayer_setVideoSurface(JNIEnv *env, jobject thiz, jobject jsurface) argument
372 android_media_MediaPlayer_getDefaultBufferingParams(JNIEnv *env, jobject thiz) argument
391 android_media_MediaPlayer_getBufferingParams(JNIEnv *env, jobject thiz) argument
410 android_media_MediaPlayer_setBufferingParams(JNIEnv *env, jobject thiz, jobject params) argument
432 android_media_MediaPlayer_prepare(JNIEnv *env, jobject thiz) argument
449 android_media_MediaPlayer_prepareAsync(JNIEnv *env, jobject thiz) argument
466 android_media_MediaPlayer_start(JNIEnv *env, jobject thiz) argument
478 android_media_MediaPlayer_stop(JNIEnv *env, jobject thiz) argument
490 android_media_MediaPlayer_pause(JNIEnv *env, jobject thiz) argument
502 android_media_MediaPlayer_isPlaying(JNIEnv *env, jobject thiz) argument
516 android_media_MediaPlayer_setPlaybackParams(JNIEnv *env, jobject thiz, jobject params) argument
562 android_media_MediaPlayer_getPlaybackParams(JNIEnv *env, jobject thiz) argument
587 android_media_MediaPlayer_setSyncParams(JNIEnv *env, jobject thiz, jobject params) argument
630 android_media_MediaPlayer_getSyncParams(JNIEnv *env, jobject thiz) argument
665 android_media_MediaPlayer_seekTo(JNIEnv *env, jobject thiz, jlong msec, jint mode) argument
677 android_media_MediaPlayer_getVideoWidth(JNIEnv *env, jobject thiz) argument
694 android_media_MediaPlayer_getVideoHeight(JNIEnv *env, jobject thiz) argument
711 android_media_MediaPlayer_native_getMetrics(JNIEnv *env, jobject thiz) argument
739 android_media_MediaPlayer_getCurrentPosition(JNIEnv *env, jobject thiz) argument
753 android_media_MediaPlayer_getDuration(JNIEnv *env, jobject thiz) argument
767 android_media_MediaPlayer_reset(JNIEnv *env, jobject thiz) argument
779 android_media_MediaPlayer_setAudioStreamType(JNIEnv *env, jobject thiz, jint streamtype) argument
791 android_media_MediaPlayer_getAudioStreamType(JNIEnv *env, jobject thiz) argument
805 android_media_MediaPlayer_setParameter(JNIEnv *env, jobject thiz, jint key, jobject java_request) argument
824 android_media_MediaPlayer_setLooping(JNIEnv *env, jobject thiz, jboolean looping) argument
836 android_media_MediaPlayer_isLooping(JNIEnv *env, jobject thiz) argument
848 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolume) argument
862 android_media_MediaPlayer_invoke(JNIEnv *env, jobject thiz, jobject java_request, jobject java_reply) argument
881 android_media_MediaPlayer_setMetadataFilter(JNIEnv *env, jobject thiz, jobject request) argument
900 android_media_MediaPlayer_getMetadata(JNIEnv *env, jobject thiz, jboolean update_only, jboolean apply_filter, jobject reply) argument
995 android_media_MediaPlayer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this) argument
1013 android_media_MediaPlayer_release(JNIEnv *env, jobject thiz) argument
1026 android_media_MediaPlayer_native_finalize(JNIEnv *env, jobject thiz) argument
1036 android_media_MediaPlayer_set_audio_session_id(JNIEnv *env, jobject thiz, jint sessionId) argument
1048 android_media_MediaPlayer_get_audio_session_id(JNIEnv *env, jobject thiz) argument
1060 android_media_MediaPlayer_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level) argument
1071 android_media_MediaPlayer_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument
1098 android_media_MediaPlayer_setRetransmitEndpoint(JNIEnv *env, jobject thiz, jstring addrString, jint port) argument
1137 android_media_MediaPlayer_setNextMediaPlayer(JNIEnv *env, jobject thiz, jobject java_player) argument
1164 android_media_MediaPlayer_applyVolumeShaper(JNIEnv *env, jobject thiz, jobject jconfig, jobject joperation) argument
1194 android_media_MediaPlayer_getVolumeShaperState(JNIEnv *env, jobject thiz, jint id) argument
1303 android_media_MediaPlayer_prepareDrm(JNIEnv *env, jobject thiz, jbyteArray uuidObj, jbyteArray drmSessionIdObj) argument
1355 android_media_MediaPlayer_releaseDrm(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_mtp_MtpServer.cpp55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { argument
56 return (MtpServer*)env->GetLongField(thiz, field_MtpServer_nativeContext);
64 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jboolean usePtp, argument
92 env->SetLongField(thiz, field_MtpServer_nativeContext, (jlong)server);
96 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz) argument
98 MtpServer* server = getMtpServer(env, thiz);
106 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz) argument
110 MtpServer* server = getMtpServer(env, thiz);
113 env->SetLongField(thiz, field_MtpServer_nativeContext, 0);
120 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jin argument
132 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) argument
144 android_mtp_MtpServer_send_device_property_changed(JNIEnv *env, jobject thiz, jint property) argument
156 android_mtp_MtpServer_add_storage(JNIEnv *env, jobject thiz, jobject jstorage) argument
188 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) argument
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp35 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { argument
36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext);
50 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, argument
54 SoundPool *ap = MusterSoundPool(env, thiz);
61 android_media_SoundPool_unload(JNIEnv *env, jobject thiz, jint sampleID) { argument
63 SoundPool *ap = MusterSoundPool(env, thiz);
69 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, argument
74 SoundPool *ap = MusterSoundPool(env, thiz);
80 android_media_SoundPool_pause(JNIEnv *env, jobject thiz, jint channelID) argument
83 SoundPool *ap = MusterSoundPool(env, thiz);
89 android_media_SoundPool_resume(JNIEnv *env, jobject thiz, jint channelID) argument
98 android_media_SoundPool_autoPause(JNIEnv *env, jobject thiz) argument
107 android_media_SoundPool_autoResume(JNIEnv *env, jobject thiz) argument
116 android_media_SoundPool_stop(JNIEnv *env, jobject thiz, jint channelID) argument
125 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, jfloat leftVolume, jfloat rightVolume) argument
135 android_media_SoundPool_mute(JNIEnv *env, jobject thiz, jboolean muting) argument
144 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, jint priority) argument
154 android_media_SoundPool_setLoop(JNIEnv *env, jobject thiz, jint channelID, int loop) argument
164 android_media_SoundPool_setRate(JNIEnv *env, jobject thiz, jint channelID, jfloat rate) argument
181 android_media_SoundPool_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint maxChannels, jobject jaa) argument
223 android_media_SoundPool_release(JNIEnv *env, jobject thiz) argument
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfUtils.h45 jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size);
46 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr);
48 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr);
49 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr);
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_hardware_camera2_CameraMetadata.h29 status_t CameraMetadata_getNativeMetadata(JNIEnv* env, jobject thiz,
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
H A Djni_multiclass_pa.h28 jobject thiz,
36 jobject thiz,
41 jobject thiz,
49 jobject thiz,
/frameworks/wilhelm/src/objects/
H A DCOutputMix.cpp29 COutputMix *thiz = (COutputMix *) self; local
30 result = android_outputMix_realize(thiz, async);
50 COutputMix *thiz = (COutputMix *) self; local
51 android_outputMix_destroy(thiz);
/frameworks/wilhelm/src/desktop/
H A DOutputMixExt.h46 extern SLresult IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz);
47 extern void audioPlayerGainUpdate(CAudioPlayer *thiz);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_buffer.cpp53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { argument
55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size));
59 jobject thiz,
62 char* data = GetJBufferData(env, thiz, NULL);
69 jobject thiz,
73 char* source_data = GetJBufferData(env, thiz, &size);
58 Java_android_filterfw_core_NativeBuffer_deallocate(JNIEnv* env, jobject thiz, jboolean owns_data) argument
68 Java_android_filterfw_core_NativeBuffer_nativeCopyTo(JNIEnv* env, jobject thiz, jobject new_buffer) argument
H A Djni_gl_environment.cpp65 jboolean Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz) { argument
67 return ToJBool(WrapOwnedObjectInJava(std::move(glEnv), env, thiz, true));
70 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { argument
71 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz));
75 jobject thiz) {
76 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
81 jobject thiz) {
82 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
86 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { argument
87 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
74 Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, jobject thiz) argument
80 Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, jobject thiz) argument
91 Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz) argument
101 Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz) argument
106 Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz) argument
111 Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz) argument
134 Java_android_filterfw_core_GLEnvironment_nativeAddSurface(JNIEnv* env, jobject thiz, jobject surface) argument
194 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument
269 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder( JNIEnv* env, jobject thiz, jobject jmediarecorder) argument
358 Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument
365 Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument
372 Java_android_filterfw_core_GLEnvironment_nativeSetSurfaceTimestamp(JNIEnv* env, jobject thiz, jlong timestamp) argument
[all...]
H A Djni_native_frame.cpp36 jobject thiz,
39 return ToJBool(WrapOwnedObjectInJava(std::move(frame), env, thiz, true));
42 jboolean Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument
43 return ToJBool(DeleteNativeObject<NativeFrame>(env, thiz));
55 jobject thiz,
59 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz);
74 jobject thiz,
76 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz);
89 jobject thiz,
91 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz);
35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
54 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
73 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument
88 Java_android_filterfw_core_NativeFrame_getNativeBuffer(JNIEnv* env, jobject thiz, jobject buffer) argument
99 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument
117 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument
133 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument
151 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument
167 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
217 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
269 Java_android_filterfw_core_NativeFrame_getNativeCapacity(JNIEnv* env, jobject thiz) argument
274 Java_android_filterfw_core_NativeFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument
285 Java_android_filterfw_core_NativeFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIAudioIODeviceCapabilities.cpp76 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local
77 interface_lock_exclusive(thiz);
78 thiz->mAvailableAudioInputsChangedCallback = callback;
79 thiz->mAvailableAudioInputsChangedContext = pContext;
80 interface_unlock_exclusive(thiz);
146 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local
147 interface_lock_exclusive(thiz);
148 thiz->mAvailableAudioOutputsChangedCallback = callback;
149 thiz->mAvailableAudioOutputsChangedContext = pContext;
150 interface_unlock_exclusive(thiz);
163 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local
315 IAudioIODeviceCapabilities *thiz = (IAudioIODeviceCapabilities *) self; local
[all...]
H A DIDynamicInterfaceManagement.cpp29 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local
30 assert(NULL != thiz);
31 IObject *thisObject = InterfaceToIObject(thiz);
92 slDynamicInterfaceManagementCallback callback = thiz->mCallback;
93 void *context = thiz->mContext;
99 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid);
114 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local
115 IObject *thisObject = InterfaceToIObject(thiz);
138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz,
210 IDynamicInterfaceManagement *thiz local
285 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local
362 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local
445 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local
466 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local
[all...]
H A DIEngineCapabilities.cpp107 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local
114 if (index >= thiz->mMaxIndexLED) {
124 *pIndex = thiz->mMaxIndexLED;
129 for (index = 0; index < thiz->mMaxIndexLED; ++index) {
149 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local
156 if (index >= thiz->mMaxIndexVibra) {
166 *pIndex = thiz->mMaxIndexVibra;
171 for (index = 0; index < thiz->mMaxIndexVibra; ++index) {
194 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local
195 *pIsThreadSafe = thiz
215 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local
[all...]
H A DIAndroidConfiguration.cpp38 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
39 interface_lock_exclusive(thiz);
42 switch (IObjectToObjectID((thiz)->mThis)) {
46 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey,
52 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey,
60 interface_unlock_exclusive(thiz);
79 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
80 interface_lock_exclusive(thiz);
83 switch (IObjectToObjectID((thiz)->mThis)) {
85 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz
387 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
393 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp47 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, argument
59 env->SetLongField(thiz, field_context, (jlong)device);
70 android_hardware_UsbDeviceConnection_close(JNIEnv *env, jobject thiz) argument
73 struct usb_device* device = get_device_from_object(env, thiz);
76 env->SetLongField(thiz, field_context, 0);
81 android_hardware_UsbDeviceConnection_get_fd(JNIEnv *env, jobject thiz) argument
83 struct usb_device* device = get_device_from_object(env, thiz);
92 android_hardware_UsbDeviceConnection_get_desc(JNIEnv *env, jobject thiz) argument
95 int fd = android_hardware_UsbDeviceConnection_get_fd(env, thiz);
113 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, argument
132 android_hardware_UsbDeviceConnection_release_interface(JNIEnv *env, jobject thiz, jint interfaceID) argument
148 android_hardware_UsbDeviceConnection_set_interface(JNIEnv *env, jobject thiz, jint interfaceID, jint alternateSetting) argument
161 android_hardware_UsbDeviceConnection_set_configuration(JNIEnv *env, jobject thiz, jint configurationID) argument
173 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument
199 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument
223 android_hardware_UsbDeviceConnection_request_wait(JNIEnv *env, jobject thiz, jlong timeoutMillis) argument
270 android_hardware_UsbDeviceConnection_get_serial(JNIEnv *env, jobject thiz) argument
287 android_hardware_UsbDeviceConnection_reset_device(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_hardware_UsbRequest.cpp42 android_hardware_UsbRequest_init(JNIEnv *env, jobject thiz, jobject java_device, argument
64 env->SetLongField(thiz, field_context, (jlong)request);
69 android_hardware_UsbRequest_close(JNIEnv *env, jobject thiz) argument
72 struct usb_request* request = get_request_from_object(env, thiz);
75 env->SetLongField(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);
104 request->client_data = (void *)env->NewGlobalRef(thiz);
119 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz, argument
122 struct usb_request* request = get_request_from_object(env, thiz);
138 android_hardware_UsbRequest_queue_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length, jboolean out) argument
170 android_hardware_UsbRequest_queue(JNIEnv *env, jobject thiz, jobject buffer, jint offset, jint length) argument
202 android_hardware_UsbRequest_dequeue_direct(JNIEnv *env, jobject thiz) argument
215 android_hardware_UsbRequest_cancel(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_os_HwBinder.h31 JNIEnv *env, jobject thiz, const sp<JHwBinder> &context);
33 static sp<JHwBinder> GetNativeContext(JNIEnv *env, jobject thiz);
35 JHwBinder(JNIEnv *env, jobject thiz);
H A Dandroid_media_JetPlayer.cpp79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
90 env->SetLongField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (jlong)lpJet);
103 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) argument
107 thiz, javaJetPlayerFields.nativePlayerInJavaObj);
119 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) argument
121 android_media_JetPlayer_finalize(env, thiz);
122 env->SetLongField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, 0);
129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument
132 thiz, javaJetPlayerFields.nativePlayerInJavaObj);
165 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, argument
196 android_media_JetPlayer_closeFile(JNIEnv *env, jobject thiz) argument
218 android_media_JetPlayer_play(JNIEnv *env, jobject thiz) argument
242 android_media_JetPlayer_pause(JNIEnv *env, jobject thiz) argument
270 android_media_JetPlayer_queueSegment(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jint muteFlags, jbyte userID) argument
297 android_media_JetPlayer_queueSegmentMuteArray(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jbooleanArray muteArray, jbyte userID) argument
344 android_media_JetPlayer_setMuteFlags(JNIEnv *env, jobject thiz, jint muteFlags , jboolean bSync) argument
369 android_media_JetPlayer_setMuteArray(JNIEnv *env, jobject thiz, jbooleanArray muteArray, jboolean bSync) argument
415 android_media_JetPlayer_setMuteFlag(JNIEnv *env, jobject thiz, jint trackId, jboolean muteFlag, jboolean bSync) argument
442 android_media_JetPlayer_triggerClip(JNIEnv *env, jobject thiz, jint clipId) argument
467 android_media_JetPlayer_clearQueue(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_media_AudioTrack.cpp172 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) argument
176 (AudioTrack*)env->GetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
180 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) argument
184 (AudioTrack*)env->GetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
191 env->SetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (jlong)at.get());
220 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jaa, argument
250 jclass clazz = env->GetObjectClass(thiz);
431 setAudioTrack(env, thiz, lpTrack);
435 env->SetLongField(thiz, javaAudioTrackFields.jniData, (jlong)lpJniStorage);
439 env->SetIntField(thiz, javaAudioTrackField
468 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) argument
483 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) argument
498 android_media_AudioTrack_pause(JNIEnv *env, jobject thiz) argument
513 android_media_AudioTrack_flush(JNIEnv *env, jobject thiz) argument
527 android_media_AudioTrack_set_volume(JNIEnv *env, jobject thiz, jfloat leftVol, jfloat rightVol ) argument
542 android_media_AudioTrack_release(JNIEnv *env, jobject thiz) argument
577 android_media_AudioTrack_finalize(JNIEnv *env, jobject thiz) argument
655 android_media_AudioTrack_writeArray(JNIEnv *env, jobject thiz, T javaAudioData, jint offsetInSamples, jint sizeInSamples, jint javaAudioFormat, jboolean isWriteBlocking) argument
697 android_media_AudioTrack_write_native_bytes(JNIEnv *env, jobject thiz, jbyteArray javaBytes, jint byteOffset, jint sizeInBytes, jint javaAudioFormat, jboolean isWriteBlocking) argument
722 android_media_AudioTrack_get_buffer_size_frames(JNIEnv *env, jobject thiz) argument
740 android_media_AudioTrack_set_buffer_size_frames(JNIEnv *env, jobject thiz, jint bufferSizeInFrames) argument
764 android_media_AudioTrack_get_buffer_capacity_frames(JNIEnv *env, jobject thiz) argument
776 android_media_AudioTrack_set_playback_rate(JNIEnv *env, jobject thiz, jint sampleRateInHz) argument
789 android_media_AudioTrack_get_playback_rate(JNIEnv *env, jobject thiz) argument
801 android_media_AudioTrack_set_playback_params(JNIEnv *env, jobject thiz, jobject params) argument
849 android_media_AudioTrack_get_playback_params(JNIEnv *env, jobject thiz, jobject params) argument
869 android_media_AudioTrack_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument
882 android_media_AudioTrack_get_marker_pos(JNIEnv *env, jobject thiz) argument
897 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
910 android_media_AudioTrack_get_pos_update_period(JNIEnv *env, jobject thiz) argument
925 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument
938 android_media_AudioTrack_get_position(JNIEnv *env, jobject thiz) argument
953 android_media_AudioTrack_get_latency(JNIEnv *env, jobject thiz) argument
965 android_media_AudioTrack_get_underrun_count(JNIEnv *env, jobject thiz) argument
977 android_media_AudioTrack_get_flags(JNIEnv *env, jobject thiz) argument
989 android_media_AudioTrack_get_timestamp(JNIEnv *env, jobject thiz, jlongArray jTimestamp) argument
1013 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument
1026 android_media_AudioTrack_reload(JNIEnv *env, jobject thiz) argument
1038 android_media_AudioTrack_get_output_sample_rate(JNIEnv *env, jobject thiz, jint javaStreamType) argument
1074 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint channelCount, jint audioFormat) argument
1096 android_media_AudioTrack_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level ) argument
1114 android_media_AudioTrack_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument
1125 android_media_AudioTrack_setOutputDevice( JNIEnv *env, jobject thiz, jint device_id) argument
1135 android_media_AudioTrack_getRoutedDeviceId( JNIEnv *env, jobject thiz) argument
1145 android_media_AudioTrack_enableDeviceCallback( JNIEnv *env, jobject thiz) argument
1163 android_media_AudioTrack_disableDeviceCallback( JNIEnv *env, jobject thiz) argument
1179 android_media_AudioTrack_get_FCC_8(JNIEnv *env, jobject thiz) argument
1184 android_media_AudioTrack_apply_volume_shaper(JNIEnv *env, jobject thiz, jobject jconfig, jobject joperation) argument
1214 android_media_AudioTrack_get_volume_shaper_state(JNIEnv *env, jobject thiz, jint id) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.h32 JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray);
36 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp233 static sp<Visualizer> getVisualizer(JNIEnv* env, jobject thiz) argument
237 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer);
241 static sp<Visualizer> setVisualizer(JNIEnv* env, jobject thiz, argument
246 (Visualizer*)env->GetLongField(thiz, fields.fidNativeVisualizer);
253 env->SetLongField(thiz, fields.fidNativeVisualizer, (jlong)v.get());
351 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
362 setVisualizer(env, thiz, 0);
413 setVisualizer(env, thiz, lpVisualizer);
415 env->SetLongField(thiz, fields.fidJniData, (jlong)lpJniStorage);
431 env->SetLongField(thiz, field
437 android_media_visualizer_native_release(JNIEnv *env, jobject thiz) argument
460 android_media_visualizer_native_finalize(JNIEnv *env, jobject thiz) argument
467 android_media_visualizer_native_setEnabled(JNIEnv *env, jobject thiz, jboolean enabled) argument
488 android_media_visualizer_native_getEnabled(JNIEnv *env, jobject thiz) argument
521 android_media_visualizer_native_setCaptureSize(JNIEnv *env, jobject thiz, jint size) argument
532 android_media_visualizer_native_getCaptureSize(JNIEnv *env, jobject thiz) argument
542 android_media_visualizer_native_setScalingMode(JNIEnv *env, jobject thiz, jint mode) argument
553 android_media_visualizer_native_getScalingMode(JNIEnv *env, jobject thiz) argument
563 android_media_visualizer_native_setMeasurementMode(JNIEnv *env, jobject thiz, jint mode) argument
573 android_media_visualizer_native_getMeasurementMode(JNIEnv *env, jobject thiz) argument
583 android_media_visualizer_native_getSamplingRate(JNIEnv *env, jobject thiz) argument
593 android_media_visualizer_native_getWaveForm(JNIEnv *env, jobject thiz, jbyteArray jWaveform) argument
611 android_media_visualizer_native_getFft(JNIEnv *env, jobject thiz, jbyteArray jFft) argument
630 android_media_visualizer_native_getPeakRms(JNIEnv *env, jobject thiz, jobject jPeakRmsObj) argument
649 android_media_setPeriodicCapture(JNIEnv *env, jobject thiz, jint rate, jboolean jWaveform, jboolean jFft) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DRtpStream.cpp38 jint create(JNIEnv *env, jobject thiz, jstring jAddress) argument
40 env->SetIntField(thiz, gSocket, -1);
61 env->SetIntField(thiz, gSocket, socket);
78 env->SetIntField(thiz, gSocket, socket);
89 void close(JNIEnv *env, jobject thiz) argument
91 int socket = env->GetIntField(thiz, gSocket);
93 env->SetIntField(thiz, gSocket, -1);

Completed in 1907 milliseconds

1234567