/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_frame.h | 27 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, 34 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, 42 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, 50 Java_android_filterfw_core_GLFrame_nativeAllocateExternal(JNIEnv* env, 55 Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 58 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 61 Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz); 64 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 67 Java_android_filterfw_core_GLFrame_getNativeFloats(JNIEnv* env, jobject thiz); 70 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, [all...] |
H A D | jni_vertex_frame.h | 27 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_VertexFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 36 Java_android_filterfw_core_VertexFrame_setNativeFloats(JNIEnv* env, 41 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, 48 Java_android_filterfw_core_VertexFrame_getNativeVboId(JNIEnv* env, jobject thiz);
|
H A D | jni_native_frame.h | 27 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_NativeFrame_nativeIntSize(JNIEnv* env, jclass clazz); 36 Java_android_filterfw_core_NativeFrame_nativeFloatSize(JNIEnv* env, jclass clazz); 39 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 42 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size); 45 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 48 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size); 51 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, 58 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobjec [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 135 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 136 if (user != NULL && env != NULL) { 137 env->CallStaticVoidMethod( 141 if (env->ExceptionCheck()) { 142 env->ExceptionDescribe(); 143 env->ExceptionClear(); 149 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 150 if (user != NULL && env != NULL) { 151 env->CallStaticVoidMethod( 155 if (env 172 getAudioTrack(JNIEnv* env, jobject thiz) argument 180 setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) argument 196 android_media_AudioTrack_getAudioTrack(JNIEnv* env, jobject audioTrackObj) argument 220 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jaa, jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession, jlong nativeAudioTrack) argument 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 584 envGetArrayElements(JNIEnv *env, jbyteArray array, jboolean *isCopy) argument 589 envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) argument 594 envGetArrayElements(JNIEnv *env, jshortArray array, jboolean *isCopy) argument 599 envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) argument 604 envGetArrayElements(JNIEnv *env, jfloatArray array, jboolean *isCopy) argument 609 envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) 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 1324 register_android_media_AudioTrack(JNIEnv *env) argument [all...] |
H A D | android_hardware_UsbRequest.cpp | 33 struct usb_request* get_request_from_object(JNIEnv* env, jobject java_request) argument 35 return (struct usb_request*)env->GetLongField(java_request, field_context); 39 extern struct usb_device* get_device_from_object(JNIEnv* env, jobject connection); 42 android_hardware_UsbRequest_init(JNIEnv *env, jobject thiz, jobject java_device, argument 47 struct usb_device* device = get_device_from_object(env, java_device); 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, jobjec argument 119 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length, jboolean out) argument 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 239 register_android_hardware_UsbRequest(JNIEnv *env) argument [all...] |
H A D | android_view_MotionEvent.cpp | 68 MotionEvent* android_view_MotionEvent_getNativePtr(JNIEnv* env, jobject eventObj) { argument 73 env->GetLongField(eventObj, gMotionEventClassInfo.mNativePtr)); 76 static void android_view_MotionEvent_setNativePtr(JNIEnv* env, jobject eventObj, argument 78 env->SetLongField(eventObj, gMotionEventClassInfo.mNativePtr, 82 jobject android_view_MotionEvent_obtainAsCopy(JNIEnv* env, const MotionEvent* event) { argument 83 jobject eventObj = env->CallStaticObjectMethod(gMotionEventClassInfo.clazz, 85 if (env->ExceptionCheck() || !eventObj) { 87 LOGE_EX(env); 88 env->ExceptionClear(); 92 MotionEvent* destEvent = android_view_MotionEvent_getNativePtr(env, eventOb 102 android_view_MotionEvent_recycle(JNIEnv* env, jobject eventObj) argument 117 validatePointerCount(JNIEnv* env, jint pointerCount) argument 126 validatePointerPropertiesArray(JNIEnv* env, jobjectArray pointerPropertiesObjArray, size_t pointerCount) argument 142 validatePointerCoordsObjArray(JNIEnv* env, jobjectArray pointerCoordsObjArray, size_t pointerCount) argument 158 validatePointerIndex(JNIEnv* env, jint pointerIndex, size_t pointerCount) argument 167 validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) argument 176 validatePointerCoords(JNIEnv* env, jobject pointerCoordsObj) argument 185 validatePointerProperties(JNIEnv* env, jobject pointerPropertiesObj) argument 194 pointerCoordsToNative(JNIEnv* env, jobject pointerCoordsObj, float xOffset, float yOffset, PointerCoords* outRawPointerCoords) argument 237 obtainPackedAxisValuesArray(JNIEnv* env, uint32_t minSize, jobject outPointerCoordsObj) argument 258 pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, float xOffset, float yOffset, jobject outPointerCoordsObj) argument 314 pointerPropertiesToNative(JNIEnv* env, jobject pointerPropertiesObj, PointerProperties* outPointerProperties) argument 323 pointerPropertiesFromNative(JNIEnv* env, const PointerProperties* pointerProperties, jobject outPointerPropertiesObj) argument 334 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jlong nativePtr, jint deviceId, jint source, jint action, jint flags, jint edgeFlags, jint metaState, jint buttonState, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, jobjectArray pointerPropertiesObjArray, jobjectArray pointerCoordsObjArray) argument 386 android_view_MotionEvent_nativeDispose(JNIEnv* env, jclass clazz, jlong nativePtr) argument 392 android_view_MotionEvent_nativeAddBatch(JNIEnv* env, jclass clazz, jlong nativePtr, jlong eventTimeNanos, jobjectArray pointerCoordsObjArray, jint metaState) argument 418 android_view_MotionEvent_nativeGetPointerCoords(JNIEnv* env, jclass clazz, jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) argument 441 android_view_MotionEvent_nativeGetPointerProperties(JNIEnv* env, jclass clazz, jlong nativePtr, jint pointerIndex, jobject outPointerPropertiesObj) argument 454 android_view_MotionEvent_nativeReadFromParcel(JNIEnv* env, jclass clazz, jlong nativePtr, jobject parcelObj) argument 474 android_view_MotionEvent_nativeWriteToParcel(JNIEnv* env, jclass clazz, jlong nativePtr, jobject parcelObj) argument 485 android_view_MotionEvent_nativeAxisToString(JNIEnv* env, jclass clazz, jint axis) argument 490 android_view_MotionEvent_nativeAxisFromString(JNIEnv* env, jclass clazz, jstring label) argument 498 android_view_MotionEvent_nativeGetPointerId(JNIEnv* env, jclass clazz, jlong nativePtr, jint pointerIndex) argument 508 android_view_MotionEvent_nativeGetToolType(JNIEnv* env, jclass clazz, jlong nativePtr, jint pointerIndex) argument 518 android_view_MotionEvent_nativeGetEventTimeNanos(JNIEnv* env, jclass clazz, jlong nativePtr, jint historyPos) argument 532 android_view_MotionEvent_nativeGetRawAxisValue(JNIEnv* env, jclass clazz, jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) argument 552 android_view_MotionEvent_nativeGetAxisValue(JNIEnv* env, jclass clazz, jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) argument 869 register_android_view_MotionEvent(JNIEnv* env) argument [all...] |
H A D | android_app_Activity.cpp | 28 static jstring getDlWarning_native(JNIEnv* env, jobject) { argument 36 return msg.empty() ? nullptr : env->NewStringUTF(msg.c_str()); 47 int register_android_app_Activity(JNIEnv* env) { argument 48 return RegisterMethodsOrDie(env, kActivityPathName, g_methods, NELEM(g_methods));
|
H A D | android_media_JetPlayer.cpp | 58 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 59 if (env) { 60 env->CallStaticVoidMethod( 64 if (env->ExceptionCheck()) { 65 env->ExceptionDescribe(); 66 env->ExceptionClear(); 69 ALOGE("JET jetPlayerEventCallback(): No JNI env for JET event callback, can't post event."); 79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument 83 JetPlayer* lpJet = new JetPlayer(env->NewGlobalRef(weak_this), maxTracks, trackBufferSize); 90 env 103 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) argument 119 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) argument 129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument 165 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) 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 518 register_android_media_JetPlayer(JNIEnv *env) argument [all...] |
H A D | android_os_SystemProperties.cpp | 30 static jstring SystemProperties_getSS(JNIEnv *env, jobject clazz, argument 39 jniThrowNullPointerException(env, "key must not be null."); 43 key = env->GetStringUTFChars(keyJ, NULL); 49 rvJ = env->NewStringUTF(buf); 51 rvJ = env->NewStringUTF(""); 54 env->ReleaseStringUTFChars(keyJ, key); 60 static jstring SystemProperties_getS(JNIEnv *env, jobject clazz, argument 63 return SystemProperties_getSS(env, clazz, keyJ, NULL); 66 static jint SystemProperties_get_int(JNIEnv *env, jobject clazz, argument 76 jniThrowNullPointerException(env, "ke 96 SystemProperties_get_long(JNIEnv *env, jobject clazz, jstring keyJ, jlong defJ) argument 126 SystemProperties_get_boolean(JNIEnv *env, jobject clazz, jstring keyJ, jboolean defJ) argument 162 SystemProperties_set(JNIEnv *env, jobject clazz, jstring keyJ, jstring valJ) argument 202 JNIEnv* env; local 210 SystemProperties_add_change_callback(JNIEnv *env, jobject clazz) argument 247 register_android_os_SystemProperties(JNIEnv *env) argument [all...] |
H A D | android_view_InputDevice.h | 27 extern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
|
H A D | android_view_KeyCharacterMap.cpp | 71 jobject android_view_KeyCharacterMap_create(JNIEnv* env, int32_t deviceId, argument 79 return env->NewObject(gKeyCharacterMapClassInfo.clazz, gKeyCharacterMapClassInfo.ctor, 83 static jlong nativeReadFromParcel(JNIEnv *env, jobject clazz, jobject parcelObj) { argument 84 Parcel* parcel = parcelForJavaObject(env, parcelObj); 103 static void nativeWriteToParcel(JNIEnv* env, jobject clazz, jlong ptr, jobject parcelObj) { argument 105 Parcel* parcel = parcelForJavaObject(env, parcelObj); 112 static void nativeDispose(JNIEnv *env, jobject clazz, jlong ptr) { argument 117 static jchar nativeGetCharacter(JNIEnv *env, jobject clazz, jlong ptr, argument 123 static jboolean nativeGetFallbackAction(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, argument 130 env 138 nativeGetNumber(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) argument 143 nativeGetMatch(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode, jcharArray charsArray, jint metaState) argument 161 nativeGetDisplayLabel(JNIEnv *env, jobject clazz, jlong ptr, jint keyCode) argument 166 nativeGetKeyboardType(JNIEnv *env, jobject clazz, jlong ptr) argument 171 nativeGetEvents(JNIEnv *env, jobject clazz, jlong ptr, jcharArray charsArray) argument 230 register_android_view_KeyCharacterMap(JNIEnv* env) argument [all...] |
H A D | com_android_internal_util_VirtualRefBasePtr.cpp | 23 static void incStrong(JNIEnv* env, jobject clazz, jlong objPtr) { argument 28 static void decStrong(JNIEnv* env, jobject clazz, jlong objPtr) { argument 44 int register_com_android_internal_util_VirtualRefBasePtr(JNIEnv* env) { argument 45 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods));
|
H A D | android_media_AudioSystem.cpp | 182 JNIAudioPortCallback(JNIEnv* env, jobject thiz, jobject weak_thiz); 196 JNIAudioPortCallback::JNIAudioPortCallback(JNIEnv* env, jobject thiz, jobject weak_thiz) argument 201 jclass clazz = env->GetObjectClass(thiz); 206 mClass = (jclass)env->NewGlobalRef(clazz); 210 mObject = env->NewGlobalRef(weak_thiz); 216 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 217 if (env == NULL) { 220 env->DeleteGlobalRef(mObject); 221 env->DeleteGlobalRef(mClass); 226 JNIEnv *env local 253 setJniCallback(JNIEnv* env, jobject thiz, const sp<JNIAudioPortCallback>& callback) argument 284 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument 290 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) argument 298 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 306 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 315 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument 323 android_media_AudioSystem_newAudioSessionId(JNIEnv *env, jobject thiz) argument 329 android_media_AudioSystem_newAudioPlayerId(JNIEnv *env, jobject thiz) argument 335 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) argument 350 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument 365 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 382 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 403 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 443 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address, jstring device_name) argument 456 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument 466 android_media_AudioSystem_handleDeviceConfigChange(JNIEnv *env, jobject thiz, jint device, jstring device_address, jstring device_name) argument 478 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument 484 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument 491 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument 497 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument 505 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 518 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument 534 android_media_AudioSystem_setMasterVolume(JNIEnv *env, jobject thiz, jfloat value) argument 540 android_media_AudioSystem_getMasterVolume(JNIEnv *env, jobject thiz) argument 550 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument 556 android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) argument 566 android_media_AudioSystem_setMasterMono(JNIEnv *env, jobject thiz, jboolean mono) argument 572 android_media_AudioSystem_getMasterMono(JNIEnv *env, jobject thiz) argument 582 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument 588 android_media_AudioSystem_getPrimaryOutputSamplingRate(JNIEnv *env, jobject clazz) argument 594 android_media_AudioSystem_getPrimaryOutputFrameCount(JNIEnv *env, jobject clazz) argument 600 android_media_AudioSystem_getOutputLatency(JNIEnv *env, jobject clazz, jint stream) argument 611 android_media_AudioSystem_setLowRamDevice(JNIEnv *env, jobject clazz, jboolean isLowRamDevice) argument 617 android_media_AudioSystem_checkAudioFlinger(JNIEnv *env, jobject clazz) argument 629 convertAudioGainConfigToNative(JNIEnv *env, struct audio_gain_config *nAudioGainConfig, const jobject jAudioGainConfig, bool useInMask) argument 658 convertAudioPortConfigToNative(JNIEnv *env, struct audio_port_config *nAudioPortConfig, const jobject jAudioPortConfig, bool useConfigMask) argument 733 convertAudioPortConfigFromNative(JNIEnv *env, jobject jAudioPort, jobject *jAudioPortConfig, const struct audio_port_config *nAudioPortConfig) argument 931 convertAudioPortFromNative(JNIEnv *env, jobject *jAudioPort, const struct audio_port *nAudioPort) argument 1162 android_media_AudioSystem_listAudioPorts(JNIEnv *env, jobject clazz, jobject jPorts, jintArray jGeneration) argument 1248 android_media_AudioSystem_createAudioPatch(JNIEnv *env, jobject clazz, jobjectArray jPatches, jobjectArray jSources, jobjectArray jSinks) argument 1364 android_media_AudioSystem_releaseAudioPatch(JNIEnv *env, jobject clazz, jobject jPatch) argument 1389 android_media_AudioSystem_listAudioPatches(JNIEnv *env, jobject clazz, jobject jPatches, jintArray jGeneration) argument 1563 android_media_AudioSystem_setAudioPortConfig(JNIEnv *env, jobject clazz, jobject jAudioPortConfig) argument 1585 android_media_AudioSystem_eventHandlerSetup(JNIEnv *env, jobject thiz, jobject weak_this) argument 1597 android_media_AudioSystem_eventHandlerFinalize(JNIEnv *env, jobject thiz) argument 1609 android_media_AudioSystem_getAudioHwSyncForSession(JNIEnv *env, jobject thiz, jint sessionId) argument 1615 android_media_AudioSystem_registerDynPolicyCallback(JNIEnv *env, jobject thiz) argument 1621 android_media_AudioSystem_registerRecordingCallback(JNIEnv *env, jobject thiz) argument 1627 convertAudioMixToNative(JNIEnv *env, AudioMix *nAudioMix, const jobject jAudioMix) argument 1704 android_media_AudioSystem_registerPolicyMixes(JNIEnv *env, jobject clazz, jobject jMixesList, jboolean registration) argument 1759 android_media_AudioSystem_systemReady(JNIEnv *env, jobject thiz) argument 1829 register_android_media_AudioSystem(JNIEnv *env) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.h | 15 * @param env JNIEnv object. 24 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, 29 * @param env JNIEnv object. 36 SkStreamRewindable* CopyJavaInputStream(JNIEnv* env, jobject stream, 39 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream,
|
H A D | Camera.cpp | 11 static void Camera_constructor(JNIEnv* env, jobject obj) { argument 13 env->SetLongField(obj, gNativeInstanceFieldID, reinterpret_cast<jlong>(view)); 16 static void Camera_destructor(JNIEnv* env, jobject obj) { argument 17 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 22 static void Camera_save(JNIEnv* env, jobject obj) { argument 23 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 28 static void Camera_restore(JNIEnv* env, jobject obj) { argument 29 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); 34 static void Camera_translate(JNIEnv* env, jobject obj, argument 36 jlong viewHandle = env 41 Camera_rotateX(JNIEnv* env, jobject obj, jfloat degrees) argument 47 Camera_rotateY(JNIEnv* env, jobject obj, jfloat degrees) argument 53 Camera_rotateZ(JNIEnv* env, jobject obj, jfloat degrees) argument 59 Camera_rotate(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) argument 67 Camera_setLocation(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) argument 73 Camera_getLocationX(JNIEnv* env, jobject obj) argument 79 Camera_getLocationY(JNIEnv* env, jobject obj) argument 85 Camera_getLocationZ(JNIEnv* env, jobject obj) argument 91 Camera_getMatrix(JNIEnv* env, jobject obj, jlong matrixHandle) argument 98 Camera_applyToCanvas(JNIEnv* env, jobject obj, jlong canvasHandle) argument 105 Camera_dotWithNormal(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) argument 139 register_android_graphics_Camera(JNIEnv* env) argument [all...] |
H A D | CanvasProperty.cpp | 29 static jlong createFloat(JNIEnv* env, jobject clazz, jfloat initialValue) { argument 33 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { argument 47 int register_android_graphics_CanvasProperty(JNIEnv* env) { argument 48 return RegisterMethodsOrDie(env, "android/graphics/CanvasProperty", gMethods,
|
/frameworks/native/services/surfaceflinger/ |
H A D | DdmConnection.cpp | 35 JNIEnv* env; local 68 jint (*registerNatives)(JNIEnv* env, jclass clazz); 78 if (JNI_CreateJavaVM(&vm, &env, &args) == 0) { 83 if (registerNatives(env, 0) == 0) { 85 startClass = env->FindClass("android/ddm/DdmHandleAppName"); 87 startMeth = env->GetStaticMethodID(startClass, 90 jstring str = env->NewStringUTF(name); 91 env->CallStaticVoidMethod(startClass, startMeth, str, getuid()); 92 env->DeleteLocalRef(str); 98 startClass = env [all...] |
/frameworks/base/core/jni/include/android_runtime/ |
H A D | android_util_AssetManager.h | 26 extern AssetManager* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
|
H A D | android_view_SurfaceSession.h | 28 JNIEnv* env, jobject surfaceSessionObj);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 47 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jobjectArray keys, 51 jniThrowException(env, "java/lang/IllegalStateException", 57 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, 60 jniThrowException(env, "java/lang/IllegalArgumentException", 69 jniThrowException(env, "java/lang/IllegalStateException", 77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, 81 jniThrowException(env, "java/lang/IllegalStateException", 87 void *dst = env->GetDirectBufferAddress(byteBuf); 95 (jbyteArray)env->CallObjectMethod(byteBuf, gFields.arrayID); 98 jniThrowException(env, "jav 46 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass , jlong nativeObject, jobjectArray keys, jobjectArray values) argument 76 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument 138 android_media_MediaMuxer_native_setup( JNIEnv *env, jclass clazz, jobject fileDescriptor, jint format) argument 173 android_media_MediaMuxer_setOrientationHint( JNIEnv *env, jclass , jlong nativeObject, jint degrees) argument 191 android_media_MediaMuxer_setLocation( JNIEnv *env, jclass , jlong nativeObject, jint latitude, jint longitude) argument 203 android_media_MediaMuxer_start(JNIEnv *env, jclass , jlong nativeObject) argument 221 android_media_MediaMuxer_stop(JNIEnv *env, jclass , jlong nativeObject) argument 275 register_android_media_MediaMuxer(JNIEnv *env) argument [all...] |
H A D | android_media_MediaExtractor.cpp | 56 JMediaExtractor::JMediaExtractor(JNIEnv *env, jobject thiz) argument 59 jclass clazz = env->GetObjectClass(thiz); 62 mClass = (jclass)env->NewGlobalRef(clazz); 63 mObject = env->NewWeakGlobalRef(thiz); 69 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 71 env->DeleteWeakGlobalRef(mObject); 73 env->DeleteGlobalRef(mClass); 107 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 109 return ConvertMessageToMap(env, msg, format); 119 JNIEnv *env local 143 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 270 setMediaExtractor( JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) argument 286 getMediaExtractor(JNIEnv *env, jobject thiz) argument 290 android_media_MediaExtractor_release(JNIEnv *env, jobject thiz) argument 294 android_media_MediaExtractor_getTrackCount( JNIEnv *env, jobject thiz) argument 306 android_media_MediaExtractor_getTrackFormatNative( JNIEnv *env, jobject thiz, jint index) argument 326 android_media_MediaExtractor_getFileFormatNative( JNIEnv *env, jobject thiz) argument 346 android_media_MediaExtractor_selectTrack( JNIEnv *env, jobject thiz, jint index) argument 363 android_media_MediaExtractor_unselectTrack( JNIEnv *env, jobject thiz, jint index) argument 380 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument 398 android_media_MediaExtractor_advance( JNIEnv *env, jobject thiz) argument 419 android_media_MediaExtractor_readSampleData( JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) argument 441 android_media_MediaExtractor_getSampleTrackIndex( JNIEnv *env, jobject thiz) argument 463 android_media_MediaExtractor_getSampleTime( JNIEnv *env, jobject thiz) argument 485 android_media_MediaExtractor_getSampleFlags( JNIEnv *env, jobject thiz) argument 507 android_media_MediaExtractor_getSampleCryptoInfo( JNIEnv *env, jobject thiz, jobject cryptoInfoObj) argument 611 android_media_MediaExtractor_native_init(JNIEnv *env) argument 625 android_media_MediaExtractor_native_setup( JNIEnv *env, jobject thiz) argument 631 android_media_MediaExtractor_setDataSource( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring pathObj, jobjectArray keysArray, jobjectArray valuesArray) argument 681 android_media_MediaExtractor_setDataSourceFd( JNIEnv *env, jobject thiz, jobject fileDescObj, jlong offset, jlong length) argument 709 android_media_MediaExtractor_setDataSourceCallback( JNIEnv *env, jobject thiz, jobject callbackObj) argument 742 android_media_MediaExtractor_setMediaCas( JNIEnv *env, jobject thiz, jobject casBinderObj) argument 772 android_media_MediaExtractor_getCachedDurationUs( JNIEnv *env, jobject thiz) argument 790 android_media_MediaExtractor_hasCacheReachedEOS( JNIEnv *env, jobject thiz) argument 808 android_media_MediaExtractor_native_finalize( JNIEnv *env, jobject thiz) argument 814 android_media_MediaExtractor_native_getMetrics(JNIEnv * env, jobject thiz) argument 912 register_android_media_MediaExtractor(JNIEnv *env) argument [all...] |
/frameworks/base/media/tests/NativeMidiDemo/jni/ |
H A D | messagequeue.h | 26 jobjectArray getRecentMessagesForJava(JNIEnv* env, jobject thiz);
|
/frameworks/base/native/android/ |
H A D | native_window_jni.cpp | 30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { argument 31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); 38 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window) { argument 43 return android_view_Surface_createFromSurface(env, surface);
|
/frameworks/ex/framesequence/jni/ |
H A D | JNIHelpers.h | 26 void jniThrowException(JNIEnv* env, const char* className, const char* msg);
|
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 111 JNIEnv *env = AndroidRuntime::getJNIEnv(); local 118 if (!user || !env) { 119 ALOGW("effectCallback error user %p, env %p", user, env); 154 array = env->NewByteArray(size); 159 bytes = env->GetByteArrayElements(array, NULL); 161 env->ReleaseByteArrayElements(array, bytes, 0); 170 env->CallStaticVoidMethod( 177 env->DeleteLocalRef(array); 180 if (env 188 getAudioEffect(JNIEnv* env, jobject thiz) argument 196 setAudioEffect(JNIEnv* env, jobject thiz, const sp<AudioEffect>& ae) argument 217 android_media_AudioEffect_native_init(JNIEnv *env) argument 281 android_media_AudioEffect_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jstring type, jstring uuid, jint priority, jint sessionId, jintArray jId, jobjectArray javadesc, jstring opPackageName) argument 460 android_media_AudioEffect_native_release(JNIEnv *env, jobject thiz) argument 483 android_media_AudioEffect_native_finalize(JNIEnv *env, jobject thiz) argument 489 android_media_AudioEffect_native_setEnabled(JNIEnv *env, jobject thiz, jboolean enabled) argument 502 android_media_AudioEffect_native_getEnabled(JNIEnv *env, jobject thiz) argument 520 android_media_AudioEffect_native_hasControl(JNIEnv *env, jobject thiz) argument 536 android_media_AudioEffect_native_setParameter(JNIEnv *env, jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, jbyteArray pJavaValue) argument 597 android_media_AudioEffect_native_getParameter(JNIEnv *env, jobject thiz, jint psize, jbyteArray pJavaParam, jint vsize, jbyteArray pJavaValue) argument 664 android_media_AudioEffect_native_command(JNIEnv *env, jobject thiz, jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, jbyteArray jReplyData) argument 722 android_media_AudioEffect_native_queryEffects(JNIEnv *env, jclass clazz __unused) argument 817 android_media_AudioEffect_native_queryPreProcessings(JNIEnv *env, jclass clazz __unused, jint audioSession) argument 905 register_android_media_AudioEffect(JNIEnv *env) argument 913 JNIEnv* env = NULL; local [all...] |