Home
last modified time | relevance | path

Searched refs:JNIEnv (Results 1 – 25 of 267) sorted by relevance

1234567891011

/external/javasqlite/src/main/native/
Dsqlite_jni.h16 (JNIEnv *, jobject, jstring, jint);
24 (JNIEnv *, jobject, jstring);
32 (JNIEnv *, jobject);
40 (JNIEnv *, jobject);
48 (JNIEnv *, jobject, jstring, jobject);
56 (JNIEnv *, jobject, jstring, jobject, jobjectArray);
64 (JNIEnv *, jobject);
72 (JNIEnv *, jobject);
80 (JNIEnv *, jobject);
88 (JNIEnv *, jobject, jobject);
[all …]
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h78 JVM_IHashCode(JNIEnv *env, jobject obj);
81 JVM_MonitorWait(JNIEnv *env, jobject obj, jlong ms);
84 JVM_MonitorNotify(JNIEnv *env, jobject obj);
87 JVM_MonitorNotifyAll(JNIEnv *env, jobject obj);
90 JVM_Clone(JNIEnv *env, jobject obj);
96 JVM_InternString(JNIEnv *env, jstring str);
102 JVM_CurrentTimeMillis(JNIEnv *env, jclass ignored);
105 JVM_NanoTime(JNIEnv *env, jclass ignored);
108 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos,
112 JVM_InitProperties(JNIEnv *env, jobject p);
[all …]
Djmm.h223 jint (JNICALL *GetVersion) (JNIEnv *env);
225 jint (JNICALL *GetOptionalSupport) (JNIEnv *env,
231 jobject (JNICALL *GetInputArguments) (JNIEnv *env);
233 jint (JNICALL *GetThreadInfo) (JNIEnv *env,
237 jobjectArray (JNICALL *GetInputArgumentArray) (JNIEnv *env);
239 jobjectArray (JNICALL *GetMemoryPools) (JNIEnv* env, jobject mgr);
241 jobjectArray (JNICALL *GetMemoryManagers) (JNIEnv* env, jobject pool);
243 jobject (JNICALL *GetMemoryPoolUsage) (JNIEnv* env, jobject pool);
244 jobject (JNICALL *GetPeakMemoryPoolUsage) (JNIEnv* env, jobject pool);
247 (JNIEnv *env,
[all …]
Djni.h195 typedef JNIEnv_ JNIEnv; typedef
197 typedef const struct JNINativeInterface_ *JNIEnv; typedef
220 jint (JNICALL *GetVersion)(JNIEnv *env);
223 (JNIEnv *env, const char *name, jobject loader, const jbyte *buf,
226 (JNIEnv *env, const char *name);
229 (JNIEnv *env, jobject method);
231 (JNIEnv *env, jobject field);
234 (JNIEnv *env, jclass cls, jmethodID methodID, jboolean isStatic);
237 (JNIEnv *env, jclass sub);
239 (JNIEnv *env, jclass sub, jclass sup);
[all …]
/external/conscrypt/common/src/jni/main/include/conscrypt/
Djniutil.h55 void init(JavaVM* vm, JNIEnv* env);
60 inline JNIEnv* getJNIEnv(JavaVM* gJavaVM) { in getJNIEnv()
61 JNIEnv* env; in getJNIEnv()
78 inline JNIEnv* getJNIEnv() { in getJNIEnv()
82 inline jclass getGlobalRefToClass(JNIEnv* env, const char* className) { in getGlobalRefToClass()
92 inline jmethodID getMethodRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) { in getMethodRef()
101 inline jfieldID getFieldRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) { in getFieldRef()
110 inline jclass findClass(JNIEnv* env, const char* name) { in findClass()
124 void jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMethods,
130 extern int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor);
[all …]
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/
Dorg_webrtc_voiceengine_test_AndroidTest.h16 (JNIEnv *, jclass);
24 (JNIEnv *, jobject, jint, jint);
32 (JNIEnv *, jobject);
40 (JNIEnv *, jobject);
48 (JNIEnv *, jobject, jboolean, jboolean);
56 (JNIEnv *, jobject);
64 (JNIEnv *, jobject);
72 (JNIEnv *, jobject, jint);
80 (JNIEnv *, jobject, jint, jint);
88 (JNIEnv *, jobject, jint, jint, jstring);
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Doperation_builder_jni.h31 JNIEnv *, jclass, jlong, jstring, jstring);
38 JNIEXPORT jlong JNICALL Java_org_tensorflow_OperationBuilder_finish(JNIEnv *,
48 JNIEnv *, jclass, jlong, jlong, jint);
56 JNIEnv *, jclass, jlong, jlongArray, jintArray);
64 JNIEnv *, jclass, jlong, jlong);
71 JNIEXPORT void JNICALL Java_org_tensorflow_OperationBuilder_setDevice(JNIEnv *,
82 JNIEnv *, jclass, jlong, jstring, jbyteArray);
90 JNIEnv *, jclass, jlong, jstring, jlong);
98 JNIEnv *, jclass, jlong, jstring, jlongArray);
106 JNIEnv *, jclass, jlong, jstring, jfloat);
[all …]
Dtensor_jni.h30 JNIEXPORT jlong JNICALL Java_org_tensorflow_Tensor_allocate(JNIEnv *, jclass,
40 Java_org_tensorflow_Tensor_allocateScalarBytes(JNIEnv *, jclass, jbyteArray);
48 JNIEnv *, jclass, jlongArray, jobjectArray);
55 JNIEXPORT void JNICALL Java_org_tensorflow_Tensor_delete(JNIEnv *, jclass,
63 JNIEXPORT jobject JNICALL Java_org_tensorflow_Tensor_buffer(JNIEnv *, jclass,
71 JNIEXPORT jint JNICALL Java_org_tensorflow_Tensor_dtype(JNIEnv *, jclass,
79 JNIEXPORT jlongArray JNICALL Java_org_tensorflow_Tensor_shape(JNIEnv *, jclass,
90 JNIEXPORT void JNICALL Java_org_tensorflow_Tensor_setValue(JNIEnv *, jclass,
99 JNIEXPORT jfloat JNICALL Java_org_tensorflow_Tensor_scalarFloat(JNIEnv *,
107 JNIEXPORT jdouble JNICALL Java_org_tensorflow_Tensor_scalarDouble(JNIEnv *,
[all …]
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.h58 JNIEnv* GetEnv();
63 JNIEnv* AttachCurrentThreadIfNeeded();
73 JNIEnv* jni, jclass c, const std::string& name, const char* signature);
76 JNIEnv* jni, jclass c, const char* name, const char* signature);
78 jfieldID GetFieldID(JNIEnv* jni, jclass c, const char* name,
81 jclass GetObjectClass(JNIEnv* jni, jobject object);
83 jobject GetObjectField(JNIEnv* jni, jobject object, jfieldID id);
85 jstring GetStringField(JNIEnv* jni, jobject object, jfieldID id);
87 jlong GetLongField(JNIEnv* jni, jobject object, jfieldID id);
89 jint GetIntField(JNIEnv* jni, jobject object, jfieldID id);
[all …]
Djni_helpers.cc52 JNIEnv* GetEnv() { in GetEnv()
58 return reinterpret_cast<JNIEnv*>(env); in GetEnv()
91 JNIEnv* jni = nullptr; in InitGlobalJniVariables()
117 JNIEnv* AttachCurrentThreadIfNeeded() { in AttachCurrentThreadIfNeeded()
118 JNIEnv* jni = GetEnv(); in AttachCurrentThreadIfNeeded()
133 JNIEnv* env = NULL; in AttachCurrentThreadIfNeeded()
138 jni = reinterpret_cast<JNIEnv*>(env); in AttachCurrentThreadIfNeeded()
160 JNIEnv* jni, jclass c, const std::string& name, const char* signature) { in GetMethodID()
169 JNIEnv* jni, jclass c, const char* name, const char* signature) { in GetStaticMethodID()
178 JNIEnv* jni, jclass c, const char* name, const char* signature) { in GetFieldID()
[all …]
Dpeerconnection_jni.cc149 JNIEnv* jni, const std::string& state_class_fragment, int index) { in JavaEnumFromIndex()
156 JNIEnv* jni, jobject j_init) { in JavaDataChannelInitToNative()
188 PCOJava(JNIEnv* jni, jobject j_observer) in PCOJava()
396 JNIEnv* jni() { in jni()
420 ConstraintsWrapper(JNIEnv* jni, jobject j_constraints) { in ConstraintsWrapper()
437 JNIEnv* jni, jobject j_constraints, in PopulateConstraintsFromJavaPairList()
475 JNIEnv* jni, const SessionDescriptionInterface* desc) { in JavaSdpFromNativeSdp()
503 SdpObserverWrapper(JNIEnv* jni, jobject j_observer, in SdpObserverWrapper()
542 JNIEnv* jni() { in jni()
555 CreateSdpObserverWrapper(JNIEnv* jni, jobject j_observer, in CreateSdpObserverWrapper()
[all …]
/external/libmojo/base/android/
Djni_array.h21 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env,
26 JNIEnv* env,
31 JNIEnv* env, const int* ints, size_t len);
34 JNIEnv* env, const std::vector<int>& ints);
37 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env,
42 JNIEnv* env,
47 JNIEnv* env, const float* floats, size_t len);
50 JNIEnv* env,
55 JNIEnv* env, const std::vector<std::string>& v);
58 JNIEnv* env, const std::vector<std::string>& v);
[all …]
Djni_android.h78 bool (*func)(JNIEnv* env);
82 BASE_EXPORT JNIEnv* AttachCurrentThread();
89 BASE_EXPORT JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name);
106 JNIEnv* env,
114 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env,
124 JNIEnv* env,
139 static jmethodID Get(JNIEnv* env,
148 static jmethodID LazyGet(JNIEnv* env,
156 BASE_EXPORT bool HasException(JNIEnv* env);
160 BASE_EXPORT bool ClearException(JNIEnv* env);
[all …]
Dscoped_java_ref.h26 explicit ScopedJavaLocalFrame(JNIEnv* env);
27 ScopedJavaLocalFrame(JNIEnv* env, int capacity);
33 JNIEnv* env_;
68 JavaRef(JNIEnv* env, jobject obj);
71 JavaRef(JNIEnv* env, jobject obj) : obj_(obj) {}
78 JNIEnv* SetNewLocalRef(JNIEnv* env, jobject obj);
79 void SetNewGlobalRef(JNIEnv* env, jobject obj);
80 void ResetLocalRef(JNIEnv* env);
103 JavaRef(JNIEnv* env, T obj) : JavaRef<jobject>(env, obj) {} in JavaRef()
118 JavaParamRef(JNIEnv* env, T obj) : JavaRef<T>(env, obj) {} in JavaParamRef()
[all …]
Dtrace_event_binding.cc30 TraceEventDataConverter(JNIEnv* env, jstring jname, jstring jarg) in TraceEventDataConverter()
54 JNIEnv* env = base::android::AttachCurrentThread(); in OnTraceLogEnabled()
58 JNIEnv* env = base::android::AttachCurrentThread(); in OnTraceLogDisabled()
67 static void RegisterEnabledObserver(JNIEnv* env, in RegisterEnabledObserver()
75 static void StartATrace(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in StartATrace()
79 static void StopATrace(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in StopATrace()
83 static void Instant(JNIEnv* env, in Instant()
98 static void Begin(JNIEnv* env, in Begin()
111 static void End(JNIEnv* env, in End()
124 static void BeginToplevel(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in BeginToplevel()
[all …]
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc50 void init(JavaVM* vm, JNIEnv* env) { in init()
81 void jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMethods, in jniRegisterNativeMethods()
100 int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
125 int throwException(JNIEnv* env, const char* className, const char* msg) { in throwException()
144 int throwRuntimeException(JNIEnv* env, const char* msg) { in throwRuntimeException()
148 int throwAssertionError(JNIEnv* env, const char* msg) { in throwAssertionError()
152 int throwNullPointerException(JNIEnv* env, const char* msg) { in throwNullPointerException()
156 int throwOutOfMemory(JNIEnv* env, const char* message) { in throwOutOfMemory()
160 int throwBadPaddingException(JNIEnv* env, const char* message) { in throwBadPaddingException()
165 int throwSignatureException(JNIEnv* env, const char* message) { in throwSignatureException()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dobject_tracker_jni.cc38 ObjectTracker* get_object_tracker(JNIEnv* env, jobject thiz) { in get_object_tracker()
45 void set_object_tracker(JNIEnv* env, jobject thiz, in set_object_tracker()
55 void JNICALL OBJECT_TRACKER_METHOD(initNative)(JNIEnv* env, jobject thiz,
60 void JNICALL OBJECT_TRACKER_METHOD(releaseMemoryNative)(JNIEnv* env,
65 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1,
70 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1,
75 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1,
79 jboolean JNICALL OBJECT_TRACKER_METHOD(haveObject)(JNIEnv* env, jobject thiz,
83 jboolean JNICALL OBJECT_TRACKER_METHOD(isObjectVisible)(JNIEnv* env,
88 jstring JNICALL OBJECT_TRACKER_METHOD(getModelIdNative)(JNIEnv* env,
[all …]
/external/libmojo/base/android/jni_generator/
Dsample_for_tests.cc26 JNIEnv* env, in MethodOtherP0()
38 bool CPPClass::RegisterJNI(JNIEnv* env) { in RegisterJNI()
42 void CPPClass::Destroy(JNIEnv* env, const JavaParamRef<jobject>& caller) { in Destroy()
46 jint CPPClass::Method(JNIEnv* env, const JavaParamRef<jobject>& caller) { in Method()
50 void CPPClass::AddStructB(JNIEnv* env, in AddStructB()
60 JNIEnv* env, in IterateAndDoSomethingWithStructB()
73 JNIEnv* env, in ReturnAString()
79 static jlong Init(JNIEnv* env, in Init()
85 static jdouble GetDoubleFunction(JNIEnv*, const JavaParamRef<jobject>&) { in GetDoubleFunction() argument
89 static jfloat GetFloatFunction(JNIEnv*, const JavaParamRef<jclass>&) { in GetFloatFunction() argument
[all …]
DtestConstantsFromJavaP.golden116 static void Java_MotionEvent_finalize(JNIEnv* env, const
118 static void Java_MotionEvent_finalize(JNIEnv* env, const
138 Java_MotionEvent_obtainAVME_J_J_I_I_LAVMEPP_LAVMEPC_I_I_F_F_I_I_I_I(JNIEnv*
154 Java_MotionEvent_obtainAVME_J_J_I_I_LAVMEPP_LAVMEPC_I_I_F_F_I_I_I_I(JNIEnv*
191 Java_MotionEvent_obtainAVME_J_J_I_I_AI_LAVMEPC_I_F_F_I_I_I_I(JNIEnv* env,
206 Java_MotionEvent_obtainAVME_J_J_I_I_AI_LAVMEPC_I_F_F_I_I_I_I(JNIEnv* env,
242 Java_MotionEvent_obtainAVME_J_J_I_F_F_F_F_I_F_F_I_I(JNIEnv* env, jlong p0,
255 Java_MotionEvent_obtainAVME_J_J_I_F_F_F_F_I_F_F_I_I(JNIEnv* env, jlong p0,
288 Java_MotionEvent_obtainAVME_J_J_I_I_F_F_F_F_I_F_F_I_I(JNIEnv* env, jlong p0,
302 Java_MotionEvent_obtainAVME_J_J_I_I_F_F_F_F_I_F_F_I_I(JNIEnv* env, jlong p0,
[all …]
/external/drrickorang/LoopbackApp/app/src/main/jni/
Djni_sles.h29 (JNIEnv *, jobject, jint, jint, jint, jint, jint, jdouble, jobject byteBuffer,
33 (JNIEnv *, jobject, jlong, jdoubleArray, jlong);
36 (JNIEnv *, jobject, jlong);
40 (JNIEnv *, jobject, jlong);
44 (JNIEnv *, jobject, jlong);
48 (JNIEnv *, jobject, jlong);
52 (JNIEnv *, jobject, jlong);
56 (JNIEnv *, jobject, jlong);
60 (JNIEnv *, jobject, jlong);
64 (JNIEnv *, jobject, jlong);
/external/libjpeg-turbo/java/
Dorg_libjpegturbo_turbojpeg_TJDecompressor.h16 (JNIEnv *, jobject);
24 (JNIEnv *, jobject);
32 (JNIEnv *, jobject, jbyteArray, jint);
40 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint, jint, jint, jint, jint);
48 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint, jint, jint, jint, jint, jint, jint);
56 (JNIEnv *, jobject, jbyteArray, jint, jintArray, jint, jint, jint, jint, jint);
64 (JNIEnv *, jobject, jbyteArray, jint, jintArray, jint, jint, jint, jint, jint, jint, jint);
72 (JNIEnv *, jobject, jbyteArray, jint, jbyteArray, jint);
80 (JNIEnv *, jobject, jbyteArray, jint, jobjectArray, jintArray, jint, jintArray, jint, jint);
88 …(JNIEnv *, jobject, jobjectArray, jintArray, jintArray, jint, jbyteArray, jint, jint, jint, jint, …
[all …]
Dorg_libjpegturbo_turbojpeg_TJCompressor.h16 (JNIEnv *, jobject);
24 (JNIEnv *, jobject);
32 (JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
40 (JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
48 (JNIEnv *, jobject, jintArray, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
56 (JNIEnv *, jobject, jintArray, jint, jint, jint, jint, jint, jint, jbyteArray, jint, jint, jint);
64 (JNIEnv *, jobject, jobjectArray, jintArray, jint, jintArray, jint, jint, jbyteArray, jint, jint);
72 (JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jbyteArray, jint, jint);
80 …(JNIEnv *, jobject, jbyteArray, jint, jint, jint, jint, jint, jint, jobjectArray, jintArray, jintA…
88 (JNIEnv *, jobject, jintArray, jint, jint, jint, jint, jbyteArray, jint, jint);
[all …]
/external/webrtc/webrtc/modules/utility/include/
Dhelpers_android.h26 JNIEnv* GetEnv(JavaVM* jvm);
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);
44 jobject NewGlobalRef(JNIEnv* jni, jobject o);
46 void DeleteGlobalRef(JNIEnv* jni, jobject o);
60 JNIEnv* env();
65 JNIEnv* env_;
72 ScopedGlobalRef(JNIEnv* jni, T obj) in ScopedGlobalRef()
81 JNIEnv* jni_;
/external/tensorflow/tensorflow/contrib/lite/java/src/main/native/
Dnativeinterpreterwrapper_jni.h43 Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames(JNIEnv* env,
53 Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames(JNIEnv* env,
63 Java_org_tensorflow_lite_NativeInterpreterWrapper_useNNAPI(JNIEnv* env,
75 JNIEnv* env, jclass clazz, jint size);
84 JNIEnv* env, jclass clazz, jstring model_file, jlong error_handle);
93 JNIEnv* env, jclass clazz, jobject model_buffer, jlong error_handle);
102 JNIEnv* env, jclass clazz, jlong model_handle, jlong error_handle);
111 JNIEnv* env, jclass clazz, jlong interpreter_handle, jlong error_handle,
125 JNIEnv* env, jclass clazz, jlong handle, jint input_idx, jint num_bytes);
136 JNIEnv* env, jclass clazz, jlong interpreter_handle, jlong error_handle,
[all …]
/external/libtextclassifier/
Dtextclassifier_jni.h71 (JNIEnv* env, jobject thiz, jint fd);
74 (JNIEnv* env, jobject thiz, jstring path);
77 (JNIEnv* env, jobject thiz, jobject afd, jlong offset, jlong size);
80 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
84 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
88 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jobject options);
91 (JNIEnv* env, jobject thiz, jlong ptr);
95 (JNIEnv* env, jobject clazz, jint fd);
98 (JNIEnv* env, jobject clazz, jint fd);
101 (JNIEnv* env, jobject thiz, jobject afd, jlong offset, jlong size);
[all …]

1234567891011