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

12345

/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp36 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { argument
37 return (SoundPool*)env->GetIntField(thiz, fields.mNativeContext);
42 android_media_SoundPool_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument
45 SoundPool *ap = MusterSoundPool(env, thiz);
57 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, argument
61 SoundPool *ap = MusterSoundPool(env, thiz);
68 android_media_SoundPool_unload(JNIEnv *env, jobject thiz, jint sampleID) { argument
70 SoundPool *ap = MusterSoundPool(env, thiz);
76 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, argument
81 SoundPool *ap = MusterSoundPool(env, thiz);
87 android_media_SoundPool_pause(JNIEnv *env, jobject thiz, jint channelID) argument
96 android_media_SoundPool_resume(JNIEnv *env, jobject thiz, jint channelID) argument
105 android_media_SoundPool_autoPause(JNIEnv *env, jobject thiz) argument
114 android_media_SoundPool_autoResume(JNIEnv *env, jobject thiz) argument
123 android_media_SoundPool_stop(JNIEnv *env, jobject thiz, jint channelID) argument
132 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, float leftVolume, float rightVolume) argument
142 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, int priority) argument
152 android_media_SoundPool_setLoop(JNIEnv *env, jobject thiz, jint channelID, int loop) argument
162 android_media_SoundPool_setRate(JNIEnv *env, jobject thiz, jint channelID, float rate) argument
179 android_media_SoundPool_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint maxChannels, jint streamType, jint srcQuality) argument
197 android_media_SoundPool_release(JNIEnv *env, jobject thiz) argument
[all...]
/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.c29 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
66 return ToJBool(WrapObjectInJava(new GLEnv(), env, thiz, true));
69 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { argument
70 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz));
74 jobject thiz) {
75 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
80 jobject thiz) {
81 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
85 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { argument
86 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
73 Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, jobject thiz) argument
79 Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, jobject thiz) argument
90 Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz) argument
100 Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz) argument
105 Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz) argument
110 Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz) argument
133 Java_android_filterfw_core_GLEnvironment_nativeAddSurface(JNIEnv* env, jobject thiz, jobject surface) argument
193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument
268 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder( JNIEnv* env, jobject thiz, jobject jmediarecorder) argument
357 Java_android_filterfw_core_GLEnvironment_nativeActivateSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument
364 Java_android_filterfw_core_GLEnvironment_nativeRemoveSurfaceId(JNIEnv* env, jobject thiz, jint surfaceId) argument
371 Java_android_filterfw_core_GLEnvironment_nativeSetSurfaceTimestamp(JNIEnv* env, jobject thiz, jlong timestamp) argument
[all...]
H A Djni_native_frame.cpp36 jobject thiz,
38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true));
41 jboolean Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { argument
42 return ToJBool(DeleteNativeObject<NativeFrame>(env, thiz));
54 jobject thiz,
58 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz);
73 jobject thiz,
75 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz);
88 jobject thiz,
90 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz);
35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
72 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument
87 Java_android_filterfw_core_NativeFrame_getNativeBuffer(JNIEnv* env, jobject thiz, jobject buffer) argument
98 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints) argument
116 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument
132 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray floats) argument
150 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument
166 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
216 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
268 Java_android_filterfw_core_NativeFrame_getNativeCapacity(JNIEnv* env, jobject thiz) argument
273 Java_android_filterfw_core_NativeFrame_nativeCopyFromNative(JNIEnv* env, jobject thiz, jobject frame) argument
284 Java_android_filterfw_core_NativeFrame_nativeCopyFromGL(JNIEnv* env, jobject thiz, jobject frame) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIAudioIODeviceCapabilities.c76 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.c29 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.c107 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 DIOutputMixExt.c176 IOutputMixExt *thiz = (IOutputMixExt *) self; local
177 IObject *thisObject = thiz->mThis;
182 if (thiz->mDestroyRequested) {
190 thiz->mDestroyRequested = SL_BOOLEAN_FALSE;
194 activeMask = thiz->mActiveMask;
200 Track *track = &thiz->mTracks[i];
341 IOutputMixExt *thiz = (IOutputMixExt *) self; local
342 thiz->mItf = &IOutputMixExt_Itf;
343 thiz->mActiveMask = 0;
344 Track *track = &thiz
355 IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument
[all...]
H A DIAudioDecoderCapabilities.c67 IAudioDecoderCapabilities *thiz = (IAudioDecoderCapabilities *) self; local
68 thiz->mItf = &IAudioDecoderCapabilities_Itf;
H A DIAudioEncoderCapabilities.c68 IAudioEncoderCapabilities *thiz = (IAudioEncoderCapabilities *) self; local
69 thiz->mItf = &IAudioEncoderCapabilities_Itf;
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp227 static Visualizer *getVisualizer(JNIEnv* env, jobject thiz) argument
230 thiz, fields.fidNativeVisualizer);
307 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
364 env->SetIntField(thiz, fields.fidNativeVisualizer, (int)lpVisualizer);
366 env->SetIntField(thiz, fields.fidJniData, (int)lpJniStorage);
380 env->SetIntField(thiz, fields.fidNativeVisualizer, 0);
385 env->SetIntField(thiz, fields.fidJniData, 0);
391 static void android_media_visualizer_native_finalize(JNIEnv *env, jobject thiz) { argument
392 ALOGV("android_media_visualizer_native_finalize jobject: %x\n", (int)thiz);
396 thiz, field
412 android_media_visualizer_native_release(JNIEnv *env, jobject thiz) argument
423 android_media_visualizer_native_setEnabled(JNIEnv *env, jobject thiz, jboolean enabled) argument
444 android_media_visualizer_native_getEnabled(JNIEnv *env, jobject thiz) argument
455 android_media_visualizer_native_getCaptureSizeRange(JNIEnv *env, jobject thiz) argument
467 android_media_visualizer_native_getMaxCaptureRate(JNIEnv *env, jobject thiz) argument
473 android_media_visualizer_native_setCaptureSize(JNIEnv *env, jobject thiz, jint size) argument
484 android_media_visualizer_native_getCaptureSize(JNIEnv *env, jobject thiz) argument
494 android_media_visualizer_native_setScalingMode(JNIEnv *env, jobject thiz, jint mode) argument
505 android_media_visualizer_native_getScalingMode(JNIEnv *env, jobject thiz) argument
515 android_media_visualizer_native_getSamplingRate(JNIEnv *env, jobject thiz) argument
525 android_media_visualizer_native_getWaveForm(JNIEnv *env, jobject thiz, jbyteArray jWaveform) argument
543 android_media_visualizer_native_getFft(JNIEnv *env, jobject thiz, jbyteArray jFft) argument
562 android_media_setPeriodicCapture(JNIEnv *env, jobject thiz, jint rate, jboolean jWaveform, jboolean jFft) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp42 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, argument
54 env->SetIntField(thiz, field_context, (int)device);
65 android_hardware_UsbDeviceConnection_close(JNIEnv *env, jobject thiz) argument
68 struct usb_device* device = get_device_from_object(env, thiz);
71 env->SetIntField(thiz, field_context, 0);
76 android_hardware_UsbDeviceConnection_get_fd(JNIEnv *env, jobject thiz) argument
78 struct usb_device* device = get_device_from_object(env, thiz);
87 android_hardware_UsbDeviceConnection_get_desc(JNIEnv *env, jobject thiz) argument
90 int fd = android_hardware_UsbDeviceConnection_get_fd(env, thiz);
108 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, argument
127 android_hardware_UsbDeviceConnection_release_interface(JNIEnv *env, jobject thiz, int interfaceID) argument
143 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint length, jint timeout) argument
172 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint length, jint timeout) argument
199 android_hardware_UsbDeviceConnection_request_wait(JNIEnv *env, jobject thiz) argument
215 android_hardware_UsbDeviceConnection_get_serial(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_media_AudioRecord.cpp143 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) argument
147 (AudioRecord*)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj);
151 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) argument
155 (AudioRecord*)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj);
157 ar->incStrong(thiz);
160 old->decStrong(thiz);
162 env->SetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (int)ar.get());
168 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
205 jclass clazz = env->GetObjectClass(thiz);
272 setAudioRecord(env, thiz, lpRecorde
294 android_media_AudioRecord_start(JNIEnv *env, jobject thiz, jint event, jint triggerSession) argument
309 android_media_AudioRecord_stop(JNIEnv *env, jobject thiz) argument
325 android_media_AudioRecord_release(JNIEnv *env, jobject thiz) argument
360 android_media_AudioRecord_finalize(JNIEnv *env, jobject thiz) argument
366 android_media_AudioRecord_readInByteArray(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes) argument
405 android_media_AudioRecord_readInShortArray(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts) argument
416 android_media_AudioRecord_readInDirectBuffer(JNIEnv *env, jobject thiz, jobject jBuffer, jint sizeInBytes) argument
444 android_media_AudioRecord_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument
458 android_media_AudioRecord_get_marker_pos(JNIEnv *env, jobject thiz) argument
474 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
489 android_media_AudioRecord_get_pos_update_period(JNIEnv *env, jobject thiz) argument
508 android_media_AudioRecord_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument
[all...]
H A Dandroid_media_AudioSystem.cpp57 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
63 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) argument
71 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument
79 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument
87 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) argument
100 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument
139 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument
150 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument
160 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument
166 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jin argument
173 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument
179 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument
187 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument
200 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument
216 android_media_AudioSystem_setMasterVolume(JNIEnv *env, jobject thiz, jfloat value) argument
222 android_media_AudioSystem_getMasterVolume(JNIEnv *env, jobject thiz) argument
232 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument
238 android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) argument
248 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument
[all...]
H A Dandroid_media_JetPlayer.cpp79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
90 env->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (int)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->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, 0);
129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument
132 thiz, javaJetPlayerFields.nativePlayerInJavaObj);
164 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, argument
194 android_media_JetPlayer_closeFile(JNIEnv *env, jobject thiz) argument
215 android_media_JetPlayer_play(JNIEnv *env, jobject thiz) argument
238 android_media_JetPlayer_pause(JNIEnv *env, jobject thiz) argument
265 android_media_JetPlayer_queueSegment(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jint muteFlags, jbyte userID) argument
291 android_media_JetPlayer_queueSegmentMuteArray(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jbooleanArray muteArray, jbyte userID) argument
337 android_media_JetPlayer_setMuteFlags(JNIEnv *env, jobject thiz, jint muteFlags , jboolean bSync) argument
361 android_media_JetPlayer_setMuteArray(JNIEnv *env, jobject thiz, jbooleanArray muteArray, jboolean bSync) argument
406 android_media_JetPlayer_setMuteFlag(JNIEnv *env, jobject thiz, jint trackId, jboolean muteFlag, jboolean bSync) argument
432 android_media_JetPlayer_triggerClip(JNIEnv *env, jobject thiz, jint clipId) argument
456 android_media_JetPlayer_clearQueue(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_hardware_SerialPort.cpp36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed) argument
142 env->SetIntField(thiz, field_context, fd);
161 android_hardware_SerialPort_close(JNIEnv *env, jobject thiz) argument
163 int fd = env->GetIntField(thiz, field_context);
165 env->SetIntField(thiz, field_context, -1);
169 android_hardware_SerialPort_read_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length) argument
171 int fd = env->GetIntField(thiz, field_context);
191 android_hardware_SerialPort_read_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length) argument
193 int fd = env->GetIntField(thiz, field_context);
208 android_hardware_SerialPort_write_array(JNIEnv *env, jobject thiz, jbyteArra argument
225 android_hardware_SerialPort_write_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length) argument
240 android_hardware_SerialPort_send_break(JNIEnv *env, jobject thiz) argument
[all...]
H A Dandroid_media_AudioTrack.cpp178 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) argument
182 (AudioTrack*)env->GetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
186 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) argument
190 (AudioTrack*)env->GetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
192 at->incStrong(thiz);
195 old->decStrong(thiz);
197 env->SetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (int)at.get());
203 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument
276 jclass clazz = env->GetObjectClass(thiz);
371 setAudioTrack(env, thiz, lpTrac
395 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) argument
410 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) argument
425 android_media_AudioTrack_pause(JNIEnv *env, jobject thiz) argument
440 android_media_AudioTrack_flush(JNIEnv *env, jobject thiz) argument
454 android_media_AudioTrack_set_volume(JNIEnv *env, jobject thiz, jfloat leftVol, jfloat rightVol ) argument
469 android_media_AudioTrack_native_release(JNIEnv *env, jobject thiz) argument
505 android_media_AudioTrack_native_finalize(JNIEnv *env, jobject thiz) argument
550 android_media_AudioTrack_native_write_byte(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes, jint javaAudioFormat) argument
591 android_media_AudioTrack_native_write_short(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts, jint javaAudioFormat) argument
604 android_media_AudioTrack_get_native_frame_count(JNIEnv *env, jobject thiz) argument
617 android_media_AudioTrack_set_playback_rate(JNIEnv *env, jobject thiz, jint sampleRateInHz) argument
630 android_media_AudioTrack_get_playback_rate(JNIEnv *env, jobject thiz) argument
642 android_media_AudioTrack_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument
655 android_media_AudioTrack_get_marker_pos(JNIEnv *env, jobject thiz) argument
670 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument
683 android_media_AudioTrack_get_pos_update_period(JNIEnv *env, jobject thiz) argument
698 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument
711 android_media_AudioTrack_get_position(JNIEnv *env, jobject thiz) argument
726 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument
739 android_media_AudioTrack_reload(JNIEnv *env, jobject thiz) argument
751 android_media_AudioTrack_get_output_sample_rate(JNIEnv *env, jobject thiz, jint javaStreamType) argument
786 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument
799 android_media_AudioTrack_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level ) argument
812 android_media_AudioTrack_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument
[all...]
H A Dandroid_hardware_Camera.cpp112 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext) argument
116 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context));
442 static jint android_hardware_Camera_getNumberOfCameras(JNIEnv *env, jobject thiz) argument
447 static void android_hardware_Camera_getCameraInfo(JNIEnv *env, jobject thiz, argument
467 static void android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, argument
483 jclass clazz = env->GetObjectClass(thiz);
492 context->incStrong(thiz);
496 env->SetIntField(thiz, fields.context, (int)context.get());
503 static void android_hardware_Camera_release(JNIEnv *env, jobject thiz) argument
511 context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, field
534 android_hardware_Camera_setPreviewDisplay(JNIEnv *env, jobject thiz, jobject jSurface) argument
549 android_hardware_Camera_setPreviewTexture(JNIEnv *env, jobject thiz, jobject jSurfaceTexture) argument
577 android_hardware_Camera_startPreview(JNIEnv *env, jobject thiz) argument
589 android_hardware_Camera_stopPreview(JNIEnv *env, jobject thiz) argument
598 android_hardware_Camera_previewEnabled(JNIEnv *env, jobject thiz) argument
607 android_hardware_Camera_setHasPreviewCallback(JNIEnv *env, jobject thiz, jboolean installed, jboolean manualBuffer) argument
622 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) argument
632 android_hardware_Camera_autoFocus(JNIEnv *env, jobject thiz) argument
644 android_hardware_Camera_cancelAutoFocus(JNIEnv *env, jobject thiz) argument
656 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType) argument
687 android_hardware_Camera_setParameters(JNIEnv *env, jobject thiz, jstring params) argument
705 android_hardware_Camera_getParameters(JNIEnv *env, jobject thiz) argument
719 android_hardware_Camera_reconnect(JNIEnv *env, jobject thiz) argument
731 android_hardware_Camera_lock(JNIEnv *env, jobject thiz) argument
742 android_hardware_Camera_unlock(JNIEnv *env, jobject thiz) argument
753 android_hardware_Camera_startSmoothZoom(JNIEnv *env, jobject thiz, jint value) argument
769 android_hardware_Camera_stopSmoothZoom(JNIEnv *env, jobject thiz) argument
780 android_hardware_Camera_setDisplayOrientation(JNIEnv *env, jobject thiz, jint value) argument
792 android_hardware_Camera_enableShutterSound(JNIEnv *env, jobject thiz, jboolean enabled) argument
811 android_hardware_Camera_startFaceDetection(JNIEnv *env, jobject thiz, jint type) argument
829 android_hardware_Camera_stopFaceDetection(JNIEnv *env, jobject thiz) argument
840 android_hardware_Camera_enableFocusMoveCallback(JNIEnv *env, jobject thiz, jint enable) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { argument
41 return (JCrypto *)env->GetIntField(thiz, gFields.context);
45 JNIEnv *env, jobject thiz,
47 mObject = env->NewWeakGlobalRef(thiz);
148 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) {
149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context);
151 crypto->incStrong(thiz);
154 old->decStrong(thiz);
156 env->SetIntField(thiz, gFields.context, (int)crypto.get());
161 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) { argument
44 JCrypto( JNIEnv *env, jobject thiz, const uint8_t uuid[16], const void *initData, size_t initSize) argument
147 setCrypto( JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) argument
173 android_media_MediaCrypto_native_setup( JNIEnv *env, jobject thiz, jbyteArray uuidObj, jbyteArray initDataObj) argument
221 android_media_MediaCrypto_native_finalize( JNIEnv *env, jobject thiz) argument
226 android_media_MediaCrypto_isCryptoSchemeSupportedNative( JNIEnv *env, jobject thiz, jbyteArray uuidObj) argument
249 android_media_MediaCrypto_requiresSecureDecoderComponent( JNIEnv *env, jobject thiz, jstring mimeObj) argument
[all...]
H A Dandroid_mtp_MtpServer.cpp55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { argument
56 return (MtpServer*)env->GetIntField(thiz, field_MtpServer_nativeContext);
60 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jboolean usePtp) argument
66 env->SetIntField(thiz, field_MtpServer_nativeContext, (int)server);
73 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz) argument
75 MtpServer* server = getMtpServer(env, thiz);
83 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz) argument
87 MtpServer* server = getMtpServer(env, thiz);
90 env->SetIntField(thiz, field_MtpServer_nativeContext, 0);
97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jin argument
109 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) argument
121 android_mtp_MtpServer_add_storage(JNIEnv *env, jobject thiz, jobject jstorage) argument
153 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) argument
[all...]
H A Dandroid_media_MediaScanner.cpp183 static MediaScanner *getNativeScanner_l(JNIEnv* env, jobject thiz) argument
185 return (MediaScanner *) env->GetIntField(thiz, fields.context);
188 static void setNativeScanner_l(JNIEnv* env, jobject thiz, MediaScanner *s) argument
190 env->SetIntField(thiz, fields.context, (int)s);
195 JNIEnv *env, jobject thiz, jstring path, jobject client)
198 MediaScanner *mp = getNativeScanner_l(env, thiz);
224 JNIEnv *env, jobject thiz, jstring path,
230 MediaScanner *mp = getNativeScanner_l(env, thiz);
267 JNIEnv *env, jobject thiz, jstring locale)
270 MediaScanner *mp = getNativeScanner_l(env, thiz);
194 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument
223 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument
266 android_media_MediaScanner_setLocale( JNIEnv *env, jobject thiz, jstring locale) argument
290 android_media_MediaScanner_extractAlbumArt( JNIEnv *env, jobject thiz, jobject fileDescriptor) argument
347 android_media_MediaScanner_native_setup(JNIEnv *env, jobject thiz) argument
361 android_media_MediaScanner_native_finalize(JNIEnv *env, jobject thiz) argument
[all...]
/frameworks/base/voip/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 374 milliseconds

12345