Home
last modified time | relevance | path

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

1234567891011

/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 …]
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 …]
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 …]
/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_view_SurfaceControl.cpp57 jclass clazz;
93 jclass clazz;
98 jclass clazz;
103 jclass clazz;
108 jclass clazz;
113 jclass clazz;
121 jclass clazz;
130 jclass clazz;
166 static jlong nativeCreateTransaction(JNIEnv* env, jclass clazz) { in nativeCreateTransaction()
174 static jlong nativeGetNativeTransactionFinalizer(JNIEnv* env, jclass clazz) { in nativeGetNativeTransactionFinalizer()
[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 …]
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 …]
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()
54 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie()
61 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie()
68 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie()
Dandroid_view_Surface.cpp65 jclass clazz;
168 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture()
187 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease()
192 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid()
197 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind()
224 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas()
296 static void nativeUnlockCanvasAndPost(JNIEnv* env, jclass clazz, in nativeUnlockCanvasAndPost()
314 static void nativeAllocateBuffers(JNIEnv* /* env */ , jclass /* clazz */, in nativeAllocateBuffers() argument
326 static jlong nativeCreateFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceControl()
336 static jlong nativeGetFromSurfaceControl(JNIEnv* env, jclass clazz, in nativeGetFromSurfaceControl()
[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_writeString(JNIEnv* env, jclass clazz, jlong nativePtr, jstring val) in android_os_Parcel_writeString()
[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_hardware_SoundTrigger.cpp37 static jclass gArrayListClass;
42 static jclass gUUIDClass;
48 static jclass gSoundTriggerClass;
51 static jclass gModuleClass;
60 static jclass gModulePropertiesClass;
65 static jclass gSoundModelClass;
74 static jclass gGenericSoundModelClass;
78 static jclass gKeyphraseClass;
89 static jclass gKeyphraseSoundModelClass;
96 static jclass gRecognitionConfigClass;
[all …]
Dandroid_util_AssetManager.cpp94 jclass classObject;
100 jclass classObject;
108 jclass classObject;
113 jclass g_stringClass = nullptr;
127 static void NativeVerifySystemIdmaps(JNIEnv* /*env*/, jclass /*clazz*/) { in NativeVerifySystemIdmaps() argument
228 jclass /*clazz*/) { in NativeCreateIdmapsForStaticOverlaysTargetingAndroid() argument
356 static jobject NativeGetOverlayableMap(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeGetOverlayableMap() argument
451 static jlong NativeCreate(JNIEnv* /*env*/, jclass /*clazz*/) { in NativeCreate() argument
457 static void NativeDestroy(JNIEnv* /*env*/, jclass /*clazz*/, jlong ptr) { in NativeDestroy() argument
461 static void NativeSetApkAssets(JNIEnv* env, jclass /*clazz*/, jlong ptr, in NativeSetApkAssets() argument
[all …]
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_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_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_view_CompositionSamplingListener.cpp40 jclass mClass;
72 jlong nativeCreate(JNIEnv* env, jclass clazz, jobject obj) { in nativeCreate()
78 void nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in nativeDestroy()
83 void nativeRegister(JNIEnv* env, jclass clazz, jlong ptr, jobject stopLayerTokenObj, in nativeRegister()
96 void nativeUnregister(JNIEnv* env, jclass clazz, jlong ptr) { in nativeUnregister()
125 jclass clazz = env->FindClass("android/view/CompositionSamplingListener"); in register_android_view_CompositionSamplingListener()
/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
240 JNIEnv* /* env */, jclass clazz, jlong nativeObject) { in android_media_MediaMuxer_native_release()
279 jclass byteBufClass = env->FindClass("java/nio/ByteBuffer"); in register_android_media_MediaMuxer()
/frameworks/base/core/jni/android/graphics/
DPath.cpp45 static jlong init(JNIEnv* env, jclass clazz) { in init()
49 static jlong init_Path(JNIEnv* env, jclass clazz, jlong valHandle) { in init_Path()
54 static jlong getFinalizer(JNIEnv* env, jclass clazz) { in getFinalizer()
58 static void set(JNIEnv* env, jclass clazz, jlong dstHandle, jlong srcHandle) { in set()
64 static void computeBounds(JNIEnv* env, jclass clazz, jlong objHandle, jobject jbounds) { in computeBounds()
70 static void incReserve(JNIEnv* env, jclass clazz, jlong objHandle, jint extraPtCount) { in incReserve()
75 static void moveTo__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x, jfloat y) { in moveTo__FF()
80 static void rMoveTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { in rMoveTo()
85 static void lineTo__FF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x, jfloat y) { in lineTo__FF()
90 static void rLineTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat dx, jfloat dy) { in rLineTo()
[all …]
/frameworks/base/core/jni/android/graphics/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);
DPdfEditor.cpp59 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { in nativeRemovePage()
98 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { in nativeWrite()
110 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetTransformAndClip()
165 static void nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, in nativeGetPageSize()
192 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageBox()
226 static jboolean nativeGetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageMediaBox()
233 static jboolean nativeGetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeGetPageCropBox()
240 static void nativeSetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetPageBox()
265 static void nativeSetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetPageMediaBox()
270 static void nativeSetPageCropBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, in nativeSetPageCropBox()
[all …]

1234567891011