/system/core/include/nativebridge/ |
native_bridge.h | 192 uint32_t (*getNativeMethodCount)(JNIEnv* env, jclass clazz); 204 uint32_t (*getNativeMethods)(JNIEnv* env, jclass clazz, JNINativeMethod* methods,
|
/external/deqp/framework/platform/android/ |
tcuAndroidUtil.cpp | 123 jclass findClass (JNIEnv* env, const char* className) 125 const jclass cls = env->FindClass(className); 133 jclass getObjectClass (JNIEnv* env, jobject object) 135 const jclass cls = env->GetObjectClass(object); 143 jmethodID getMethodID (JNIEnv* env, jclass cls, const char* methodName, const char* signature) 167 const jclass activityCls = getObjectClass(env, activity); 172 const jclass intentCls = getObjectClass(env, *intent); 188 const jclass activityCls = getObjectClass(env, activity); 222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId); 225 int getStaticFieldValue<int> (JNIEnv* env, jclass cls, jfieldID fieldId [all...] |
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/ |
org_skia_canvasproof_GaneshPictureRenderer.cpp | 78 JNIEnv*, jclass, jint width, jint height, jfloat scale, jlong ptr, jlong pic) { 93 (JNIEnv *, jclass) { 103 (JNIEnv *, jclass, jlong ptr) { 114 jclass rectClass = env->FindClass("android/graphics/Rect"); 131 (JNIEnv *env, jclass, jobject androidGraphicsRect, jlong picturePtr) {
|
/frameworks/base/core/jni/ |
android_view_DisplayEventReceiver.cpp | 45 jclass clazz; 121 static jlong nativeInit(JNIEnv* env, jclass clazz, jobject receiverWeak, 143 static void nativeDispose(JNIEnv* env, jclass clazz, jlong receiverPtr) { 150 static void nativeScheduleVsync(JNIEnv* env, jclass clazz, jlong receiverPtr) { 178 jclass clazz = FindClassOrDie(env, "android/view/DisplayEventReceiver");
|
android_view_Surface.cpp | 63 jclass clazz; 236 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, 255 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { 260 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { 265 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { 291 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, 360 static void nativeUnlockCanvasAndPost(JNIEnv* env, jclass clazz, 378 static void nativeAllocateBuffers(JNIEnv* /* env */ , jclass /* clazz */, 390 static jlong nativeCreateFromSurfaceControl(JNIEnv* env, jclass clazz, 406 static jlong nativeReadFromParcel(JNIEnv* env, jclass clazz [all...] |
android_app_admin_SecurityLog.cpp | 29 static jclass gCollectionClass; 32 static jclass gEventClass; 35 static jclass gIntegerClass; 38 static jclass gLongClass; 41 static jclass gFloatClass; 44 static jclass gStringClass; 270 static struct { const char *name; jclass *clazz; } gClasses[] = { 279 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { 285 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { 292 jclass clazz = FindClassOrDie(env, gClasses[i].name) [all...] |
android_util_EventLog.cpp | 31 static jclass gCollectionClass; 34 static jclass gEventClass; 37 static jclass gIntegerClass; 40 static jclass gLongClass; 43 static jclass gFloatClass; 46 static jclass gStringClass; 271 static struct { const char *name; jclass *clazz; } gClasses[] = { 280 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { 286 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { 293 jclass clazz = FindClassOrDie(env, gClasses[i].name) [all...] |
android_hardware_SensorManager.cpp | 40 jclass clazz; 48 jclass clazz; 71 jclass clazz; 80 nativeClassInit (JNIEnv *_env, jclass _this) 84 jclass sensorClass = (jclass) _env->NewGlobalRef(_env->FindClass("android/hardware/Sensor")); 109 jclass listClass = (jclass) _env->NewGlobalRef(_env->FindClass("java/util/List")); 158 (JNIEnv *env, jclass clazz, jstring opPackageName) 210 nativeGetSensorAtIndex(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensor, jint index [all...] |
android_hardware_Radio.cpp | 36 static jclass gArrayListClass; 42 static jclass gRadioManagerClass; 45 static jclass gRadioModuleClass; 54 static jclass gModulePropertiesClass; 60 static jclass gRadioBandDescriptorClass; 71 static jclass gRadioFmBandDescriptorClass; 76 static jclass gRadioAmBandDescriptorClass; 81 static jclass gRadioBandConfigClass; 89 static jclass gRadioFmBandConfigClass; 101 static jclass gRadioAmBandConfigClass [all...] |
/art/runtime/native/ |
java_lang_System.cc | 46 static void System_arraycopy(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, 178 static void System_arraycopyCharUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 184 static void System_arraycopyByteUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 190 static void System_arraycopyShortUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 196 static void System_arraycopyIntUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 202 static void System_arraycopyLongUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 208 static void System_arraycopyFloatUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 214 static void System_arraycopyDoubleUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 220 static void System_arraycopyBooleanUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, 226 static jint System_identityHashCode(JNIEnv* env, jclass, jobject javaObject) [all...] |
dalvik_system_DexFile.cc | 157 jclass, 210 static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { 252 static jclass DexFile_defineClassNative(JNIEnv* env, 253 jclass, 295 return soa.AddLocalReference<jclass>(result); 311 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jobject cookie) { 357 ScopedLocalRef<jclass> fnfe(env, env->FindClass("java/io/FileNotFoundException")); 365 ScopedLocalRef<jclass> iae(env, env->FindClass("java/lang/IllegalArgumentException")); 373 ScopedLocalRef<jclass> iae(env, env->FindClass("java/lang/IllegalArgumentException")); 392 jclass, [all...] |
java_lang_StringFactory.cc | 30 static jstring StringFactory_newStringFromBytes(JNIEnv* env, jclass, jbyteArray java_data, 54 static jstring StringFactory_newStringFromChars(JNIEnv* env, jclass, jint offset, 67 static jstring StringFactory_newStringFromString(JNIEnv* env, jclass, jstring to_copy) {
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
GLCHeader.cpp | 70 static jclass nioAccessClass; 71 static jclass bufferClass; 72 static jclass G11ImplClass; 89 nativeClassInit(JNIEnv *_env, jclass glImplClass) 91 jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess"); 92 nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal); 94 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer"); 95 bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal); 97 jclass g11impClassLocal = _env->FindClass("com/google/android/gles_jni/GLImpl"); 98 G11ImplClass = (jclass) _env->NewGlobalRef(g11impClassLocal) [all...] |
/development/ndk/platforms/android-9/samples/native-audio/jni/ |
native-audio-jni.c | 150 void Java_com_example_nativeaudio_NativeAudio_createEngine(JNIEnv* env, jclass clazz) 199 jclass clazz) 271 jboolean Java_com_example_nativeaudio_NativeAudio_createUriAudioPlayer(JNIEnv* env, jclass clazz, 339 jclass clazz, jboolean isPlaying) 358 jclass clazz, jboolean isLooping) 388 jclass clazz, jint chan, jboolean mute) 400 jclass clazz, jint chan, jboolean solo) 411 int Java_com_example_nativeaudio_NativeAudio_getNumChannelsUriAudioPlayer(JNIEnv* env, jclass clazz) 442 void Java_com_example_nativeaudio_NativeAudio_setVolumeUriAudioPlayer(JNIEnv* env, jclass clazz, 454 void Java_com_example_nativeaudio_NativeAudio_setMuteUriAudioPlayer(JNIEnv* env, jclass clazz [all...] |
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | 134 static jclass cryptoUpcallsClass; 135 static jclass openSslInputStreamClass; 136 static jclass nativeRefClass; 138 static jclass byteArrayClass; 139 static jclass calendarClass; 140 static jclass objectClass; 141 static jclass objectArrayClass; 142 static jclass integerClass; 143 static jclass inputStreamClass; 144 static jclass outputStreamClass [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_NativeConverter.cpp | 159 static jlong NativeConverter_openConverter(JNIEnv* env, jclass, jstring converterName) { 170 static void NativeConverter_closeConverter(JNIEnv*, jclass, jlong address) { 182 static jint NativeConverter_encode(JNIEnv* env, jclass, jlong address, 238 static jint NativeConverter_decode(JNIEnv* env, jclass, jlong address, 294 static void NativeConverter_resetByteToChar(JNIEnv*, jclass, jlong address) { 301 static void NativeConverter_resetCharToByte(JNIEnv*, jclass, jlong address) { 308 static jint NativeConverter_getMaxBytesPerChar(JNIEnv*, jclass, jlong address) { 313 static jint NativeConverter_getMinBytesPerChar(JNIEnv*, jclass, jlong address) { 318 static jfloat NativeConverter_getAveBytesPerChar(JNIEnv*, jclass, jlong address) { 323 static jobjectArray NativeConverter_getAvailableCharsetNames(JNIEnv* env, jclass) { [all...] |
/external/sl4a/ScriptingLayerForAndroid/jni/ |
com_googlecode_android_scripting_Exec.cpp | 76 jclass clazz = env->FindClass(name); 93 jclass Class_java_lang_String = env->FindClass("java/lang/String"); 116 jclass Class_java_io_FileDescriptor = env->FindClass("java/io/FileDescriptor"); 122 JNIEnv* env, jclass clazz, jstring cmd, jobjectArray argArray, jobjectArray varArray, 165 jclass Class_java_io_FileDescriptor = 180 JNIEnv* env, jclass clazz, jobject fileDescriptor, jint row, jint col, jint xpixel, 194 JNIEXPORT jint JNICALL Java_com_googlecode_android_1scripting_Exec_waitFor(JNIEnv* env, jclass clazz, jint procId) {
|
/external/webrtc/webrtc/modules/utility/source/ |
jvm_android.cc | 28 jclass clazz; 42 jclass localRef = FindClass(jni, c.name); 45 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); 59 jclass LookUpClass(const char* name) { 131 NativeRegistration::NativeRegistration(JNIEnv* jni, jclass clazz) 188 jclass clazz = LookUpClass(name);
|
/frameworks/opt/net/wifi/service/jni/ |
jni_helper.h | 97 void reportEvent(jclass cls, const char *method, const char *signature, ...); 106 jlong getStaticLongField(jclass cls, const char *name); 108 void setStaticLongField(jclass cls, const char *name, jlong value); 110 jlong getStaticLongArrayField(jclass cls, const char *name, int index); 112 void setStaticLongArrayField(jclass obj, const char *name, jlongArray value); 113 jboolean callStaticMethod(jclass cls, const char *method, const char *signature, ...); 136 friend class JNIObject<jclass>;
|
/libcore/ojluni/src/main/native/ |
net_util.c | 70 extern jclass iac_class; 126 static jclass inet4Cls = 0; 128 jclass c = (*env)->FindClass(env, "java/net/Inet4Address"); 140 static jclass inet6Cls = 0; 143 jclass c = (*env)->FindClass(env, "java/net/Inet6Address"); 169 static jclass inet4Cls = 0; 172 jclass c = (*env)->FindClass(env, "java/net/Inet4Address");
|
FileDispatcherImpl.c | 60 FileDispatcherImpl_read0(JNIEnv *env, jclass clazz, 70 FileDispatcherImpl_pread0(JNIEnv *env, jclass clazz, jobject fdo, 80 FileDispatcherImpl_readv0(JNIEnv *env, jclass clazz, 89 FileDispatcherImpl_write0(JNIEnv *env, jclass clazz, 99 FileDispatcherImpl_pwrite0(JNIEnv *env, jclass clazz, jobject fdo, 109 FileDispatcherImpl_writev0(JNIEnv *env, jclass clazz, 233 FileDispatcherImpl_close0(JNIEnv *env, jclass clazz, jobject fdo) 240 FileDispatcherImpl_preClose0(JNIEnv *env, jclass clazz, jobject fdo) 255 FileDispatcherImpl_closeIntFD(JNIEnv *env, jclass clazz, jint fd)
|
System.c | 107 System_setIn0(JNIEnv *env, jclass cla, jobject stream) 117 System_setOut0(JNIEnv *env, jclass cla, jobject stream) 127 System_setErr0(JNIEnv *env, jclass cla, jobject stream) 145 System_mapLibraryName(JNIEnv *env, jclass ign, jstring libname) 170 static jobjectArray System_specialProperties(JNIEnv* env, jclass ignored) { 171 jclass stringClass = (*env)->FindClass(env, "java/lang/String"); 230 static void System_log(JNIEnv* env, jclass ignored, jchar type, jstring javaMessage, jthrowable exception) { 256 static jlong System_nanoTime(JNIEnv* env, jclass unused) { 262 static jlong System_currentTimeMillis(JNIEnv* env, jclass unused) {
|
/art/runtime/ |
jni_internal_test.cc | 43 ScopedLocalRef<jclass> aioobe(env_, 46 aioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(aioobe.get())); 48 ScopedLocalRef<jclass> ase(env_, env_->FindClass("java/lang/ArrayStoreException")); 50 ase_ = reinterpret_cast<jclass>(env_->NewGlobalRef(ase.get())); 52 ScopedLocalRef<jclass> sioobe(env_, 55 sioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(sioobe.get())); 58 void ExpectException(jclass exception_class) { 88 jclass GetPrimitiveClass(char descriptor) { 92 return soa.AddLocalReference<jclass>(c); 172 jclass c = env_->FindClass("java/lang/String") [all...] |
jni_internal.cc | 122 static jmethodID FindMethodID(ScopedObjectAccess& soa, jclass jni_class, 180 static jfieldID FindFieldID(const ScopedObjectAccess& soa, jclass jni_class, const char* name, 245 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause) 333 static jclass DefineClass(JNIEnv*, const char*, jobject, const jbyte*, jsize) { 338 static jclass FindClass(JNIEnv* env, const char* name) { 352 return soa.AddLocalReference<jclass>(c); 373 static jobject ToReflectedMethod(JNIEnv* env, jclass, jmethodID mid, jboolean) { 386 static jobject ToReflectedField(JNIEnv* env, jclass, jfieldID fid, jboolean) { 393 static jclass GetObjectClass(JNIEnv* env, jobject java_object) { 397 return soa.AddLocalReference<jclass>(o->GetClass()) [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_hdmi_HdmiCecController.cpp | 232 jclass hdmiPortInfo = env->FindClass("android/hardware/hdmi/HdmiPortInfo"); 289 static jlong nativeInit(JNIEnv* env, jclass clazz, jobject callbacksObj, 324 static jint nativeSendCecCommand(JNIEnv* env, jclass clazz, jlong controllerPtr, 340 static jint nativeAddLogicalAddress(JNIEnv* env, jclass clazz, jlong controllerPtr, 346 static void nativeClearLogicalAddress(JNIEnv* env, jclass clazz, jlong controllerPtr) { 351 static jint nativeGetPhysicalAddress(JNIEnv* env, jclass clazz, jlong controllerPtr) { 356 static jint nativeGetVersion(JNIEnv* env, jclass clazz, jlong controllerPtr) { 361 static jint nativeGetVendorId(JNIEnv* env, jclass clazz, jlong controllerPtr) { 366 static jobjectArray nativeGetPortInfos(JNIEnv* env, jclass clazz, jlong controllerPtr) { 371 static void nativeSetOption(JNIEnv* env, jclass clazz, jlong controllerPtr, jint flag, jint value) [all...] |