Home
last modified time | relevance | path

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

12345678910>>...34

/aosp12/art/openjdkjvmti/
H A DOpenjdkJvmTi.cc118 #define ENSURE_HAS_CAP(env, cap) \ argument
239 static jvmtiError RunAgentThread(jvmtiEnv* env, in RunAgentThread()
287 static jvmtiError GetStackTrace(jvmtiEnv* env, in GetStackTrace()
480 jvmtiEnv* env, in IterateOverObjectsReachableFromObject()
490 jvmtiEnv* env, in IterateOverReachableObjects()
510 jvmtiEnv* env, in IterateOverInstancesOfClass()
541 static jvmtiError GetLocalInt(jvmtiEnv* env, in GetLocalInt()
551 static jvmtiError GetLocalLong(jvmtiEnv* env, in GetLocalLong()
591 static jvmtiError SetLocalInt(jvmtiEnv* env, in SetLocalInt()
601 static jvmtiError SetLocalLong(jvmtiEnv* env, in SetLocalLong()
[all …]
/aosp12/art/test/1927-exception-event/
H A Dexception_event.cc37 static void ThrowNative(JNIEnv* env) { in ThrowNative()
42 static void CallMethod(JNIEnv* env, jclass test, const char* name) { in CallMethod()
47 static void ClearAndPrintException(JNIEnv* env, jclass test) { in ClearAndPrintException()
54 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_terminal_1N(JNIEnv* env, jclass) { in Java_art_Test1927_terminal_1N()
58 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N()
63 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1J(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1J()
68 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1N(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1N()
81 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1J_1J(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1J_1J()
86 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1J_1N(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1J_1N()
91 extern "C" JNIEXPORT void JNICALL Java_art_Test1927_test_1N_1N_1J(JNIEnv* env, jclass test) { in Java_art_Test1927_test_1N_1N_1J()
[all …]
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp113 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()
423 JNIEnv *env, jobject thiz, jlong max_filesize_bytes) in android_media_MediaRecorder_setMaxFileSize()
519 android_media_MediaRecorder_stop(JNIEnv *env, jobject thiz) in android_media_MediaRecorder_stop()
581 android_media_MediaRecorder_native_init(JNIEnv *env) in android_media_MediaRecorder_native_init()
666 JNIEnv* env, jobject thiz, jobject object) { in android_media_MediaRecorder_setInputSurface()
759 android_media_MediaRecord_getActiveMicrophones(JNIEnv *env, in android_media_MediaRecord_getActiveMicrophones()
798 JNIEnv *env, jobject thiz, jint direction) { in android_media_MediaRecord_setPreferredMicrophoneDirection()
817 JNIEnv *env, jobject thiz, jfloat zoom) { in android_media_MediaRecord_setPreferredMicrophoneFieldDimension()
[all …]
H A Dandroid_media_MediaPlayer.cpp138 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaPlayerListener() local
145 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local
307 getVideoSurfaceTexture(JNIEnv* env, jobject thiz) { in getVideoSurfaceTexture()
313 decVideoSurfaceRef(JNIEnv *env, jobject thiz) in decVideoSurfaceRef()
407 android_media_MediaPlayer_start(JNIEnv *env, jobject thiz) in android_media_MediaPlayer_start()
419 android_media_MediaPlayer_stop(JNIEnv *env, jobject thiz) in android_media_MediaPlayer_stop()
431 android_media_MediaPlayer_pause(JNIEnv *env, jobject thiz) in android_media_MediaPlayer_pause()
722 android_media_MediaPlayer_reset(JNIEnv *env, jobject thiz) in android_media_MediaPlayer_reset()
887 android_media_MediaPlayer_native_init(JNIEnv *env) in android_media_MediaPlayer_native_init()
1355 JNIEnv* env, jobject thiz, jboolean enabled) in android_media_MediaPlayer_enableDeviceCallback()
[all …]
H A 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()
/aosp12/frameworks/base/libs/hwui/jni/
H A 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()
77 static jlong createLutInterpolator(JNIEnv* env, jobject clazz, jfloatArray jlut) { in createLutInterpolator()
[all …]
H A 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()
111 static jobject movie_decodeByteArray(JNIEnv* env, jobject clazz, in movie_decodeByteArray()
128 static void movie_destructor(JNIEnv* env, jobject, jlong movieHandle) { in movie_destructor()
[all …]
H A 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 …]
H A 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()
70 static jfloat Camera_getLocationX(JNIEnv* env, jobject obj) { in Camera_getLocationX()
76 static jfloat Camera_getLocationY(JNIEnv* env, jobject obj) { in Camera_getLocationY()
82 static jfloat Camera_getLocationZ(JNIEnv* env, jobject obj) { in Camera_getLocationZ()
104 static jfloat Camera_dotWithNormal(JNIEnv* env, jobject obj, in Camera_dotWithNormal()
[all …]
H A 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()
148 static jlong getDuration(JNIEnv* env, jobject clazz, jlong animatorPtr) { in getDuration()
175 static void start(JNIEnv* env, jobject clazz, jlong animatorPtr) { in start()
[all …]
/aosp12/frameworks/base/core/jni/
H A Dandroid_graphics_SurfaceTexture.cpp98 static void SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, in SurfaceTexture_setProducer()
112 static void SurfaceTexture_setFrameAvailableListener(JNIEnv* env, in SurfaceTexture_setFrameAvailableListener()
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
225 static void SurfaceTexture_classInit(JNIEnv* env, jclass clazz) in SurfaceTexture_classInit()
302 static void SurfaceTexture_finalize(JNIEnv* env, jobject thiz) in SurfaceTexture_finalize()
312 JNIEnv* env, jobject thiz, jint width, jint height) { in SurfaceTexture_setDefaultBufferSize()
368 static void SurfaceTexture_release(JNIEnv* env, jobject thiz) in SurfaceTexture_release()
[all …]
H A 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()
289 static jint android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeGetIdAttribute()
362 static void android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, in android_content_XmlBlock_nativeDestroy()
[all …]
H A Dandroid_media_AudioTrack.cpp111 static const Ids &getIds(JNIEnv *env) { in getIds()
198 JNIEnv *env = AndroidRuntime::getJNIEnv(); in audioCallback() local
220 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) in getAudioTrack()
537 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) in android_media_AudioTrack_start()
552 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) in android_media_AudioTrack_stop()
567 android_media_AudioTrack_pause(JNIEnv *env, jobject thiz) in android_media_AudioTrack_pause()
582 android_media_AudioTrack_flush(JNIEnv *env, jobject thiz) in android_media_AudioTrack_flush()
1239 JNIEnv *env, jobject thiz) { in android_media_AudioTrack_getRoutedDeviceId()
1249 JNIEnv *env, jobject thiz) { in android_media_AudioTrack_enableDeviceCallback()
1267 JNIEnv *env, jobject thiz) { in android_media_AudioTrack_disableDeviceCallback()
[all …]
/aosp12/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_program.cpp30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_allocate()
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()
106 jboolean Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_callNativeSetValue()
120 jstring Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_callNativeGetValue()
[all …]
H A Djni_gl_frame.cpp44 jboolean Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocate()
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()
104 jboolean Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeData()
133 jboolean Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeInts()
162 jboolean Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeFloats()
208 jboolean Java_android_filterfw_core_GLFrame_setNativeBitmap(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeBitmap()
225 jboolean Java_android_filterfw_core_GLFrame_getNativeBitmap(JNIEnv* env, in Java_android_filterfw_core_GLFrame_getNativeBitmap()
240 jboolean Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeViewport()
278 jboolean Java_android_filterfw_core_GLFrame_nativeCopyFromNative(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeCopyFromNative()
[all …]
/aosp12/art/test/common/
H A Dstack_inspect.cc46 static jboolean IsInterpreted(JNIEnv* env, jclass, size_t level) { in IsInterpreted()
59 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isInterpreted(JNIEnv* env, jclass klass) { in Java_Main_isInterpreted()
65 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isInterpretedAt(JNIEnv* env, in Java_Main_isInterpretedAt()
101 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject method, jboolean require_deoptimizable) { in Java_Main_isInterpretedFunction()
131 extern "C" JNIEXPORT void JNICALL Java_Main_assertIsInterpreted(JNIEnv* env, jclass klass) { in Java_Main_assertIsInterpreted()
137 static jboolean IsManaged(JNIEnv* env, jclass, size_t level) { in IsManaged()
147 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isManaged(JNIEnv* env, jclass cls) { in Java_Main_isManaged()
153 extern "C" JNIEXPORT void JNICALL Java_Main_assertIsManaged(JNIEnv* env, jclass cls) { in Java_Main_assertIsManaged()
175 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isCallerManaged(JNIEnv* env, jclass cls) { in Java_Main_isCallerManaged()
181 extern "C" JNIEXPORT void JNICALL Java_Main_assertCallerIsManaged(JNIEnv* env, jclass cls) { in Java_Main_assertCallerIsManaged()
[all …]
/aosp12/libnativehelper/include_platform/nativehelper/
H A DJNIPlatformHelp.h92 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor()
100 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
107 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD()
115 inline jarray jniGetNioBufferBaseArray(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray()
119 inline jint jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset()
123 inline jlong jniGetNioBufferFields(JNIEnv* env, jobject nioBuffer, in jniGetNioBufferFields()
129 inline jlong jniGetNioBufferPointer(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferPointer()
/aosp12/libnativehelper/
H A DJNIHelp.c53 static jmethodID FindMethod(JNIEnv* env, in FindMethod()
128 static jobject NewStringWriter(JNIEnv* env) { in NewStringWriter()
136 static jstring StringWriterToString(JNIEnv* env, jobject stringWriter) { in StringWriterToString()
142 static jobject NewPrintWriter(JNIEnv* env, jobject writer) { in NewPrintWriter()
221 static void DiscardPendingException(JNIEnv* env, const char* className) { in DiscardPendingException()
287 static jstring CreateExceptionMsg(JNIEnv* env, const char* msg) { in CreateExceptionMsg()
319 int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods()
368 int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
372 int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
376 int jniThrowIOException(JNIEnv* env, int errno_value) { in jniThrowIOException()
[all …]
/aosp12/libnativehelper/tests_mts/jni/
H A Djni_helper_jni.cpp33 static void throwException(JNIEnv* env, jclass /*clazz*/, jstring className, jstring message) { in throwException()
39 static void throwExceptionWithIntFormat(JNIEnv* env, in throwExceptionWithIntFormat()
49 static void throwNullPointerException(JNIEnv* env, in throwNullPointerException()
56 static void throwRuntimeException(JNIEnv* env, jclass /*clazz*/, jstring message) { in throwRuntimeException()
61 static void throwIOException(JNIEnv* env, jclass /*clazz*/, jint cause) { in throwIOException()
70 static void logException(JNIEnv* env, jclass /*clazz*/, jthrowable throwable) { in logException()
74 static jobject fileDescriptorCreate(JNIEnv* env, jclass /*clazz*/, jint unix_fd) { in fileDescriptorCreate()
78 static jint fileDescriptorGetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd) { in fileDescriptorGetFD()
82 static void fileDescriptorSetFD(JNIEnv* env, jclass /*clazz*/, jobject jiofd, jint unix_fd) { in fileDescriptorSetFD()
86 static jstring createString(JNIEnv* env, jclass /*clazz*/, jstring value) { in createString()
[all …]
/aosp12/art/runtime/jni/
H A Djni_internal.cc538 static JavaVMExt* JavaVmExtFromEnv(JNIEnv* env) { in JavaVmExtFromEnv()
702 static jboolean ExceptionCheck(JNIEnv* env) { in ExceptionCheck()
706 static void ExceptionClear(JNIEnv* env) { in ExceptionClear()
711 static void ExceptionDescribe(JNIEnv* env) { in ExceptionDescribe()
741 static jthrowable ExceptionOccurred(JNIEnv* env) { in ExceptionOccurred()
774 static jobject NewGlobalRef(JNIEnv* env, jobject obj) { in NewGlobalRef()
798 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef()
808 static void DeleteLocalRef(JNIEnv* env, jobject obj) { in DeleteLocalRef()
2104 static void ReleaseStringCritical(JNIEnv* env, in ReleaseStringCritical()
2463 static jint RegisterNatives(JNIEnv* env, in RegisterNatives()
[all …]
/aosp12/packages/apps/Bluetooth/jni/
H A Djni_logging.h25 #define LOG_EX(env, priority, tag, ...) \ argument
27 #define LOGV_EX(env, ...) LOG_EX(env, LOG_VERBOSE, LOG_TAG, ##__VA_ARGS__) argument
28 #define LOGD_EX(env, ...) LOG_EX(env, LOG_DEBUG, LOG_TAG, ##__VA_ARGS__) argument
29 #define LOGI_EX(env, ...) LOG_EX(env, LOG_INFO, LOG_TAG, ##__VA_ARGS__) argument
30 #define LOGW_EX(env, ...) LOG_EX(env, LOG_WARN, LOG_TAG, ##__VA_ARGS__) argument
31 #define LOGE_EX(env, ...) LOG_EX(env, LOG_ERROR, LOG_TAG, ##__VA_ARGS__) argument
/aosp12/frameworks/base/core/jni/include/android_runtime/
H A 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
/aosp12/system/incremental_delivery/libdataloader/
H A DJNIHelpers.h22 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie()
28 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie()
35 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie()
42 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie()
49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie()
56 static inline jint GetStaticIntFieldValueOrDie(JNIEnv* env, jclass clazz, const char* fieldName) { in GetStaticIntFieldValueOrDie()
62 static inline jstring GetStringField(JNIEnv* env, jobject obj, jfieldID field) { in GetStringField()
66 static inline jbyteArray GetByteArrayField(JNIEnv* env, jobject obj, jfieldID field) { in GetByteArrayField()
71 JNIEnv* env; in GetJNIEnvironment() local
79 JNIEnv* env = GetJNIEnvironment(jvm); in GetOrAttachJNIEnvironment() local
/aosp12/art/runtime/native/
H A Djava_lang_reflect_Field.cc169 static jobject Field_get(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_get()
194 ALWAYS_INLINE inline static JValue GetPrimitiveField(JNIEnv* env, in GetPrimitiveField()
241 static jbyte Field_getByte(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getByte()
245 static jchar Field_getChar(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getChar()
257 static jint Field_getInt(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getInt()
261 static jlong Field_getLong(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getLong()
382 static void SetPrimitiveField(JNIEnv* env, in SetPrimitiveField()
476 static jlong Field_getArtField(JNIEnv* env, jobject javaField) { in Field_getArtField()
482 static jstring Field_getNameInternal(JNIEnv* env, jobject javaField) { in Field_getNameInternal()
511 static jboolean Field_isAnnotationPresentNative(JNIEnv* env, in Field_isAnnotationPresentNative()
[all …]
/aosp12/frameworks/base/services/core/jni/
H A 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>>...34