Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp92 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) in JNIMediaRecorderListener()
113 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaRecorderListener() local
122 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local
128 static sp<Surface> get_surface(JNIEnv* env, jobject clazz) in get_surface()
134 static sp<PersistentSurface> get_persistentSurface(JNIEnv* env, jobject object) in get_persistentSurface()
141 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, cons… in process_media_recorder_call()
154 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) in getMediaRecorder()
161 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recor… in setMediaRecorder()
176 static void android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) in android_media_MediaRecorder_setCamera()
198 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) in android_media_MediaRecorder_setVideoSource()
[all …]
Dandroid_media_MediaPlayer.cpp117 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) in JNIMediaPlayerListener()
138 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaPlayerListener() local
145 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local
168 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) in getMediaPlayer()
175 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) in setMediaPlayer()
193 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exc… in process_media_player_call()
223 JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, in android_media_MediaPlayer_setDataSourceAndHeaders()
272 android_media_MediaPlayer_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong … in android_media_MediaPlayer_setDataSourceFD()
290 android_media_MediaPlayer_setDataSourceCallback(JNIEnv *env, jobject thiz, jobject dataSource) in android_media_MediaPlayer_setDataSourceCallback()
307 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()
217 JNIEnv *env, jobject thiz) { in android_media_MediaCrypto_native_finalize()
[all …]
Dandroid_media_JetPlayer.cpp51 static void initializeJavaIDs(JNIEnv* env) { in initializeJavaIDs()
54 std::call_once(sJniInitialized, [](JNIEnv* env) { in initializeJavaIDs()
80 JNIEnv *env = AndroidRuntime::getJNIEnv(); in jetPlayerEventCallback() local
101 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_JetPlayer_setup()
127 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) in android_media_JetPlayer_finalize()
143 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) in android_media_JetPlayer_release()
153 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) in android_media_JetPlayer_loadFromFile()
189 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, in android_media_JetPlayer_loadFromFileD()
220 android_media_JetPlayer_closeFile(JNIEnv *env, jobject thiz) in android_media_JetPlayer_closeFile()
242 android_media_JetPlayer_play(JNIEnv *env, jobject thiz) in android_media_JetPlayer_play()
[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 …]
DGraphics.cpp29 JNIEnv* env; in getJNIEnv() local
39 JNIEnv* env = nullptr; in attachJNIEnv() local
54 void doThrowNPE(JNIEnv* env) { in doThrowNPE()
58 void doThrowAIOOBE(JNIEnv* env) { in doThrowAIOOBE()
62 void doThrowRE(JNIEnv* env, const char* msg) { in doThrowRE()
66 void doThrowIAE(JNIEnv* env, const char* msg) { in doThrowIAE()
70 void doThrowISE(JNIEnv* env, const char* msg) { in doThrowISE()
74 void doThrowOOME(JNIEnv* env, const char* msg) { in doThrowOOME()
78 void doThrowIOE(JNIEnv* env, const char* msg) { in doThrowIOE()
82 bool GraphicsJNI::hasException(JNIEnv *env) { in hasException()
[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_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/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/
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_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 …]
Dcore_jni_helpers.h41 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie()
47 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie()
55 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie()
63 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie()
71 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie()
80 static inline T MakeGlobalRefOrDie(JNIEnv* env, T in) { in MakeGlobalRefOrDie()
86 static inline int RegisterMethodsOrDie(JNIEnv* env, const char* className, in RegisterMethodsOrDie()
93 static inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent()
103 static inline std::string getStringField(JNIEnv* env, jobject obj, jfieldID fieldId, in getStringField()
114 JNIEnv* env; variable
[all …]
Dandroid_media_AudioTrack.cpp111 static const Ids &getIds(JNIEnv *env) { in getIds()
119 TunerConfigurationHelper(JNIEnv *env, jobject tunerConfiguration) in TunerConfigurationHelper()
135 static void initCheckOrDie(JNIEnv *env) { (void)getIds(env); } in initCheckOrDie()
198 JNIEnv *env = AndroidRuntime::getJNIEnv(); in audioCallback() local
220 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) in getAudioTrack()
228 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) in setAudioTrack()
244 sp<AudioTrack> android_media_AudioTrack_getAudioTrack(JNIEnv* env, jobject audioTrackObj) { in android_media_AudioTrack_getAudioTrack()
249 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup()
519 android_media_AudioTrack_is_direct_output_supported(JNIEnv *env, jobject thiz, in android_media_AudioTrack_is_direct_output_supported()
537 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) in android_media_AudioTrack_start()
[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_media_AudioRecord.cpp101 JNIEnv *env = AndroidRuntime::getJNIEnv(); in recorderCallback() local
115 JNIEnv *env = AndroidRuntime::getJNIEnv(); in recorderCallback() local
136 static sp<JNIDeviceCallback> getJniDeviceCallback(JNIEnv* env, jobject thiz) in getJniDeviceCallback()
145 static sp<JNIDeviceCallback> setJniDeviceCallback(JNIEnv* env, in setJniDeviceCallback()
164 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) in getAudioRecord()
172 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) in setAudioRecord()
188 static jint android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioRecord_setup()
382 android_media_AudioRecord_start(JNIEnv *env, jobject thiz, jint event, jint triggerSession) in android_media_AudioRecord_start()
397 android_media_AudioRecord_stop(JNIEnv *env, jobject thiz) in android_media_AudioRecord_stop()
413 static void android_media_AudioRecord_release(JNIEnv *env, jobject thiz) { in android_media_AudioRecord_release()
[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()
Dandroid_os_incremental_IncrementalManager.cpp29 static jboolean nativeIsEnabled(JNIEnv* env, jobject clazz) { in nativeIsEnabled()
33 static jboolean nativeIsV2Available(JNIEnv* env, jobject clazz) { in nativeIsV2Available()
37 static jboolean nativeIsIncrementalPath(JNIEnv* env, in nativeIsIncrementalPath()
44 static jboolean nativeIsIncrementalFd(JNIEnv* env, jobject clazz, jint fd) { in nativeIsIncrementalFd()
48 static jbyteArray nativeUnsafeGetFileSignature(JNIEnv* env, jobject clazz, jstring javaPath) { in nativeUnsafeGetFileSignature()
72 int register_android_os_incremental_IncrementalManager(JNIEnv* env) { in register_android_os_incremental_IncrementalManager()
/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>>...17