Home
last modified time | relevance | path

Searched refs:jclass (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGLExtcHeader.cpp39 static jclass egldisplayClass;
40 static jclass eglcontextClass;
41 static jclass eglsurfaceClass;
42 static jclass eglconfigClass;
63 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit()
65 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit()
66 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit()
67 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit()
68 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit()
69 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit()
[all …]
DEGL14cHeader.cpp38 static jclass egldisplayClass;
39 static jclass eglcontextClass;
40 static jclass eglsurfaceClass;
41 static jclass eglconfigClass;
62 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit()
64 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit()
65 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit()
66 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit()
67 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit()
68 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit()
[all …]
DEGL15cHeader.cpp34 static jclass egldisplayClass;
35 static jclass eglsurfaceClass;
36 static jclass eglconfigClass;
37 static jclass eglcontextClass;
54 static jclass eglimageClass;
55 static jclass eglsyncClass;
69 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit()
72 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit()
73 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit()
74 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit()
[all …]
/frameworks/base/core/jni/
Dandroid_opengl_EGLExt.cpp39 static jclass egldisplayClass;
40 static jclass eglcontextClass;
41 static jclass eglsurfaceClass;
42 static jclass eglconfigClass;
63 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit()
65 jclass egldisplayClassLocal = _env->FindClass("android/opengl/EGLDisplay"); in nativeClassInit()
66 egldisplayClass = (jclass) _env->NewGlobalRef(egldisplayClassLocal); in nativeClassInit()
67 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit()
68 eglcontextClass = (jclass) _env->NewGlobalRef(eglcontextClassLocal); in nativeClassInit()
69 jclass eglsurfaceClassLocal = _env->FindClass("android/opengl/EGLSurface"); in nativeClassInit()
[all …]
Dandroid_animation_PropertyValuesHolder.cpp33 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) in android_animation_PropertyValuesHolder_getIntMethod()
42 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) in android_animation_PropertyValuesHolder_getFloatMethod()
50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, in getMultiparameterMethod()
65 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) in android_animation_PropertyValuesHolder_getMultipleFloatMethod()
71 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) in android_animation_PropertyValuesHolder_getMultipleIntMethod()
77 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jint arg) in android_animation_PropertyValuesHolder_callIntMethod()
83 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jfloat arg) in android_animation_PropertyValuesHolder_callFloatMethod()
89 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, float arg1, float arg2) in android_animation_PropertyValuesHolder_callTwoFloatMethod()
95 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, float arg1, float arg2, in android_animation_PropertyValuesHolder_callFourFloatMethod()
102 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jfloatArray arg) in android_animation_PropertyValuesHolder_callMultipleFloatMethod()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp56 jclass mCharacteristicsKey;
57 jclass mResultKey;
58 jclass mRequestKey;
62 jclass mByteArray;
63 jclass mInt32Array;
64 jclass mFloatArray;
65 jclass mInt64Array;
66 jclass mDoubleArray;
67 jclass mRationalArray;
68 jclass mArrayList;
[all …]
Dandroid_view_SurfaceControl.cpp69 jclass clazz;
78 jclass clazz;
87 jclass clazz;
122 jclass clazz;
127 jclass clazz;
132 jclass clazz;
137 jclass clazz;
142 jclass clazz;
147 jclass clazz;
152 jclass clazz;
[all …]
Dandroid_media_MicrophoneInfo.cpp23 static jclass gArrayListClass;
29 static jclass gFloatClass;
32 static jclass gFloatArrayClass;
34 static jclass gIntegerClass;
37 static jclass gMicrophoneInfoClass;
40 static jclass gMicrophoneInfoCoordinateClass;
43 static jclass gPairClass;
153 jclass arrayListClass = FindClassOrDie(env, "java/util/ArrayList"); in register_android_media_MicrophoneInfo()
158 jclass floatClass = FindClassOrDie(env, "java/lang/Float"); in register_android_media_MicrophoneInfo()
162 jclass floatArrayClass = FindClassOrDie(env, "[F"); in register_android_media_MicrophoneInfo()
[all …]
Dcore_jni_helpers.h33 #define CRITICAL_JNI_PARAMS JNIEnv*, jclass
34 #define CRITICAL_JNI_PARAMS_COMMA JNIEnv*, jclass,
41 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie()
42 jclass clazz = env->FindClass(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()
Deventlog_helper.h42 struct { const char *name; jclass *clazz; } gClasses[] = { in Init()
50 struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { in Init()
55 struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { in Init()
61 ScopedLocalRef<jclass> clazz(env, FindClassOrDie(env, gClasses[i].name)); in Init()
223 static jclass gCollectionClass;
226 static jclass gEventClass;
229 static jclass gIntegerClass;
232 static jclass gLongClass;
235 static jclass gFloatClass;
238 static jclass gStringClass;
[all …]
Dandroid_os_Parcel.cpp65 jclass clazz;
117 static jlong android_os_Parcel_setDataSize(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataSize()
138 static void android_os_Parcel_setDataCapacity(JNIEnv* env, jclass clazz, jlong nativePtr, jint size) in android_os_Parcel_setDataCapacity()
167 static void android_os_Parcel_writeByteArray(JNIEnv* env, jclass clazz, jlong nativePtr, in android_os_Parcel_writeByteArray()
194 static void android_os_Parcel_writeBlob(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, in android_os_Parcel_writeBlob()
233 static void android_os_Parcel_writeInt(JNIEnv* env, jclass clazz, jlong nativePtr, jint val) { in android_os_Parcel_writeInt()
243 static void android_os_Parcel_writeLong(JNIEnv* env, jclass clazz, jlong nativePtr, jlong val) in android_os_Parcel_writeLong()
254 static void android_os_Parcel_writeFloat(JNIEnv* env, jclass clazz, jlong nativePtr, jfloat val) in android_os_Parcel_writeFloat()
265 static void android_os_Parcel_writeDouble(JNIEnv* env, jclass clazz, jlong nativePtr, jdouble val) in android_os_Parcel_writeDouble()
276 static void android_os_Parcel_writeString8(JNIEnv* env, jclass clazz, jlong nativePtr, jstring val) in android_os_Parcel_writeString8()
[all …]
Dandroid_view_Surface.cpp56 jclass clazz;
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()
242 static void nativeUnlockCanvasAndPost(JNIEnv* env, jclass clazz, in nativeUnlockCanvasAndPost()
260 static void nativeAllocateBuffers(JNIEnv* /* env */ , jclass /* clazz */, in nativeAllocateBuffers() argument
272 static jlong nativeCreateFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceControl()
282 static jlong nativeGetFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeGetFromSurfaceControl()
[all …]
Dandroid_os_Trace.cpp53 static void android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass, in android_os_Trace_nativeTraceCounter() argument
60 static void android_os_Trace_nativeTraceBegin(JNIEnv* env, jclass, in android_os_Trace_nativeTraceBegin() argument
67 static void android_os_Trace_nativeTraceEnd(JNIEnv*, jclass, jlong tag) { in android_os_Trace_nativeTraceEnd() argument
71 static void android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass, in android_os_Trace_nativeAsyncTraceBegin() argument
78 static void android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass, in android_os_Trace_nativeAsyncTraceEnd() argument
85 static void android_os_Trace_nativeSetAppTracingAllowed(JNIEnv*, jclass, jboolean allowed) { in android_os_Trace_nativeSetAppTracingAllowed() argument
89 static void android_os_Trace_nativeSetTracingEnabled(JNIEnv*, jclass, jboolean enabled) { in android_os_Trace_nativeSetTracingEnabled() argument
Dandroid_hardware_SensorManager.cpp43 jclass clazz;
51 jclass clazz;
74 jclass clazz;
79 jclass clazz;
89 nativeClassInit (JNIEnv *_env, jclass _this) in nativeClassInit()
93 jclass sensorClass = (jclass) in nativeClassInit()
120 jclass listClass = (jclass) MakeGlobalRefOrDie(_env, FindClassOrDie(_env, "java/util/List")); in nativeClassInit()
147 (JNIEnv *env, jclass clazz, jstring opPackageName) in nativeCreate()
199 nativeGetSensorAtIndex(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensor, jint index) in nativeGetSensorAtIndex()
213 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) { in nativeGetDynamicSensors()
[all …]
Dandroid_database_CursorWindow.cpp86 static jlong nativeCreate(JNIEnv* env, jclass clazz, jstring nameObj, jint cursorWindowSize) { in nativeCreate()
106 static jlong nativeCreateFromParcel(JNIEnv* env, jclass clazz, jobject parcelObj) { in nativeCreateFromParcel()
124 static void nativeDispose(JNIEnv* env, jclass clazz, jlong windowPtr) { in nativeDispose()
132 static jstring nativeGetName(JNIEnv* env, jclass clazz, jlong windowPtr) { in nativeGetName()
137 static void nativeWriteToParcel(JNIEnv * env, jclass clazz, jlong windowPtr, in nativeWriteToParcel()
150 static void nativeClear(JNIEnv * env, jclass clazz, jlong windowPtr) { in nativeClear()
159 static jint nativeGetNumRows(JNIEnv* env, jclass clazz, jlong windowPtr) { in nativeGetNumRows()
164 static jboolean nativeSetNumColumns(JNIEnv* env, jclass clazz, jlong windowPtr, in nativeSetNumColumns()
171 static jboolean nativeAllocRow(JNIEnv* env, jclass clazz, jlong windowPtr) { in nativeAllocRow()
177 static void nativeFreeLastRow(JNIEnv* env, jclass clazz, jlong windowPtr) { in nativeFreeLastRow()
[all …]
Dandroid_content_res_ApkAssets.cpp36 jclass classObject;
47 jclass classObject;
160 static jlong NativeLoad(JNIEnv* env, jclass /*clazz*/, const format_type_t format, in NativeLoad() argument
198 static jlong NativeLoadFromFd(JNIEnv* env, jclass /*clazz*/, const format_type_t format, in NativeLoadFromFd() argument
246 static jlong NativeLoadFromFdOffset(JNIEnv* env, jclass /*clazz*/, const format_type_t format, in NativeLoadFromFdOffset() argument
311 static jlong NativeLoadEmpty(JNIEnv* env, jclass /*clazz*/, jint flags, jobject assets_provider) { in NativeLoadEmpty() argument
317 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy() argument
321 static jstring NativeGetAssetPath(JNIEnv* env, jclass /*clazz*/, jlong ptr) { in NativeGetAssetPath() argument
326 static jlong NativeGetStringBlock(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeGetStringBlock() argument
331 static jboolean NativeIsUpToDate(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeIsUpToDate() argument
[all …]
Dandroid_os_VintfObject.cpp31 static jclass gString;
32 static jclass gHashMapClazz;
35 static jclass gLongClazz;
83 static jobjectArray android_os_VintfObject_report(JNIEnv* env, jclass) in android_os_VintfObject_report() argument
99 static jint android_os_VintfObject_verifyWithoutAvb(JNIEnv* env, jclass) { in android_os_VintfObject_verifyWithoutAvb() argument
108 static jobjectArray android_os_VintfObject_getHalNamesAndVersions(JNIEnv* env, jclass) { in android_os_VintfObject_getHalNamesAndVersions() argument
117 static jstring android_os_VintfObject_getSepolicyVersion(JNIEnv* env, jclass) { in android_os_VintfObject_getSepolicyVersion() argument
127 static jobject android_os_VintfObject_getVndkSnapshots(JNIEnv* env, jclass) { in android_os_VintfObject_getVndkSnapshots() argument
142 … jobject android_os_VintfObject_getTargetFrameworkCompatibilityMatrixVersion(JNIEnv* env, jclass) { in android_os_VintfObject_getTargetFrameworkCompatibilityMatrixVersion() argument
Dandroid_opengl_EGL15.cpp34 static jclass egldisplayClass;
35 static jclass eglsurfaceClass;
36 static jclass eglconfigClass;
37 static jclass eglcontextClass;
54 static jclass eglimageClass;
55 static jclass eglsyncClass;
69 nativeClassInit(JNIEnv *_env, jclass glImplClass) in nativeClassInit()
72 jclass eglconfigClassLocal = _env->FindClass("android/opengl/EGLConfig"); in nativeClassInit()
73 eglconfigClass = (jclass) _env->NewGlobalRef(eglconfigClassLocal); in nativeClassInit()
74 jclass eglcontextClassLocal = _env->FindClass("android/opengl/EGLContext"); in nativeClassInit()
[all …]
Dandroid_util_AssetManager.cpp86 jclass classObject;
92 jclass classObject;
100 jclass classObject;
105 static jclass g_stringClass = nullptr;
119 jclass /*clazz*/) { in NativeCreateIdmapsForStaticOverlaysTargetingAndroid() argument
247 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap() argument
293 static jstring NativeGetOverlayablesToString(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayablesToString() argument
367 static jlong NativeCreate(JNIEnv* /*env*/, jclass /*clazz*/) { in NativeCreate() argument
373 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy() argument
377 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets() argument
[all …]
/frameworks/base/libs/hwui/jni/
Dgraphics_jni_helpers.h34 #define CRITICAL_JNI_PARAMS JNIEnv*, jclass
35 #define CRITICAL_JNI_PARAMS_COMMA JNIEnv*, jclass,
42 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie()
43 jclass clazz = env->FindClass(class_name); in FindClassOrDie()
48 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()
62 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie()
69 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie()
DPath.cpp43 static jlong init(JNIEnv* env, jclass clazz) { in init()
47 static jlong init_Path(JNIEnv* env, jclass clazz, jlong valHandle) { in init_Path()
52 static jlong getFinalizer(JNIEnv* env, jclass clazz) { in getFinalizer()
56 static void set(JNIEnv* env, jclass clazz, jlong dstHandle, jlong srcHandle) { in set()
62 static void computeBounds(JNIEnv* env, jclass clazz, jlong objHandle, jobject jbounds) { in computeBounds()
68 static void incReserve(JNIEnv* env, jclass clazz, jlong objHandle, jint extraPtCount) { in incReserve()
73 static void moveTo__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x, jfloat y) { in moveTo__FF()
78 static void rMoveTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { in rMoveTo()
83 static void lineTo__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x, jfloat y) { in lineTo__FF()
88 static void rLineTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { in rLineTo()
[all …]
/frameworks/base/media/jni/
Dandroid_media_AudioPresentation.h30 jclass clazz = NULL;
34 jclass listClazz = NULL;
39 jclass hashMapClazz = NULL;
44 jclass ulocaleClazz = NULL;
48 jclass lclazz = env->FindClass("android/media/AudioPresentation"); in init()
50 clazz = (jclass)env->NewGlobalRef(lclazz); in init()
57 jclass llistClazz = env->FindClass("java/util/ArrayList"); in init()
59 listClazz = static_cast<jclass>(env->NewGlobalRef(llistClazz)); in init()
67 jclass lhashMapClazz = env->FindClass("java/util/HashMap"); in init()
69 hashMapClazz = (jclass)env->NewGlobalRef(lhashMapClazz); in init()
[all …]
Dandroid_media_MediaMuxer.cpp47 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jobjectArray keys, in android_media_MediaMuxer_addTrack() argument
77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, in android_media_MediaMuxer_writeSampleData() argument
139 JNIEnv *env, jclass clazz, jobject fileDescriptor, in android_media_MediaMuxer_native_setup()
174 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint degrees) { in android_media_MediaMuxer_setOrientationHint() argument
192 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation() argument
203 static void android_media_MediaMuxer_start(JNIEnv *env, jclass /* clazz */, in android_media_MediaMuxer_start() argument
221 static void android_media_MediaMuxer_stop(JNIEnv *env, jclass /* clazz */, in android_media_MediaMuxer_stop() argument
241 JNIEnv* /* env */, jclass clazz, jlong nativeObject) { in android_media_MediaMuxer_native_release()
280 jclass byteBufClass = env->FindClass("java/nio/ByteBuffer"); in register_android_media_MediaMuxer()
/frameworks/base/libs/hwui/jni/pdf/
DPdfUtils.h27 jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size);
28 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr);
30 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr);
31 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr);
/frameworks/av/camera/ndk/
DNdkCameraMetadata.cpp39 jclass android_hardware_camera2_CameraCharacteristics_clazz = nullptr;
40 jclass android_hardware_camera2_CaptureResult_clazz = nullptr;
48 const jclass cameraMetadataClazz = env->FindClass( in InitJni()
59 const jclass cameraCharacteristics_clazz = env->FindClass( in InitJni()
65 const jclass captureResult_clazz = env->FindClass( in InitJni()
74 static_cast<jclass>(env->NewGlobalRef(cameraCharacteristics_clazz)); in InitJni()
76 static_cast<jclass>(env->NewGlobalRef(captureResult_clazz)); in InitJni()

12345678910>>...12