/frameworks/base/core/jni/ |
android_hardware_SoundTrigger.cpp | 36 static jclass gArrayListClass; 41 static jclass gUUIDClass; 47 static jclass gSoundTriggerClass; 50 static jclass gModuleClass; 59 static jclass gModulePropertiesClass; 64 static jclass gSoundModelClass; 73 static jclass gGenericSoundModelClass; 77 static jclass gKeyphraseClass; 88 static jclass gKeyphraseSoundModelClass; 95 static jclass gRecognitionConfigClass [all...] |
android_view_VelocityTracker.cpp | 142 static jlong android_view_VelocityTracker_nativeInitialize(JNIEnv* env, jclass clazz, 151 static void android_view_VelocityTracker_nativeDispose(JNIEnv* env, jclass clazz, jlong ptr) { 156 static void android_view_VelocityTracker_nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { 161 static void android_view_VelocityTracker_nativeAddMovement(JNIEnv* env, jclass clazz, jlong ptr, 173 static void android_view_VelocityTracker_nativeComputeCurrentVelocity(JNIEnv* env, jclass clazz, 179 static jfloat android_view_VelocityTracker_nativeGetXVelocity(JNIEnv* env, jclass clazz, 187 static jfloat android_view_VelocityTracker_nativeGetYVelocity(JNIEnv* env, jclass clazz, 195 static jboolean android_view_VelocityTracker_nativeGetEstimator(JNIEnv* env, jclass clazz, 250 jclass clazz = FindClassOrDie(env, "android/view/VelocityTracker$Estimator");
|
android_database_CursorWindow.cpp | 64 static jlong nativeCreate(JNIEnv* env, jclass clazz, jstring nameObj, jint cursorWindowSize) { 82 static jlong nativeCreateFromParcel(JNIEnv* env, jclass clazz, jobject parcelObj) { 97 static void nativeDispose(JNIEnv* env, jclass clazz, jlong windowPtr) { 105 static jstring nativeGetName(JNIEnv* env, jclass clazz, jlong windowPtr) { 110 static void nativeWriteToParcel(JNIEnv * env, jclass clazz, jlong windowPtr, 123 static void nativeClear(JNIEnv * env, jclass clazz, jlong windowPtr) { 132 static jint nativeGetNumRows(JNIEnv* env, jclass clazz, jlong windowPtr) { 137 static jboolean nativeSetNumColumns(JNIEnv* env, jclass clazz, jlong windowPtr, 144 static jboolean nativeAllocRow(JNIEnv* env, jclass clazz, jlong windowPtr) { 150 static void nativeFreeLastRow(JNIEnv* env, jclass clazz, jlong windowPtr) [all...] |
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 101 static jlong NativeBN_BN_new(JNIEnv* env, jclass) { 107 static jlong NativeBN_getNativeFinalizer(JNIEnv*, jclass) { 111 static void NativeBN_BN_free(JNIEnv* env, jclass, jlong a) { 116 static int NativeBN_BN_cmp(JNIEnv* env, jclass, jlong a, jlong b) { 121 static void NativeBN_BN_copy(JNIEnv* env, jclass, jlong to, jlong from) { 127 static void NativeBN_putULongInt(JNIEnv* env, jclass, jlong a0, jlong java_dw, jboolean neg) { 156 static void NativeBN_putLongInt(JNIEnv* env, jclass cls, jlong a, jlong dw) { 164 static int NativeBN_BN_dec2bn(JNIEnv* env, jclass, jlong a0, jstring str) { 176 static int NativeBN_BN_hex2bn(JNIEnv* env, jclass, jlong a0, jstring str) { 188 static void NativeBN_BN_bin2bn(JNIEnv* env, jclass, jbyteArray arr, int len, jboolean neg, jlong ret) [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_SerialService.cpp | 33 jclass mClass; 65 jclass clazz = env->FindClass("com/android/server/SerialService"); 73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz);
|
/libcore/ojluni/src/main/native/ |
Shutdown.c | 37 Shutdown_halt0(JNIEnv *env, jclass ignored, jint code) 44 Shutdown_runAllFinalizers(JNIEnv *env, jclass ignored) 46 jclass cl;
|
IOUtil.c | 46 jclass clazz = (*env)->FindClass(env, "java/io/FileDescriptor"); 51 IOUtil_randomBytes(JNIEnv *env, jclass clazz, 59 IOUtil_fdVal(JNIEnv *env, jclass clazz, jobject fdo) 65 IOUtil_setfdVal(JNIEnv *env, jclass clazz, jobject fdo, jint val) 80 IOUtil_configureBlocking(JNIEnv *env, jclass clazz, 109 IOUtil_drain(JNIEnv *env, jclass cl, jint fd) 126 IOUtil_fdLimit(JNIEnv *env, jclass this) 167 IOUtil_iovMax(JNIEnv *env, jclass this)
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_DicTraverseSession.cpp | 29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, 35 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, 53 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) {
|
/art/runtime/native/ |
java_lang_reflect_Array.cc | 31 JNIEnv* env, jclass, jclass javaElementClass, jobject javaDimArray) { 49 static jobject Array_createObjectArray(JNIEnv* env, jclass, jclass javaElementClass, jint length) {
|
java_lang_Throwable.cc | 25 static jobject Throwable_nativeFillInStackTrace(JNIEnv* env, jclass) { 30 static jobjectArray Throwable_nativeGetStackTrace(JNIEnv* env, jclass, jobject javaStackState) {
|
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 31 static void DdmVmInternal_enableRecentAllocations(JNIEnv*, jclass, jboolean enable) { 35 static jbyteArray DdmVmInternal_getRecentAllocations(JNIEnv* env, jclass) { 40 static jboolean DdmVmInternal_getRecentAllocationStatus(JNIEnv*, jclass) { 48 static jobjectArray DdmVmInternal_getStackTraceById(JNIEnv* env, jclass, jint thin_lock_id) { 130 static jbyteArray DdmVmInternal_getThreadStats(JNIEnv* env, jclass) { 154 static jint DdmVmInternal_heapInfoNotify(JNIEnv* env, jclass, jint when) { 159 static jboolean DdmVmInternal_heapSegmentNotify(JNIEnv*, jclass, jint when, jint what, jboolean native) { 163 static void DdmVmInternal_threadNotify(JNIEnv*, jclass, jboolean enable) {
|
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...] |
/art/test/497-inlining-and-class-loader/ |
clear_dex_cache.cc | 28 jclass, 29 jclass cls) { 54 JNIEnv*, jclass, jclass cls, jobject old_cache) {
|
/external/webrtc/talk/app/webrtc/java/jni/ |
classreferenceholder.cc | 41 jclass GetClass(const std::string& name); 46 std::map<std::string, jclass> classes_; 122 for (std::map<std::string, jclass>::const_iterator it = classes_.begin(); 129 jclass ClassReferenceHolder::GetClass(const std::string& name) { 130 std::map<std::string, jclass>::iterator it = classes_.find(name); 136 jclass localRef = jni->FindClass(name.c_str()); 139 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); 148 jclass FindClass(JNIEnv* jni, const char* name) {
|
/external/webrtc/webrtc/modules/utility/include/ |
helpers_android.h | 37 JNIEnv* jni, jclass c, const char* name, const char* signature); 40 JNIEnv* jni, jclass c, const char* name, const char* signature); 42 jclass FindClass(JNIEnv* jni, const char* name); 69 template<class T> // T is jclass, jobject, jintArray, etc.
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfEditor.cpp | 85 static jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size) { 115 static void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { 121 static jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { 126 static jint nativeRemovePage(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex) { 165 static void nativeWrite(JNIEnv* env, jclass thiz, jlong documentPtr, jint fd) { 178 static void nativeSetTransformAndClip(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, 230 static void nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, 257 static jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) { 263 static bool nativeGetPageBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, 297 static jboolean nativeGetPageMediaBox(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex [all...] |
/frameworks/base/media/jni/ |
android_media_MediaMuxer.cpp | 44 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jobjectArray keys, 74 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, 136 JNIEnv *env, jclass clazz, jobject fileDescriptor, 149 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint degrees) { 167 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { 178 static void android_media_MediaMuxer_start(JNIEnv *env, jclass /* clazz */, 196 static void android_media_MediaMuxer_stop(JNIEnv *env, jclass /* clazz */, 215 JNIEnv* /* env */, jclass clazz, jlong nativeObject) { 254 jclass byteBufClass = env->FindClass("java/nio/ByteBuffer");
|
/frameworks/opt/net/wifi/service/jni/ |
com_android_server_wifi_nan_WifiNanNative.cpp | 36 static jclass mCls; /* saved WifiNanNative object */ 39 wifi_handle getWifiHandle(JNIHelper &helper, jclass cls); 40 wifi_interface_handle getIfaceHandle(JNIHelper &helper, jclass cls, jint index); 211 static jint android_net_wifi_nan_register_handler(JNIEnv *env, jclass cls, 212 jclass wifi_native_cls, 233 mCls = (jclass) env->NewGlobalRef(cls); 239 static jint android_net_wifi_nan_enable_request(JNIEnv *env, jclass cls, 241 jclass wifi_native_cls, 263 static jint android_net_wifi_nan_get_capabilities(JNIEnv *env, jclass cls, 265 jclass wifi_native_cls [all...] |
/art/test/115-native-bridge/ |
nativebridge.cc | 54 jclass klass = env->FindClass("Main"); 93 jclass klass) { 94 typedef void (*FnPtr_t)(JNIEnv*, jclass); 102 jclass klass) { 103 typedef void (*FnPtr_t)(JNIEnv*, jclass); 111 jclass klass) { 112 typedef void (*FnPtr_t)(JNIEnv*, jclass); 119 static jobject trampoline_Java_Main_testGetMirandaMethodNative(JNIEnv* env, jclass klass) { 120 typedef jobject (*FnPtr_t)(JNIEnv*, jclass); 127 static void trampoline_Java_Main_testNewStringObject(JNIEnv* env, jclass klass) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/ |
collision_wrap.h | 17 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 32 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 47 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 62 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 79 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 94 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 109 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 124 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 139 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 158 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) [all...] |
/art/test/004-UnsafeTest/ |
unsafe_test.cc | 27 extern "C" JNIEXPORT jint JNICALL Java_Main_vmArrayBaseOffset(JNIEnv* env, jclass, jobject classObj) { 34 extern "C" JNIEXPORT jint JNICALL Java_Main_vmArrayIndexScale(JNIEnv* env, jclass, jobject classObj) {
|
/art/test/common/ |
runtime_state.cc | 36 extern "C" JNIEXPORT jboolean JNICALL Java_Main_hasOatFile(JNIEnv* env, jclass cls) { 48 jclass cls ATTRIBUTE_UNUSED) { 55 jclass cls ATTRIBUTE_UNUSED) { 62 jclass cls ATTRIBUTE_UNUSED) { 69 jclass cls ATTRIBUTE_UNUSED) { 76 extern "C" JNIEXPORT jboolean JNICALL Java_Main_compiledWithOptimizing(JNIEnv* env, jclass cls) { 124 jclass, 125 jclass cls,
|
/cts/tests/tests/jni/libjnitest/ |
android_jni_cts_JniStaticTest.cpp | 28 jclass appLoaderClass) { 33 jmethodID midHashCode = env->GetMethodID((jclass)coreClass, "hashCode", "()I");
|
/cts/tools/cts-device-info/jni/ |
com_android_cts_deviceinfo_VulkanDeviceInfo.cpp | 24 jstring GetVkJSON(JNIEnv* env, jclass /*clazz*/) 38 jclass clazz = env->FindClass("com/android/cts/deviceinfo/VulkanDeviceInfo");
|
/external/libgdx/extensions/gdx-bullet/jni/swig/common/ |
gdxPooledTypemap.i | 3 %define CREATE_POOLED_TYPEMAP(CTYPE, JTYPE, JCLASS, FROMJTOC, FROMCTOJ) 13 jclass tempClass = gdx_getTempClass##JTYPE(jenv); 14 jfieldID field = jenv->GetStaticFieldID(tempClass, TOSTRING##JTYPE(static##JTYPE), JCLASS); 87 %define ENABLE_POOLED_TYPEMAP(CTYPE, JTYPE, JCLASS) 104 %typemap(directorin, fragment="gdxBulletHelpers##JTYPE", descriptor=JCLASS, noblock=1) const CTYPE & { 109 %typemap(directorin, fragment="gdxBulletHelpers##JTYPE", descriptor=JCLASS, noblock=1) CTYPE, CTYPE & { 121 %typemap(directorout, fragment="gdxBulletHelpers##JTYPE", descriptor=JCLASS, noblock=1) CTYPE { 125 %typemap(directorout, fragment="gdxBulletHelpers##JTYPE", descriptor=JCLASS, noblock=1) CTYPE &, const CTYPE & {
|