Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp90 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) in JNIMediaRecorderListener()
111 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaRecorderListener() local
120 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local
126 static sp<Surface> get_surface(JNIEnv* env, jobject clazz) in get_surface()
132 static sp<PersistentSurface> get_persistentSurface(JNIEnv* env, jobject object) in get_persistentSurface()
139 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, cons… in process_media_recorder_call()
152 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) in getMediaRecorder()
159 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recor… in setMediaRecorder()
174 static void android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) in android_media_MediaRecorder_setCamera()
196 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) in android_media_MediaRecorder_setVideoSource()
[all …]
Dandroid_media_MediaPlayer.cpp116 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) in JNIMediaPlayerListener()
137 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaPlayerListener() local
144 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local
167 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) in getMediaPlayer()
174 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) in setMediaPlayer()
192 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exc… in process_media_player_call()
222 JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, in android_media_MediaPlayer_setDataSourceAndHeaders()
271 android_media_MediaPlayer_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong … in android_media_MediaPlayer_setDataSourceFD()
289 android_media_MediaPlayer_setDataSourceCallback(JNIEnv *env, jobject thiz, jobject dataSource) in android_media_MediaPlayer_setDataSourceCallback()
306 getVideoSurfaceTexture(JNIEnv* env, jobject thiz) { in getVideoSurfaceTexture()
[all …]
Dandroid_media_MediaHTTPConnection.cpp34 JMediaHTTPConnection::JMediaHTTPConnection(JNIEnv *env, jobject thiz) in JMediaHTTPConnection()
54 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JMediaHTTPConnection() local
85 JNIEnv *env, jobject thiz, const sp<JMediaHTTPConnection> &conn) { in setObject()
100 static sp<JMediaHTTPConnection> getObject(JNIEnv *env, jobject thiz) { in getObject()
104 static void android_media_MediaHTTPConnection_native_init(JNIEnv *env) { in android_media_MediaHTTPConnection_native_init()
116 JNIEnv *env, jobject thiz) { in android_media_MediaHTTPConnection_native_setup()
123 JNIEnv *env, jobject thiz) { in android_media_MediaHTTPConnection_native_finalize()
128 JNIEnv *env, jobject thiz) { in android_media_MediaHTTPConnection_native_getIMemory()
135 JNIEnv *env, jobject thiz, jlong offset, jint size) { in android_media_MediaHTTPConnection_native_readAt()
174 int register_android_media_MediaHTTPConnection(JNIEnv *env) { in register_android_media_MediaHTTPConnection()
Dandroid_media_MediaCrypto.cpp40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { in getCrypto()
45 JNIEnv *env, jobject thiz, in JCrypto()
58 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JCrypto() local
111 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) { in GetCrypto()
129 static Vector<uint8_t> JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) { in JByteArrayToVector()
142 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { in setCrypto()
155 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) { in android_media_MediaCrypto_release()
159 static void android_media_MediaCrypto_native_init(JNIEnv *env) { in android_media_MediaCrypto_native_init()
168 JNIEnv *env, jobject thiz, in android_media_MediaCrypto_native_setup()
216 JNIEnv *env, jobject thiz) { in android_media_MediaCrypto_native_finalize()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_animation_NativeInterpolatorFactory.cpp28 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator()
32 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator()
36 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator()
40 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator()
44 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator()
48 static jlong createCycleInterpolator(JNIEnv* env, jobject clazz, jfloat cycles) { in createCycleInterpolator()
52 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createDecelerateInterpolator()
56 static jlong createLinearInterpolator(JNIEnv* env, jobject clazz) { in createLinearInterpolator()
60 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createOvershootInterpolator()
64 static jlong createPathInterpolator(JNIEnv* env, jobject clazz, jfloatArray jX, jfloatArray jY) { in createPathInterpolator()
[all …]
DMovie.cpp20 jobject create_jmovie(JNIEnv* env, Movie* moov) { in create_jmovie()
28 static Movie* J2Movie(JNIEnv* env, jobject movie) { in J2Movie()
39 static jint movie_width(JNIEnv* env, jobject movie) { in movie_width()
44 static jint movie_height(JNIEnv* env, jobject movie) { in movie_height()
49 static jboolean movie_isOpaque(JNIEnv* env, jobject movie) { in movie_isOpaque()
54 static jint movie_duration(JNIEnv* env, jobject movie) { in movie_duration()
59 static jboolean movie_setTime(JNIEnv* env, jobject movie, jint ms) { in movie_setTime()
64 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, in movie_draw()
81 static jobject movie_decodeAsset(JNIEnv* env, jobject clazz, jlong native_asset) { in movie_decodeAsset()
89 static jobject movie_decodeStream(JNIEnv* env, jobject clazz, jobject istream) { in movie_decodeStream()
[all …]
DCamera.cpp8 static void Camera_constructor(JNIEnv* env, jobject obj) { in Camera_constructor()
13 static void Camera_destructor(JNIEnv* env, jobject obj) { in Camera_destructor()
19 static void Camera_save(JNIEnv* env, jobject obj) { in Camera_save()
25 static void Camera_restore(JNIEnv* env, jobject obj) { in Camera_restore()
31 static void Camera_translate(JNIEnv* env, jobject obj, in Camera_translate()
38 static void Camera_rotateX(JNIEnv* env, jobject obj, jfloat degrees) { in Camera_rotateX()
44 static void Camera_rotateY(JNIEnv* env, jobject obj, jfloat degrees) { in Camera_rotateY()
50 static void Camera_rotateZ(JNIEnv* env, jobject obj, jfloat degrees) { in Camera_rotateZ()
56 static void Camera_rotate(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) { in Camera_rotate()
64 static void Camera_setLocation(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) { in Camera_setLocation()
[all …]
Dandroid_graphics_animation_RenderNodeAnimator.cpp36 JNIEnv* env; in getEnv() local
58 AnimationListenerBridge(JNIEnv* env, jobject finishListener) { in AnimationListenerBridge()
71 JNIEnv* env = getEnv(mJvm); in onAnimationFinished() local
81 JNIEnv* env = getEnv(mJvm); in releaseJavaObject() local
103 static jlong createAnimator(JNIEnv* env, jobject clazz, in createAnimator()
111 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyFloatAnimator()
119 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyPaintAnimator()
130 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, in createRevealAnimator()
137 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { in setStartValue()
142 static void setDuration(JNIEnv* env, jobject clazz, jlong animatorPtr, jlong duration) { in setDuration()
[all …]
Dandroid_graphics_HardwareRenderer.cpp67 JNIEnv* env; in getenv() local
79 JvmErrorReporter(JNIEnv* env) { in JvmErrorReporter()
84 JNIEnv* env = getenv(mVm); in onError() local
93 explicit FrameCompleteWrapper(JNIEnv* env, jobject jobject) { in FrameCompleteWrapper()
123 static void android_view_ThreadedRenderer_rotateProcessStatsBuffer(JNIEnv* env, jobject clazz) { in android_view_ThreadedRenderer_rotateProcessStatsBuffer()
127 static void android_view_ThreadedRenderer_setProcessStatsBuffer(JNIEnv* env, jobject clazz, in android_view_ThreadedRenderer_setProcessStatsBuffer()
132 static jint android_view_ThreadedRenderer_getRenderThreadTid(JNIEnv* env, jobject clazz, in android_view_ThreadedRenderer_getRenderThreadTid()
138 static jlong android_view_ThreadedRenderer_createRootRenderNode(JNIEnv* env, jobject clazz) { in android_view_ThreadedRenderer_createRootRenderNode()
145 static jlong android_view_ThreadedRenderer_createProxy(JNIEnv* env, jobject clazz, in android_view_ThreadedRenderer_createProxy()
154 static void android_view_ThreadedRenderer_deleteProxy(JNIEnv* env, jobject clazz, in android_view_ThreadedRenderer_deleteProxy()
[all …]
Dandroid_graphics_Picture.cpp28 static jlong android_graphics_Picture_newPicture(JNIEnv* env, jobject, jlong srcHandle) { in android_graphics_Picture_newPicture()
33 static jlong android_graphics_Picture_deserialize(JNIEnv* env, jobject, jobject jstream, in android_graphics_Picture_deserialize()
44 static void android_graphics_Picture_killPicture(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_killPicture()
50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw()
59 static jboolean android_graphics_Picture_serialize(JNIEnv* env, jobject, jlong pictureHandle, in android_graphics_Picture_serialize()
72 static jint android_graphics_Picture_getWidth(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getWidth()
77 static jint android_graphics_Picture_getHeight(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getHeight()
82 static jlong android_graphics_Picture_beginRecording(JNIEnv* env, jobject, jlong pictHandle, in android_graphics_Picture_beginRecording()
89 static void android_graphics_Picture_endRecording(JNIEnv* env, jobject, jlong pictHandle) { in android_graphics_Picture_endRecording()
106 int register_android_graphics_Picture(JNIEnv* env) { in register_android_graphics_Picture()
DAnimatedImageDrawable.cpp36 static jlong AnimatedImageDrawable_nCreate(JNIEnv* env, jobject /*clazz*/, in AnimatedImageDrawable_nCreate()
123 static jlong AnimatedImageDrawable_nDraw(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nDraw()
130 static void AnimatedImageDrawable_nSetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetAlpha()
136 static jlong AnimatedImageDrawable_nGetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nGetAlpha()
141 static void AnimatedImageDrawable_nSetColorFilter(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetColorFilter()
148 static jboolean AnimatedImageDrawable_nIsRunning(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nIsRunning()
153 static jboolean AnimatedImageDrawable_nStart(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nStart()
158 static jboolean AnimatedImageDrawable_nStop(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nStop()
166 static jint AnimatedImageDrawable_nGetRepeatCount(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nGetRepeatCount()
171 static void AnimatedImageDrawable_nSetRepeatCount(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetRepeatCount()
[all …]
/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp84 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, in SurfaceTexture_setSurfaceTexture()
98 static void SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, in SurfaceTexture_setProducer()
112 static void SurfaceTexture_setFrameAvailableListener(JNIEnv* env, in SurfaceTexture_setFrameAvailableListener()
127 sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { in SurfaceTexture_getSurfaceTexture()
131 sp<IGraphicBufferProducer> SurfaceTexture_getProducer(JNIEnv* env, jobject thiz) { in SurfaceTexture_getProducer()
135 bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz) { in android_SurfaceTexture_isInstanceOf()
157 JNISurfaceTextureContext::JNISurfaceTextureContext(JNIEnv* env, in JNISurfaceTextureContext()
165 JNIEnv* env = AndroidRuntime::getJNIEnv(); in getJNIEnv() local
191 JNIEnv* env = getJNIEnv(&needsDetach); in ~JNISurfaceTextureContext() local
206 JNIEnv* env = getJNIEnv(&needsDetach); in onFrameAvailable() local
[all …]
Dandroid_util_XmlBlock.cpp34 static jlong android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeCreate()
62 static jlong android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetStringBlock()
74 static jlong android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeCreateParseState()
95 static jint android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeNext()
129 static jint android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetNamespace()
140 static jint android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetName()
151 static jint android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetText()
162 static jint android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetLineNumber()
174 static jint android_content_XmlBlock_nativeGetAttributeCount(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetAttributeCount()
186 static jint android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetAttributeNamespace()
[all …]
Dandroid_media_AudioTrack.cpp110 static const Ids &getIds(JNIEnv *env) { in getIds()
118 TunerConfigurationHelper(JNIEnv *env, jobject tunerConfiguration) in TunerConfigurationHelper()
134 static void initCheckOrDie(JNIEnv *env) { (void)getIds(env); } in initCheckOrDie()
197 JNIEnv *env = AndroidRuntime::getJNIEnv(); in audioCallback() local
219 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) in getAudioTrack()
227 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) in setAudioTrack()
243 sp<AudioTrack> android_media_AudioTrack_getAudioTrack(JNIEnv* env, jobject audioTrackObj) { in android_media_AudioTrack_getAudioTrack()
248 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup()
510 android_media_AudioTrack_is_direct_output_supported(JNIEnv *env, jobject thiz, in android_media_AudioTrack_is_direct_output_supported()
528 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) in android_media_AudioTrack_start()
[all …]
Dandroid_view_InputChannel.cpp75 void NativeInputChannel::invokeAndRemoveDisposeCallback(JNIEnv* env, jobject obj) { in invokeAndRemoveDisposeCallback()
85 static NativeInputChannel* android_view_InputChannel_getNativeInputChannel(JNIEnv* env, in android_view_InputChannel_getNativeInputChannel()
91 static void android_view_InputChannel_setNativeInputChannel(JNIEnv* env, jobject inputChannelObj, in android_view_InputChannel_setNativeInputChannel()
97 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) { in android_view_InputChannel_getInputChannel()
103 void android_view_InputChannel_setDisposeCallback(JNIEnv* env, jobject inputChannelObj, in android_view_InputChannel_setDisposeCallback()
114 static jobject android_view_InputChannel_createInputChannel(JNIEnv* env, in android_view_InputChannel_createInputChannel()
127 static jobjectArray android_view_InputChannel_nativeOpenInputChannelPair(JNIEnv* env, in android_view_InputChannel_nativeOpenInputChannelPair()
163 static void android_view_InputChannel_nativeDispose(JNIEnv* env, jobject obj, jboolean finalized) { in android_view_InputChannel_nativeDispose()
179 static void android_view_InputChannel_nativeRelease(JNIEnv* env, jobject obj, jboolean finalized) { in android_view_InputChannel_nativeRelease()
188 static void android_view_InputChannel_nativeTransferTo(JNIEnv* env, jobject obj, in android_view_InputChannel_nativeTransferTo()
[all …]
Dandroid_net_NetUtils.cpp55 static void throwErrnoException(JNIEnv* env, const char* functionName, int error) { in throwErrnoException()
76 static void android_net_utils_attachDropAllBPFFilter(JNIEnv *env, jobject clazz, jobject javaFd) in android_net_utils_attachDropAllBPFFilter()
94 static void android_net_utils_detachBPFFilter(JNIEnv *env, jobject clazz, jobject javaFd) in android_net_utils_detachBPFFilter()
105 static jboolean android_net_utils_bindProcessToNetwork(JNIEnv *env, jobject thiz, jint netId) in android_net_utils_bindProcessToNetwork()
110 static jint android_net_utils_getBoundNetworkForProcess(JNIEnv *env, jobject thiz) in android_net_utils_getBoundNetworkForProcess()
115 static jboolean android_net_utils_bindProcessToNetworkForHostResolution(JNIEnv *env, jobject thiz, in android_net_utils_bindProcessToNetworkForHostResolution()
121 static jint android_net_utils_bindSocketToNetwork(JNIEnv *env, jobject thiz, jint socket, in android_net_utils_bindSocketToNetwork()
127 static jboolean android_net_utils_protectFromVpn(JNIEnv *env, jobject thiz, jint socket) in android_net_utils_protectFromVpn()
132 static jboolean android_net_utils_queryUserAccess(JNIEnv *env, jobject thiz, jint uid, jint netId) in android_net_utils_queryUserAccess()
137 static bool checkLenAndCopy(JNIEnv* env, const jbyteArray& addr, int len, void* dst) in checkLenAndCopy()
[all …]
Dandroid_os_HwRemoteBinder.cpp57 static JavaVM* jnienv_to_javavm(JNIEnv* env) in jnienv_to_javavm()
65 JNIEnv* env; in javavm_to_jnienv() local
73 …HwBinderDeathRecipient(JNIEnv* env, jobject object, jlong cookie, const sp<HwBinderDeathRecipientL… in HwBinderDeathRecipient()
85 JNIEnv* env = javavm_to_jnienv(mVM); in binderDied() local
120 JNIEnv* env = javavm_to_jnienv(mVM); in matches() local
136 JNIEnv* env = javavm_to_jnienv(mVM); in warnIfStillLive() local
155 JNIEnv* env = javavm_to_jnienv(mVM); in ~HwBinderDeathRecipient() local
217 void JHwRemoteBinder::InitClass(JNIEnv *env) { in InitClass()
233 JNIEnv *env, jobject thiz, const sp<JHwRemoteBinder> &context) { in SetNativeContext()
252 JNIEnv *env, jobject thiz) { in GetNativeContext()
[all …]
Dandroid_media_AudioVolumeGroupCallback.cpp44 JNIAudioVolumeGroupCallback::JNIAudioVolumeGroupCallback(JNIEnv* env, in JNIAudioVolumeGroupCallback()
63 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIAudioVolumeGroupCallback() local
73 JNIEnv *env = AndroidRuntime::getJNIEnv(); in onAudioVolumeGroupChanged() local
90 JNIEnv *env = AndroidRuntime::getJNIEnv(); in onServiceDied() local
105 sp<JNIAudioVolumeGroupCallback> setJniCallback(JNIEnv* env, in setJniCallback()
124 android_media_AudioVolumeGroupChangeHandler_eventHandlerSetup(JNIEnv *env, in android_media_AudioVolumeGroupChangeHandler_eventHandlerSetup()
138 android_media_AudioVolumeGroupChangeHandler_eventHandlerFinalize(JNIEnv *env, jobject thiz) in android_media_AudioVolumeGroupChangeHandler_eventHandlerFinalize()
157 int register_android_media_AudioVolumeGroupChangeHandler(JNIEnv *env) in register_android_media_AudioVolumeGroupChangeHandler()
Dandroid_view_Surface.cpp92 bool android_view_Surface_isInstanceOf(JNIEnv* env, jobject obj) { in android_view_Surface_isInstanceOf()
96 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow()
100 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getSurface()
113 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface()
128 jobject android_view_Surface_createFromIGraphicBufferProducer(JNIEnv* env, in android_view_Surface_createFromIGraphicBufferProducer()
146 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture()
165 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease()
170 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid()
175 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind()
187 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas()
[all …]
Dandroid_hardware_UsbRequest.cpp33 struct usb_request* get_request_from_object(JNIEnv* env, jobject java_request) in get_request_from_object()
42 android_hardware_UsbRequest_init(JNIEnv *env, jobject thiz, jobject java_device, in android_hardware_UsbRequest_init()
69 android_hardware_UsbRequest_close(JNIEnv *env, jobject thiz) in android_hardware_UsbRequest_close()
80 android_hardware_UsbRequest_queue_array(JNIEnv *env, jobject thiz, in android_hardware_UsbRequest_queue_array()
119 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz, in android_hardware_UsbRequest_dequeue_array()
138 android_hardware_UsbRequest_queue_direct(JNIEnv *env, jobject thiz, in android_hardware_UsbRequest_queue_direct()
170 android_hardware_UsbRequest_queue(JNIEnv *env, jobject thiz, jobject buffer, jint offset, in android_hardware_UsbRequest_queue()
202 android_hardware_UsbRequest_dequeue_direct(JNIEnv *env, jobject thiz) in android_hardware_UsbRequest_dequeue_direct()
215 android_hardware_UsbRequest_cancel(JNIEnv *env, jobject thiz) in android_hardware_UsbRequest_cancel()
239 int register_android_hardware_UsbRequest(JNIEnv *env) in register_android_hardware_UsbRequest()
/frameworks/base/media/mca/filterfw/jni/
Djni_native_program.cpp30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_allocate()
35 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_deallocate()
39 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_nativeInit()
44 jboolean Java_android_filterfw_core_NativeProgram_openNativeLibrary(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_openNativeLibrary()
51 jboolean Java_android_filterfw_core_NativeProgram_bindInitFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindInitFunction()
58 jboolean Java_android_filterfw_core_NativeProgram_bindSetValueFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindSetValueFunction()
67 jboolean Java_android_filterfw_core_NativeProgram_bindGetValueFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindGetValueFunction()
76 jboolean Java_android_filterfw_core_NativeProgram_bindProcessFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindProcessFunction()
83 jboolean Java_android_filterfw_core_NativeProgram_bindResetFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindResetFunction()
92 jboolean Java_android_filterfw_core_NativeProgram_bindTeardownFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindTeardownFunction()
[all …]
Djni_gl_frame.cpp44 jboolean Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocate()
58 jboolean Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture()
73 jboolean Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo()
88 jboolean Java_android_filterfw_core_GLFrame_nativeAllocateExternal(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocateExternal()
100 jboolean Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLFrame_nativeDeallocate()
104 jboolean Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeData()
121 jbyteArray Java_android_filterfw_core_GLFrame_getNativeData(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLFrame_getNativeData()
133 jboolean Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeInts()
150 jintArray Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLFrame_getNativeInts()
162 jboolean Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeFloats()
[all …]
Djni_gl_environment.cpp65 jboolean Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeAllocate()
70 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeDeallocate()
74 jboolean Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, in Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext()
80 jboolean Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, in Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext()
86 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeIsActive()
91 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeIsContextActive()
101 jboolean Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeActivate()
106 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeDeactivate()
111 jboolean Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers()
117 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject jmediarecorder) { in getMediaRecorder()
[all …]
/frameworks/base/core/jni/include/android_runtime/
DLog.h27 #define LOG_EX(env, priority, tag, ...) \ argument
29 #define LOGV_EX(env, ...) LOG_EX(env, LOG_VERBOSE, LOG_TAG, ##__VA_ARGS__) argument
30 #define LOGD_EX(env, ...) LOG_EX(env, LOG_DEBUG, LOG_TAG, ##__VA_ARGS__) argument
31 #define LOGI_EX(env, ...) LOG_EX(env, LOG_INFO, LOG_TAG, ##__VA_ARGS__) argument
32 #define LOGW_EX(env, ...) LOG_EX(env, LOG_WARN, LOG_TAG, ##__VA_ARGS__) argument
33 #define LOGE_EX(env, ...) LOG_EX(env, LOG_ERROR, LOG_TAG, ##__VA_ARGS__) argument
/frameworks/base/services/core/jni/
Dcom_android_server_soundtrigger_middleware_ExternalCaptureStateTracker.cpp35 void PopulateIds(JNIEnv* env) { in PopulateIds()
50 Listener(JNIEnv* env, jobject obj) : mObj(env->NewGlobalRef(obj)) {} in Listener()
53 JNIEnv* env = AndroidRuntime::getJNIEnv(); in ~Listener() local
58 JNIEnv* env = AndroidRuntime::getJNIEnv(); in onStateChanged() local
63 JNIEnv* env = AndroidRuntime::getJNIEnv(); in onServiceDied() local
71 void connect(JNIEnv* env, jobject obj) { in connect()
85 JNIEnv* env) { in register_com_android_server_soundtrigger_middleware_ExternalCaptureStateTracker()

12345678910>>...16