Home
last modified time | relevance | path

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

123

/external/webkit/WebKit/android/benchmark/
DMyJavaVM.cpp32 static JNIEnv* s_env;
36 jint vm_attachCurrentThread(JavaVM*, JNIEnv** env, void*) { in vm_attachCurrentThread()
42 jobject env_callObjectMethodV(JNIEnv*, jobject, jmethodID, va_list) { in env_callObjectMethodV() argument
45 void env_callVoidMethodV(JNIEnv*, jobject, jmethodID, va_list) {} in env_callVoidMethodV() argument
46 void env_deleteRef(JNIEnv*, jobject) {} in env_deleteRef() argument
47 jboolean env_exceptionCheck(JNIEnv*) { in env_exceptionCheck() argument
50 jclass env_findClass(JNIEnv*, const char*) { in env_findClass() argument
53 jbyte* env_getByteArrayElements(JNIEnv*, jbyteArray, jboolean*) { in env_getByteArrayElements() argument
56 jmethodID env_getMethodID(JNIEnv*, jclass, const char*, const char*) { in env_getMethodID() argument
59 jclass env_getObjectClass(JNIEnv*, jobject) { in env_getObjectClass() argument
[all …]
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp55 static void JNU_ThrowByName(JNIEnv *env, const char* name, const char* msg) { in JNU_ThrowByName()
63 static void unimplemented(JNIEnv* env) { in unimplemented()
67 static void checkEsrError(JNIEnv* env, ESR_ReturnCode esr_status) { in checkEsrError()
79 (JNIEnv *env, jclass clazz) { in Java_android_speech_srec_Recognizer_PMemInit()
84 (JNIEnv *env, jclass clazz) { in Java_android_speech_srec_Recognizer_PMemShutdown()
94 (JNIEnv *env, jclass clazz, jstring fileName) { in Java_android_speech_srec_Recognizer_SR_1SessionCreate()
102 (JNIEnv *env, jclass clazz) { in Java_android_speech_srec_Recognizer_SR_1SessionDestroy()
112 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerStart()
117 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerStop()
122 (JNIEnv *env, jclass clazz) { in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate()
[all …]
Dandroid_speech_srec_MicrophoneInputStream.cpp40 static void throwException(JNIEnv *env, const char* ex, const char* fmt, int data) { in throwException()
55 (JNIEnv *env, jclass clazz, jint sampleRate, jint fifoFrames) { in Java_android_speech_srec_Recognizer_AudioRecordNew()
76 (JNIEnv *env, jclass clazz, jint audioRecord) { in Java_android_speech_srec_Recognizer_AudioRecordStart()
81 (JNIEnv *env, jclass clazz, jint audioRecord, jbyteArray array, jint offset, jint length) { in Java_android_speech_srec_Recognizer_AudioRecordRead()
94 (JNIEnv *env, jclass clazz, jint audioRecord) { in Java_android_speech_srec_Recognizer_AudioRecordStop()
101 (JNIEnv *env, jclass clazz, jint audioRecord) { in Java_android_speech_srec_Recognizer_AudioRecordDelete()
125 JNIEnv* env = NULL; in register_android_speech_srec_MicrophoneInputStream()
/external/webkit/WebKit/android/jni/
DJavaBridge.cpp68 JavaBridge(JNIEnv* env, jobject obj);
97 static void Constructor(JNIEnv* env, jobject obj);
98 static void Finalize(JNIEnv* env, jobject obj);
99 static void SharedTimerFired(JNIEnv* env, jobject);
100 static void SetCacheSize(JNIEnv* env, jobject obj, jint bytes);
101 static void SetNetworkOnLine(JNIEnv* env, jobject obj, jboolean online);
102 static void SetNetworkType(JNIEnv* env, jobject obj, jstring type, jstring subtype);
103 static void SetDeferringTimers(JNIEnv* env, jobject obj, jboolean defer);
104 static void ServiceFuncPtrQueue(JNIEnv*);
105 …static void UpdatePluginDirectories(JNIEnv* env, jobject obj, jobjectArray array, jboolean reload);
[all …]
DWebCoreResourceLoader.h38 static PassRefPtr<WebCore::ResourceLoaderAndroid> create(JNIEnv *env, jobject jLoadListener);
60 static void SetResponseHeader(JNIEnv*, jobject, jint, jstring, jstring);
61 static jint CreateResponse(JNIEnv*, jobject, jstring, jint, jstring,
63 static void ReceivedResponse(JNIEnv*, jobject, jint);
64 static void AddData(JNIEnv*, jobject, jbyteArray, jint);
65 static void Finished(JNIEnv*, jobject);
66 static jstring RedirectedToUrl(JNIEnv*, jobject, jstring, jstring, jint);
67 static void Error(JNIEnv*, jobject, jint, jstring, jstring);
70 WebCoreResourceLoader(JNIEnv *env, jobject jLoadListener);
DWebCoreJniOnLoad.cpp71 extern int register_webframe(JNIEnv*);
72 extern int register_javabridge(JNIEnv*);
73 extern int register_resource_loader(JNIEnv*);
74 extern int register_webviewcore(JNIEnv*);
75 extern int register_webhistory(JNIEnv*);
76 extern int register_webicondatabase(JNIEnv*);
77 extern int register_websettings(JNIEnv*);
78 extern int register_webview(JNIEnv*);
80 extern int register_webstorage(JNIEnv*);
82 extern int register_geolocation_permissions(JNIEnv*);
[all …]
DWebCoreJni.h52 JNIEnv* env() const { in env()
56 AutoJObject(JNIEnv* env, jobject obj) in AutoJObject()
59 JNIEnv* m_env;
61 friend AutoJObject getRealObject(JNIEnv*, jobject);
66 AutoJObject getRealObject(JNIEnv*, jobject);
70 bool checkException(JNIEnv* env);
73 WebCore::String to_string(JNIEnv* env, jstring str);
DWebCoreResourceLoader.cpp70 PassRefPtr<WebCore::ResourceLoaderAndroid> WebCoreResourceLoader::create(JNIEnv *env, jobject jLoad… in create()
75 WebCoreResourceLoader::WebCoreResourceLoader(JNIEnv *env, jobject jLoadListener) in WebCoreResourceLoader()
83 JNIEnv* env = JSC::Bindings::getJNIEnv(); in ~WebCoreResourceLoader()
91 JNIEnv* env = JSC::Bindings::getJNIEnv(); in cancel()
98 JNIEnv* env = JSC::Bindings::getJNIEnv(); in downloadFile()
109 JNIEnv* env = JSC::Bindings::getJNIEnv(); in pauseLoad()
121 JNIEnv* env = JSC::Bindings::getJNIEnv(); in willLoadFromCache()
134 void WebCoreResourceLoader::SetResponseHeader(JNIEnv* env, jobject obj, jint nativeResponse, jstrin… in SetResponseHeader()
151 jint WebCoreResourceLoader::CreateResponse(JNIEnv* env, jobject obj, jstring url, jint statusCode, in CreateResponse()
182 void WebCoreResourceLoader::ReceivedResponse(JNIEnv* env, jobject obj, jint nativeResponse) in ReceivedResponse()
[all …]
DWebCoreFrameBridge.cpp191 AutoJObject frame(JNIEnv* env) { in frame()
194 AutoJObject history(JNIEnv* env) { in history()
205 WebFrame::WebFrame(JNIEnv* env, jobject obj, jobject historyList, WebCore::Page* page) in WebFrame()
278 JNIEnv* env = getJNIEnv(); in ~WebFrame()
293 static jobject createJavaMapFromHTTPHeaders(JNIEnv* env, const WebCore::HTTPHeaderMap& map) in createJavaMapFromHTTPHeaders()
330 static jstring uriFromUriFileName(JNIEnv* env, const WebCore::String& name) in uriFromUriFileName()
343 FileInfo(JNIEnv* env, const WebCore::String& name) { in FileInfo()
358 JNIEnv* m_env;
378 JNIEnv* env = getJNIEnv(); in startLoadingResource()
516 JNIEnv* env = getJNIEnv(); in reportError()
[all …]
DWebViewCore.cpp184 JNIEnv* env = JSC::Bindings::getJNIEnv(); in getApplicationContext()
199 JNIEnv* env = JSC::Bindings::getJNIEnv(); in supportsMimeType()
274 AutoJObject object(JNIEnv* env) { in object()
283 static jmethodID GetJMethod(JNIEnv* env, jclass clazz, const char name[], const char signature[]) in GetJMethod()
295 WebViewCore::WebViewCore(JNIEnv* env, jobject javaWebViewCore, WebCore::Frame* mainframe) in WebViewCore()
385 JNIEnv* env = JSC::Bindings::getJNIEnv(); in ~WebViewCore()
686 JNIEnv* env = JSC::Bindings::getJNIEnv(); in recordPictureSet()
922 JNIEnv* env = JSC::Bindings::getJNIEnv(); in scrollTo()
932 JNIEnv* env = JSC::Bindings::getJNIEnv(); in sendNotifyProgressFinished()
940 JNIEnv* env = JSC::Bindings::getJNIEnv(); in viewInvalidate()
[all …]
DGeolocationPermissionsBridge.cpp42 static jobject getOrigins(JNIEnv* env, jobject obj) in getOrigins()
60 static bool getAllowed(JNIEnv* env, jobject obj, jstring origin) in getAllowed()
66 static void clear(JNIEnv* env, jobject obj, jstring origin) in clear()
72 static void allow(JNIEnv* env, jobject obj, jstring origin) in allow()
78 static void clearAll(JNIEnv* env, jobject obj) in clearAll()
99 int register_geolocation_permissions(JNIEnv* env) in register_geolocation_permissions()
DWebStorage.cpp43 static jobject GetOrigins(JNIEnv* env, jobject obj) in GetOrigins()
74 static unsigned long long GetQuotaForOrigin(JNIEnv* env, jobject obj, jstring origin) in GetQuotaForOrigin()
82 static unsigned long long GetUsageForOrigin(JNIEnv* env, jobject obj, jstring origin) in GetUsageForOrigin()
104 static void SetQuotaForOrigin(JNIEnv* env, jobject obj, jstring origin, unsigned long long quota) in SetQuotaForOrigin()
111 static void DeleteOrigin(JNIEnv* env, jobject obj, jstring origin) in DeleteOrigin()
130 static void DeleteAllData(JNIEnv* env, jobject obj) in DeleteAllData()
141 static void SetAppCacheMaximumSize(JNIEnv* env, jobject obj, unsigned long long size) in SetAppCacheMaximumSize()
166 int register_webstorage(JNIEnv* env) in register_webstorage()
DWebIconDatabase.cpp52 jobject webcoreImageToJavaBitmap(JNIEnv* env, WebCore::Image* icon) in webcoreImageToJavaBitmap()
134 static void Open(JNIEnv* env, jobject obj, jstring path) in Open()
166 static void Close(JNIEnv* env, jobject obj) in Close()
171 static void RemoveAllIcons(JNIEnv* env, jobject obj) in RemoveAllIcons()
177 static jobject IconForPageUrl(JNIEnv* env, jobject obj, jstring url) in IconForPageUrl()
188 static void RetainIconForPageUrl(JNIEnv* env, jobject obj, jstring url) in RetainIconForPageUrl()
197 static void ReleaseIconForPageUrl(JNIEnv* env, jobject obj, jstring url) in ReleaseIconForPageUrl()
224 int register_webicondatabase(JNIEnv* env) in register_webicondatabase()
DWebCoreJni.cpp38 AutoJObject getRealObject(JNIEnv* env, jobject obj) in getRealObject()
49 bool checkException(JNIEnv* env) in checkException()
61 WebCore::String to_string(JNIEnv* env, jstring str) in to_string()
/external/webkit/WebKit/android/nav/
DWebView.cpp78 static jmethodID GetJMethod(JNIEnv* env, jclass clazz, const char name[], const char signature[]) in GetJMethod()
130 AutoJObject object(JNIEnv* env) { in object()
135 WebView(JNIEnv* env, jobject javaWebView, int viewImpl) : in WebView()
187 JNIEnv* env = JSC::Bindings::getJNIEnv(); in ~WebView()
227 JNIEnv* env = JSC::Bindings::getJNIEnv(); in clearTextEntry()
337 JNIEnv* env = JSC::Bindings::getJNIEnv(); in calcOurContentVisibleRect()
589 JNIEnv* env = JSC::Bindings::getJNIEnv(); in getFrameCache()
603 JNIEnv* env = JSC::Bindings::getJNIEnv(); in getScaledMaxXScroll()
612 JNIEnv* env = JSC::Bindings::getJNIEnv(); in getScaledMaxYScroll()
621 JNIEnv* env = JSC::Bindings::getJNIEnv(); in getVisibleRect()
[all …]
/external/clearsilver/java-jni/
Dj_neo_util.c17 void throwException(JNIEnv *env, const char* class_name, const char *message) { in throwException()
26 void throwNullPointerException(JNIEnv *env, const char *message) { in throwNullPointerException()
30 void throwRuntimeException(JNIEnv *env, const char *message) { in throwRuntimeException()
34 void throwIOException(JNIEnv *env, const char *message) { in throwIOException()
38 void throwFileNotFoundException(JNIEnv *env, const char *message) { in throwFileNotFoundException()
42 void throwOutOfMemoryError(JNIEnv *env, const char *message) { in throwOutOfMemoryError()
49 int jNeoErr(JNIEnv *env, NEOERR *err) { in jNeoErr()
74 JNIEnv *env, jclass objClass) { in Java_org_clearsilver_HDF__1init()
86 JNIEnv *env, jclass objClass, jlong hdf_obj_ptr) { in Java_org_clearsilver_HDF__1dealloc()
92 JNIEnv *env, jclass objClass, jlong hdf_obj_ptr, jstring j_hdfname, in Java_org_clearsilver_HDF__1getIntValue()
[all …]
Dj_neo_cs.c21 static void jErr(JNIEnv *env, char *error_string) { in jErr()
31 int jNeoErr (JNIEnv *env, NEOERR *err);
34 (JNIEnv *env, jobject obj, jlong hdf_obj_ptr) { in Java_org_clearsilver_CS__1init()
53 (JNIEnv *env, jclass objClass, jlong cs_obj_ptr) { in Java_org_clearsilver_CS__1dealloc()
59 JNIEXPORT void JNICALL Java_org_clearsilver_CS__1parseFile(JNIEnv *env, in Java_org_clearsilver_CS__1parseFile()
93 (JNIEnv *env, jclass objClass, jlong cs_obj_ptr, in Java_org_clearsilver_CS__1parseStr()
126 (JNIEnv *env, jclass objClass, jlong cs_obj_ptr) { in Java_org_clearsilver_CS__1render()
176 (JNIEnv *env, jobject objclass, jlong cs_obj_ptr, jlong hdf_obj_ptr) { in Java_org_clearsilver_CS__1setGlobalHdf()
/external/quake/quake/src/WinQuake/
DmasterMain.cpp36 qinit(JNIEnv *env, jobject thiz) { in qinit()
42 qevent(JNIEnv *env, jobject thiz, jint type, jint value) { in qevent()
47 qmotionevent(JNIEnv *env, jobject thiz, jlong eventTime, jint action, in qmotionevent()
55 qtrackballevent(JNIEnv *env, jobject thiz, jlong eventTime, jint action, in qtrackballevent()
62 qstep(JNIEnv *env, jobject thiz, jint width, jint height) { in qstep()
67 qquit(JNIEnv *env, jobject thiz) { in qquit()
86 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods()
108 static int registerNatives(JNIEnv* env) in registerNatives()
125 JNIEnv* env;
134 JNIEnv* env = NULL; in JNI_OnLoad()
/external/webkit/WebCore/bridge/jni/
Djni_jsobject.h115 jlong KJS_JSCreateNativeJSObject(JNIEnv*, jclass, jstring jurl, jlong nativeHandle, jboolean ctx);
116 void KJS_JSObject_JSFinalize(JNIEnv*, jclass, jlong nativeJSObject);
117 jobject KJS_JSObject_JSObjectCall(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jstring meth…
118 jobject KJS_JSObject_JSObjectEval(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jstring jscr…
119 jobject KJS_JSObject_JSObjectGetMember(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jstring…
120 void KJS_JSObject_JSObjectSetMember(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jstring jn…
121 void KJS_JSObject_JSObjectRemoveMember(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jstring…
122 jobject KJS_JSObject_JSObjectGetSlot(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jint jind…
123 void KJS_JSObject_JSObjectSetSlot(JNIEnv*, jclass, jlong nativeJSObject, jstring jurl, jint jindex,…
124 jstring KJS_JSObject_JSObjectToString(JNIEnv*, jclass, jlong nativeJSObject);
DJNIUtility.cpp85 JNIEnv* getJNIEnv() in getJNIEnv()
88 JNIEnv* env; in getJNIEnv()
102 JNIEnv* env = getJNIEnv(); in getMethodID()
131 const char* getCharactersFromJStringInEnv(JNIEnv* env, jstring aJString) in getCharactersFromJStringInEnv()
143 void releaseCharactersForJStringInEnv(JNIEnv* env, jstring aJString, const char* s) in releaseCharactersForJStringInEnv()
148 const jchar* getUCharactersFromJStringInEnv(JNIEnv* env, jstring aJString) in getUCharactersFromJStringInEnv()
160 void releaseUCharactersForJStringInEnv(JNIEnv* env, jstring aJString, const jchar* s) in releaseUCharactersForJStringInEnv()
283 JNIEnv* env = getJNIEnv(); in getJNIField()
DJNIUtility.h62 const char* getCharactersFromJStringInEnv(JNIEnv*, jstring);
63 void releaseCharactersForJStringInEnv(JNIEnv*, jstring, const char*);
64 const jchar* getUCharactersFromJStringInEnv(JNIEnv*, jstring);
65 void releaseUCharactersForJStringInEnv(JNIEnv*, jstring, const jchar*);
74 JNIEnv* getJNIEnv();
204 JNIEnv* env = getJNIEnv();
245 JNIEnv* env = getJNIEnv();
/external/webkit/WebKit/android/WebCoreSupport/
DMediaPlayerPrivateAndroid.cpp67 JNIEnv* env = JSC::Bindings::getJNIEnv(); in ~MediaPlayerPrivate()
83 JNIEnv* env = JSC::Bindings::getJNIEnv(); in pause()
101 JNIEnv* env = JSC::Bindings::getJNIEnv(); in seek()
175 JNIEnv* env = JSC::Bindings::getJNIEnv(); in play()
189 JNIEnv* env = JSC::Bindings::getJNIEnv(); in setPoster()
248 JNIEnv* env = JSC::Bindings::getJNIEnv(); in MediaPlayerVideoPrivate()
276 JNIEnv* env = JSC::Bindings::getJNIEnv(); in createJavaPlayerIfNeeded()
321 JNIEnv* env = JSC::Bindings::getJNIEnv(); in load()
338 JNIEnv* env = JSC::Bindings::getJNIEnv(); in play()
356 JNIEnv* env = JSC::Bindings::getJNIEnv(); in maxTimeSeekable()
[all …]
/external/quake/quake/src/QW/client/
Dmain.cpp38 qinit(JNIEnv *env, jobject thiz, /* jobjectArray config, */ in qinit()
44 qevent(JNIEnv *env, jobject thiz, jint type, jint value) { in qevent()
49 qstep(JNIEnv *env, jobject thiz) { in qstep()
54 qquitting(JNIEnv *env, jobject thiz) { in qquitting()
70 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods()
92 static int registerNatives(JNIEnv* env) in registerNatives()
109 JNIEnv* env = NULL; in JNI_OnLoad()
/external/neven/
DFaceDetector_jni.cpp88 static void doThrow(JNIEnv* env, const char* exc, const char* msg = NULL) in doThrow()
96 (JNIEnv *_env, jclass _this) in nativeClassInit()
122 initialize(JNIEnv *_env, jobject _this, in initialize()
184 destroy(JNIEnv *_env, jobject _this) in destroy()
198 detect(JNIEnv *_env, jobject _this, in detect()
256 get_face(JNIEnv *_env, jobject _this, in get_face()
289 int register_android_media_FaceDetector(JNIEnv *_env) in register_android_media_FaceDetector()
299 JNIEnv* env = NULL; in JNI_OnLoad()
/external/webkit/WebCore/platform/android/
DGeolocationServiceBridge.h51 static void newLocationAvailable(JNIEnv *env, jclass, jlong nativeObject, jobject location);
52 static void newErrorAvailable(JNIEnv *env, jclass, jlong nativeObject, jstring message);
53 static PassRefPtr<Geoposition> toGeoposition(JNIEnv *env, const jobject &location);

123