/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool_SoundPoolImpl.cpp | 36 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { argument 37 return (SoundPool*)env->GetIntField(thiz, fields.mNativeContext); 42 android_media_SoundPool_SoundPoolImpl_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument 45 SoundPool *ap = MusterSoundPool(env, thiz); 57 android_media_SoundPool_SoundPoolImpl_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, argument 61 SoundPool *ap = MusterSoundPool(env, thiz); 68 android_media_SoundPool_SoundPoolImpl_unload(JNIEnv *env, jobject thiz, jint sampleID) { argument 70 SoundPool *ap = MusterSoundPool(env, thiz); 76 android_media_SoundPool_SoundPoolImpl_play(JNIEnv *env, jobject thiz, jint sampleID, argument 81 SoundPool *ap = MusterSoundPool(env, thiz); 87 android_media_SoundPool_SoundPoolImpl_pause(JNIEnv *env, jobject thiz, jint channelID) argument 96 android_media_SoundPool_SoundPoolImpl_resume(JNIEnv *env, jobject thiz, jint channelID) argument 105 android_media_SoundPool_SoundPoolImpl_autoPause(JNIEnv *env, jobject thiz) argument 114 android_media_SoundPool_SoundPoolImpl_autoResume(JNIEnv *env, jobject thiz) argument 123 android_media_SoundPool_SoundPoolImpl_stop(JNIEnv *env, jobject thiz, jint channelID) argument 132 android_media_SoundPool_SoundPoolImpl_setVolume(JNIEnv *env, jobject thiz, jint channelID, float leftVolume, float rightVolume) argument 142 android_media_SoundPool_SoundPoolImpl_setPriority(JNIEnv *env, jobject thiz, jint channelID, int priority) argument 152 android_media_SoundPool_SoundPoolImpl_setLoop(JNIEnv *env, jobject thiz, jint channelID, int loop) argument 162 android_media_SoundPool_SoundPoolImpl_setRate(JNIEnv *env, jobject thiz, jint channelID, float rate) argument 179 android_media_SoundPool_SoundPoolImpl_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint maxChannels, jint streamType, jint srcQuality) argument 197 android_media_SoundPool_SoundPoolImpl_release(JNIEnv *env, jobject thiz) argument [all...] |
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
H A D | jni_multiclass_pa.h | 28 jobject thiz, 36 jobject thiz, 41 jobject thiz, 49 jobject thiz,
|
/frameworks/wilhelm/src/objects/ |
H A D | COutputMix.c | 29 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 D | OutputMixExt.h | 46 extern SLresult IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz); 47 extern void audioPlayerGainUpdate(CAudioPlayer *thiz);
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_buffer.cpp | 53 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 D | jni_gl_environment.cpp | 65 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 D | jni_native_frame.cpp | 36 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 D | IAudioIODeviceCapabilities.c | 76 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 D | IDynamicInterfaceManagement.c | 29 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 D | IEngineCapabilities.c | 107 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 D | IOutputMixExt.c | 176 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...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 42 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 start, jint length, jint timeout) argument 169 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument 193 android_hardware_UsbDeviceConnection_request_wait(JNIEnv *env, jobject thiz) argument 209 android_hardware_UsbDeviceConnection_get_serial(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_media_AudioSystem.cpp | 56 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument 62 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) argument 70 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 78 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, argument 87 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument 95 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) argument 108 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument 135 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument 146 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument 156 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jin argument 162 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument 169 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument 175 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument 183 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 196 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument 212 android_media_AudioSystem_setMasterVolume(JNIEnv *env, jobject thiz, jfloat value) argument 218 android_media_AudioSystem_getMasterVolume(JNIEnv *env, jobject thiz) argument 228 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument 234 android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) argument 244 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument [all...] |
H A D | android_media_AudioRecord.cpp | 135 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) argument 139 (AudioRecord*)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); 143 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) argument 147 (AudioRecord*)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); 154 env->SetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (int)ar.get()); 160 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument 198 jclass clazz = env->GetObjectClass(thiz); 261 setAudioRecord(env, thiz, lpRecorder); 265 env->SetIntField(thiz, javaAudioRecordFields.nativeCallbackCookie, (int)lpCallbackData); 274 env->SetIntField(thiz, javaAudioRecordField 283 android_media_AudioRecord_start(JNIEnv *env, jobject thiz, jint event, jint triggerSession) argument 298 android_media_AudioRecord_stop(JNIEnv *env, jobject thiz) argument 314 android_media_AudioRecord_release(JNIEnv *env, jobject thiz) argument 349 android_media_AudioRecord_finalize(JNIEnv *env, jobject thiz) argument 355 android_media_AudioRecord_readInByteArray(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes) argument 397 android_media_AudioRecord_readInShortArray(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts) argument 411 android_media_AudioRecord_readInDirectBuffer(JNIEnv *env, jobject thiz, jobject jBuffer, jint sizeInBytes) argument 443 android_media_AudioRecord_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument 457 android_media_AudioRecord_get_marker_pos(JNIEnv *env, jobject thiz) argument 473 android_media_AudioRecord_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument 488 android_media_AudioRecord_get_pos_update_period(JNIEnv *env, jobject thiz) argument 507 android_media_AudioRecord_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument [all...] |
H A D | android_hardware_camera2_CameraMetadata.cpp | 112 static void CameraMetadata_classInit(JNIEnv *env, jobject thiz); 113 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName); 114 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag); 117 static CameraMetadata* CameraMetadata_getPointerNoThrow(JNIEnv *env, jobject thiz) { argument 119 if (thiz == NULL) { 123 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); 127 static CameraMetadata* CameraMetadata_getPointerThrow(JNIEnv *env, jobject thiz, argument 130 if (thiz == NULL) { 137 CameraMetadata* metadata = CameraMetadata_getPointerNoThrow(env, thiz); 149 static jlong CameraMetadata_allocate(JNIEnv *env, jobject thiz) { argument 155 CameraMetadata_allocateCopy(JNIEnv *env, jobject thiz, jobject other) argument 170 CameraMetadata_isEmpty(JNIEnv *env, jobject thiz) argument 189 CameraMetadata_getEntryCount(JNIEnv *env, jobject thiz) argument 200 CameraMetadata_close(JNIEnv *env, jobject thiz) argument 214 CameraMetadata_swap(JNIEnv *env, jobject thiz, jobject other) argument 230 CameraMetadata_readValues(JNIEnv *env, jobject thiz, jint tag) argument 267 CameraMetadata_writeValues(JNIEnv *env, jobject thiz, jint tag, jbyteArray src) argument 318 CameraMetadata_readFromParcel(JNIEnv *env, jobject thiz, jobject parcel) argument 339 CameraMetadata_writeToParcel(JNIEnv *env, jobject thiz, jobject parcel) argument 449 CameraMetadata_classInit(JNIEnv *env, jobject thiz) argument 465 CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName) argument 548 CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag) argument [all...] |
H A D | android_media_JetPlayer.cpp | 79 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); 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 D | android_media_AudioTrack.cpp | 173 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) argument 177 (AudioTrack*)env->GetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj); 181 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) argument 185 (AudioTrack*)env->GetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj); 192 env->SetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (int)at.get()); 198 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument 272 jclass clazz = env->GetObjectClass(thiz); 370 setAudioTrack(env, thiz, lpTrack); 374 env->SetIntField(thiz, javaAudioTrackFields.jniData, (int)lpJniStorage); 386 env->SetIntField(thiz, javaAudioTrackField 394 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) argument 409 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) argument 424 android_media_AudioTrack_pause(JNIEnv *env, jobject thiz) argument 439 android_media_AudioTrack_flush(JNIEnv *env, jobject thiz) argument 453 android_media_AudioTrack_set_volume(JNIEnv *env, jobject thiz, jfloat leftVol, jfloat rightVol ) argument 468 android_media_AudioTrack_native_release(JNIEnv *env, jobject thiz) argument 504 android_media_AudioTrack_native_finalize(JNIEnv *env, jobject thiz) argument 553 android_media_AudioTrack_native_write_byte(JNIEnv *env, jobject thiz, jbyteArray javaAudioData, jint offsetInBytes, jint sizeInBytes, jint javaAudioFormat) argument 594 android_media_AudioTrack_native_write_short(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts, jint javaAudioFormat) argument 610 android_media_AudioTrack_get_native_frame_count(JNIEnv *env, jobject thiz) argument 623 android_media_AudioTrack_set_playback_rate(JNIEnv *env, jobject thiz, jint sampleRateInHz) argument 636 android_media_AudioTrack_get_playback_rate(JNIEnv *env, jobject thiz) argument 648 android_media_AudioTrack_set_marker_pos(JNIEnv *env, jobject thiz, jint markerPos) argument 661 android_media_AudioTrack_get_marker_pos(JNIEnv *env, jobject thiz) argument 676 android_media_AudioTrack_set_pos_update_period(JNIEnv *env, jobject thiz, jint period) argument 689 android_media_AudioTrack_get_pos_update_period(JNIEnv *env, jobject thiz) argument 704 android_media_AudioTrack_set_position(JNIEnv *env, jobject thiz, jint position) argument 717 android_media_AudioTrack_get_position(JNIEnv *env, jobject thiz) argument 732 android_media_AudioTrack_get_latency(JNIEnv *env, jobject thiz) argument 745 android_media_AudioTrack_get_timestamp(JNIEnv *env, jobject thiz, jlongArray jTimestamp) argument 769 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument 782 android_media_AudioTrack_reload(JNIEnv *env, jobject thiz) argument 794 android_media_AudioTrack_get_output_sample_rate(JNIEnv *env, jobject thiz, jint javaStreamType) argument 829 android_media_AudioTrack_get_min_buff_size(JNIEnv *env, jobject thiz, jint sampleRateInHertz, jint nbChannels, jint audioFormat) argument 842 android_media_AudioTrack_setAuxEffectSendLevel(JNIEnv *env, jobject thiz, jfloat level ) argument 855 android_media_AudioTrack_attachAuxEffect(JNIEnv *env, jobject thiz, jint effectId) argument [all...] |
H A D | android_hardware_SerialPort.cpp | 36 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 D | android_hardware_Camera.cpp | 112 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 490 jclass clazz = env->GetObjectClass(thiz); 503 env->SetIntField(thiz, fields.context, (int)context.get()); 510 static void android_hardware_Camera_release(JNIEnv *env, jobject thiz) argument 518 context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context)); 521 env->SetIntField(thiz, field 541 android_hardware_Camera_setPreviewDisplay(JNIEnv *env, jobject thiz, jobject jSurface) argument 561 android_hardware_Camera_setPreviewTexture(JNIEnv *env, jobject thiz, jobject jSurfaceTexture) argument 585 android_hardware_Camera_setPreviewCallbackSurface(JNIEnv *env, jobject thiz, jobject jSurface) argument 609 android_hardware_Camera_startPreview(JNIEnv *env, jobject thiz) argument 621 android_hardware_Camera_stopPreview(JNIEnv *env, jobject thiz) argument 630 android_hardware_Camera_previewEnabled(JNIEnv *env, jobject thiz) argument 639 android_hardware_Camera_setHasPreviewCallback(JNIEnv *env, jobject thiz, jboolean installed, jboolean manualBuffer) argument 654 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) argument 664 android_hardware_Camera_autoFocus(JNIEnv *env, jobject thiz) argument 676 android_hardware_Camera_cancelAutoFocus(JNIEnv *env, jobject thiz) argument 688 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType) argument 719 android_hardware_Camera_setParameters(JNIEnv *env, jobject thiz, jstring params) argument 737 android_hardware_Camera_getParameters(JNIEnv *env, jobject thiz) argument 751 android_hardware_Camera_reconnect(JNIEnv *env, jobject thiz) argument 763 android_hardware_Camera_lock(JNIEnv *env, jobject thiz) argument 774 android_hardware_Camera_unlock(JNIEnv *env, jobject thiz) argument 785 android_hardware_Camera_startSmoothZoom(JNIEnv *env, jobject thiz, jint value) argument 801 android_hardware_Camera_stopSmoothZoom(JNIEnv *env, jobject thiz) argument 812 android_hardware_Camera_setDisplayOrientation(JNIEnv *env, jobject thiz, jint value) argument 824 android_hardware_Camera_enableShutterSound(JNIEnv *env, jobject thiz, jboolean enabled) argument 843 android_hardware_Camera_startFaceDetection(JNIEnv *env, jobject thiz, jint type) argument 861 android_hardware_Camera_stopFaceDetection(JNIEnv *env, jobject thiz) argument 872 android_hardware_Camera_enableFocusMoveCallback(JNIEnv *env, jobject thiz, jint enable) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 40 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 D | android_mtp_MtpServer.cpp | 55 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 D | android_media_MediaScanner.cpp | 227 static MediaScanner *getNativeScanner_l(JNIEnv* env, jobject thiz) argument 229 return (MediaScanner *) env->GetIntField(thiz, fields.context); 232 static void setNativeScanner_l(JNIEnv* env, jobject thiz, MediaScanner *s) argument 234 env->SetIntField(thiz, fields.context, (int)s); 239 JNIEnv *env, jobject thiz, jstring path, jobject client) 242 MediaScanner *mp = getNativeScanner_l(env, thiz); 268 JNIEnv *env, jobject thiz, jstring path, 274 MediaScanner *mp = getNativeScanner_l(env, thiz); 311 JNIEnv *env, jobject thiz, jstring locale) 314 MediaScanner *mp = getNativeScanner_l(env, thiz); 238 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 267 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument 310 android_media_MediaScanner_setLocale( JNIEnv *env, jobject thiz, jstring locale) argument 334 android_media_MediaScanner_extractAlbumArt( JNIEnv *env, jobject thiz, jobject fileDescriptor) argument 391 android_media_MediaScanner_native_setup(JNIEnv *env, jobject thiz) argument 405 android_media_MediaScanner_native_finalize(JNIEnv *env, jobject thiz) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.h | 32 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 D | android_media_Visualizer.cpp | 232 static Visualizer *getVisualizer(JNIEnv* env, jobject thiz) argument 235 thiz, fields.fidNativeVisualizer); 337 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument 394 env->SetIntField(thiz, fields.fidNativeVisualizer, (int)lpVisualizer); 396 env->SetIntField(thiz, fields.fidJniData, (int)lpJniStorage); 410 env->SetIntField(thiz, fields.fidNativeVisualizer, 0); 415 env->SetIntField(thiz, fields.fidJniData, 0); 421 static void android_media_visualizer_native_finalize(JNIEnv *env, jobject thiz) { argument 422 ALOGV("android_media_visualizer_native_finalize jobject: %x\n", (int)thiz); 426 thiz, field 442 android_media_visualizer_native_release(JNIEnv *env, jobject thiz) argument 453 android_media_visualizer_native_setEnabled(JNIEnv *env, jobject thiz, jboolean enabled) argument 474 android_media_visualizer_native_getEnabled(JNIEnv *env, jobject thiz) argument 485 android_media_visualizer_native_getCaptureSizeRange(JNIEnv *env, jobject thiz) argument 497 android_media_visualizer_native_getMaxCaptureRate(JNIEnv *env, jobject thiz) argument 503 android_media_visualizer_native_setCaptureSize(JNIEnv *env, jobject thiz, jint size) argument 514 android_media_visualizer_native_getCaptureSize(JNIEnv *env, jobject thiz) argument 524 android_media_visualizer_native_setScalingMode(JNIEnv *env, jobject thiz, jint mode) argument 535 android_media_visualizer_native_getScalingMode(JNIEnv *env, jobject thiz) argument 545 android_media_visualizer_native_setMeasurementMode(JNIEnv *env, jobject thiz, jint mode) argument 555 android_media_visualizer_native_getMeasurementMode(JNIEnv *env, jobject thiz) argument 565 android_media_visualizer_native_getSamplingRate(JNIEnv *env, jobject thiz) argument 575 android_media_visualizer_native_getWaveForm(JNIEnv *env, jobject thiz, jbyteArray jWaveform) argument 593 android_media_visualizer_native_getFft(JNIEnv *env, jobject thiz, jbyteArray jFft) argument 612 android_media_visualizer_native_getPeakRms(JNIEnv *env, jobject thiz, jobject jPeakRmsObj) argument 631 android_media_setPeriodicCapture(JNIEnv *env, jobject thiz, jint rate, jboolean jWaveform, jboolean jFft) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | RtpStream.cpp | 38 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);
|