Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 38) sorted by relevance

12

/packages/inputmethods/PinyinIME/jni/android/
Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp48 JNIEXPORT jboolean JNICALL nativeImOpenDecoder(JNIEnv* env, jclass jclazz, in nativeImOpenDecoder()
65 JNIEXPORT jboolean JNICALL nativeImOpenDecoderFd(JNIEnv* env, jclass jclazz, in nativeImOpenDecoderFd()
86 JNIEXPORT void JNICALL nativeImSetMaxLens(JNIEnv* env, jclass jclazz, in nativeImSetMaxLens()
94 JNIEXPORT jboolean JNICALL nativeImCloseDecoder(JNIEnv* env, jclass jclazz) { in nativeImCloseDecoder()
99 JNIEXPORT jint JNICALL nativeImSearch(JNIEnv* env, jclass jclazz, in nativeImSearch()
113 JNIEXPORT jint JNICALL nativeImDelSearch(JNIEnv* env, jclass jclazz, jint pos, in nativeImDelSearch()
119 JNIEXPORT void JNICALL nativeImResetSearch(JNIEnv* env, jclass jclazz) { in nativeImResetSearch()
124 JNIEXPORT jint JNICALL nativeImAddLetter(JNIEnv *env, jclass clazz, jbyte ch) { in nativeImAddLetter()
128 JNIEXPORT jstring JNICALL nativeImGetPyStr(JNIEnv* env, jclass jclazz, in nativeImGetPyStr()
149 JNIEXPORT jint JNICALL nativeImGetPyStrLen(JNIEnv* env, jclass jclazz, in nativeImGetPyStrLen()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars ) in convertStringToNjChar()
136 static int convertNjCharToString( JNIEnv* env, jstring* dstJ, NJ_CHAR* src, int maxChars ) in convertNjCharToString()
206 (JNIEnv *env, jobject obj, jstring dicLibPathJ) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork()
285 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork()
311 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParameters()
341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
385 (JNIEnv *env, jobject obj, jlong wnnWork, jint operation, jint order, jstring keyString) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
453 (JNIEnv *env, jclass obj, jlong wnnWork, jint length) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
497 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke()
530 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hdp.cpp46 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
100 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
133 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
169 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
191 static jint registerHealthAppNative(JNIEnv *env, jobject object, jint data_type, in registerHealthAppNative()
223 static jboolean unregisterHealthAppNative(JNIEnv *env, jobject object, int app_id) { in unregisterHealthAppNative()
233 static jint connectChannelNative(JNIEnv *env, jobject object, in connectChannelNative()
257 static jboolean disconnectChannelNative(JNIEnv *env, jobject object, jint channel_id) { in disconnectChannelNative()
279 int register_com_android_bluetooth_hdp(JNIEnv* env) in register_com_android_bluetooth_hdp()
Dcom_android_bluetooth_avrcp.cpp47 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
160 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
181 static void initNative(JNIEnv *env, jobject object) { in initNative()
218 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
237 static jboolean getPlayStatusRspNative(JNIEnv *env, jobject object, jint playStatus, in getPlayStatusRspNative()
252 static jboolean getElementAttrRspNative(JNIEnv *env, jobject object, jbyte numAttr, in getElementAttrRspNative()
318 static jboolean registerNotificationRspPlayStatusNative(JNIEnv *env, jobject object, in registerNotificationRspPlayStatusNative()
335 static jboolean registerNotificationRspTrackChangeNative(JNIEnv *env, jobject object, in registerNotificationRspTrackChangeNative()
364 static jboolean registerNotificationRspPlayPosNative(JNIEnv *env, jobject object, in registerNotificationRspPlayPosNative()
381 static jboolean setVolumeNative(JNIEnv *env, jobject object, jint volume) { in setVolumeNative()
[all …]
Dcom_android_bluetooth_hfp.cpp65 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
219 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
268 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
304 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
326 static jboolean connectHfpNative(JNIEnv *env, jobject object, jbyteArray address) { in connectHfpNative()
346 static jboolean disconnectHfpNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectHfpNative()
365 static jboolean connectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { in connectAudioNative()
385 static jboolean disconnectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectAudioNative()
405 static jboolean startVoiceRecognitionNative(JNIEnv *env, jobject object) { in startVoiceRecognitionNative()
415 static jboolean stopVoiceRecognitionNative(JNIEnv *env, jobject object) { in stopVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_a2dp.cpp45 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
102 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
137 static void initNative(JNIEnv *env, jobject object) { in initNative()
173 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
193 static jboolean connectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in connectA2dpNative()
215 static jboolean disconnectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectA2dpNative()
242 int register_com_android_bluetooth_a2dp(JNIEnv* env) in register_com_android_bluetooth_a2dp()
Dcom_android_bluetooth_hid.cpp54 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
145 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
178 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
217 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
241 static jboolean connectHidNative(JNIEnv *env, jobject object, jbyteArray address) { in connectHidNative()
263 static jboolean disconnectHidNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectHidNative()
285 static jboolean getProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address) { in getProtocolModeNative()
308 static jboolean virtualUnPlugNative(JNIEnv *env, jobject object, jbyteArray address) { in virtualUnPlugNative()
330 static jboolean setProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address, jint protoco… in setProtocolModeNative()
366 static jboolean getReportNative(JNIEnv *env, jobject object, jbyteArray address, jbyte reportType, … in getReportNative()
[all …]
Dcom_android_bluetooth_btservice_AdapterService.cpp61 void checkAndClearExceptionFromCallback(JNIEnv* env, in checkAndClearExceptionFromCallback()
71 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
459 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
511 static bool initNative(JNIEnv* env, jobject obj) { in initNative()
532 static bool cleanupNative(JNIEnv *env, jobject obj) { in cleanupNative()
545 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative()
556 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative()
571 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative()
582 static jboolean cancelDiscoveryNative(JNIEnv* env, jobject obj) { in cancelDiscoveryNative()
593 static jboolean createBondNative(JNIEnv* env, jobject obj, jbyteArray address) { in createBondNative()
[all …]
Dcom_android_bluetooth_pan.cpp54 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
96 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
109 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
147 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
165 static jboolean enablePanNative(JNIEnv *env, jobject object, jint local_role) { in enablePanNative()
174 static jint getPanLocalRoleNative(JNIEnv *env, jobject object) { in getPanLocalRoleNative()
186 static jboolean connectPanNative(JNIEnv *env, jobject object, jbyteArray address, in connectPanNative()
210 static jboolean disconnectPanNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectPanNative()
243 int register_com_android_bluetooth_pan(JNIEnv* env) in register_com_android_bluetooth_pan()
Dcom_android_bluetooth_gatt.cpp127 static void jstr2bdaddr(JNIEnv* env, bt_bdaddr_t *bda, jstring address) in jstr2bdaddr()
191 JNIEnv* env = AndroidRuntime::getJNIEnv(); in checkCallbackThread() local
645 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative()
689 static void initializeNative(JNIEnv *env, jobject object) { in initializeNative()
726 static void cleanupNative(JNIEnv *env, jobject object) { in cleanupNative()
746 static int gattClientGetDeviceTypeNative(JNIEnv* env, jobject object, jstring address) in gattClientGetDeviceTypeNative()
754 static void gattClientRegisterAppNative(JNIEnv* env, jobject object, in gattClientRegisterAppNative()
764 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, jint clientIf) in gattClientUnregisterAppNative()
770 static void gattClientScanNative(JNIEnv* env, jobject object, jint clientIf, jboolean start) in gattClientScanNative()
776 static void gattClientConnectNative(JNIEnv* env, jobject object, jint clientif, in gattClientConnectNative()
[all …]
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, in OutputStream_setup()
84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens, in InputStream_setup()
148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getWPtr()
169 static JpegReader* getRPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getRPtr()
190 static void OutputStream_cleanup(JNIEnv* env, jobject thiz) { in OutputStream_cleanup()
205 static void InputStream_cleanup(JNIEnv* env, jobject thiz) { in InputStream_cleanup()
220 static jint OutputStream_writeInputBytes(JNIEnv* env, jobject thiz, in OutputStream_writeInputBytes()
246 static jint InputStream_readDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_readDecodedBytes()
276 static jint InputStream_skipDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_skipDecodedBytes()
311 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods()
[all …]
Dstream_wrapper.cpp32 void StreamWrapper::updateEnv(JNIEnv *env) { in updateEnv()
40 bool StreamWrapper::init(JNIEnv *env, jobject stream) { in init()
Djpeg_hook.cpp49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { in MakeDst()
74 void UpdateDstEnv(j_compress_ptr cinfo, JNIEnv* env) { in UpdateDstEnv()
156 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream){ in MakeSrc()
185 void UpdateSrcEnv(j_decompress_ptr cinfo, JNIEnv* env) { in UpdateSrcEnv()
Djpeg_writer.cpp44 int32_t JpegWriter::setup(JNIEnv *env, jobject out, int32_t width, int32_t height, in setup()
202 void JpegWriter::updateEnv(JNIEnv *env) { in updateEnv()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp28 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession()
34 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, in latinime_initDicTraverseSession()
49 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) { in latinime_releaseDicTraverseSession()
72 int register_DicTraverseSession(JNIEnv *env) { in register_DicTraverseSession()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp37 static jboolean latinime_BinaryDictionary_createEmptyDictFile(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_createEmptyDictFile()
77 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jclass clazz, jstring sourceDir, in latinime_BinaryDictionary_open()
103 static void latinime_BinaryDictionary_flush(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flush()
114 static bool latinime_BinaryDictionary_needsToRunGC(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_needsToRunGC()
121 static void latinime_BinaryDictionary_flushWithGC(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flushWithGC()
132 static void latinime_BinaryDictionary_close(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_close()
138 static int latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getSuggestions()
231 static jint latinime_BinaryDictionary_getProbability(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getProbability()
241 static jint latinime_BinaryDictionary_getBigramProbability(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_getBigramProbability()
255 static jfloat latinime_BinaryDictionary_calcNormalizedScore(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_calcNormalizedScore()
[all …]
Dcom_android_inputmethod_latin_makedict_Ver3DictDecoder.cpp26 static int latinime_Ver3DictDecoder_doNothing(JNIEnv *env, jclass clazz) { in latinime_Ver3DictDecoder_doNothing()
42 int register_Ver3DictDecoder(JNIEnv *env) { in register_Ver3DictDecoder()
Djni_common.cpp33 JNIEnv *env = 0; in JNI_OnLoad() local
67 int registerNativeMethods(JNIEnv *env, const char *const className, const JNINativeMethod *methods, in registerNativeMethods()
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp28 static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_Keyboard_setProximityInfo()
41 static void latinime_Keyboard_release(JNIEnv *env, jclass clazz, jlong proximityInfo) { in latinime_Keyboard_release()
59 int register_ProximityInfo(JNIEnv *env) { in register_ProximityInfo()
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp480 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_init()
544 JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) in Java_com_android_camera_panorama_MosaicRenderer_reset()
626 JNIEnv * env, jobject obj, jfloatArray stMatrix) in Java_com_android_camera_panorama_MosaicRenderer_preprocess()
655 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
693 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_step()
727 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_panorama_MosaicRenderer_setWarping()
754 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_ready()
Dfeature_mos_jni.cpp278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory()
297 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_freeMosaicMemory()
365 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_setSourceImageFromGPU()
417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_panorama_Mosaic_setSourceImage()
474 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_panorama_Mosaic_setBlendingType()
480 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_panorama_Mosaic_setStripType()
486 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_reset()
501 JNIEnv* env, jobject thiz, jboolean hires, jboolean cancel_computation) in Java_com_android_camera_panorama_Mosaic_reportProgress()
515 JNIEnv* env, jobject thiz, jboolean value) in Java_com_android_camera_panorama_Mosaic_createMosaic()
572 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
[all …]
/packages/apps/Camera/jni/
Dfeature_mos_jni.cpp278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_Mosaic_allocateMosaicMemory()
297 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_freeMosaicMemory()
365 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_setSourceImageFromGPU()
417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_Mosaic_setSourceImage()
474 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_Mosaic_setBlendingType()
480 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_Mosaic_setStripType()
486 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_reset()
501 JNIEnv* env, jobject thiz, jboolean hires, jboolean cancel_computation) in Java_com_android_camera_Mosaic_reportProgress()
515 JNIEnv* env, jobject thiz, jboolean value) in Java_com_android_camera_Mosaic_createMosaic()
572 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_getFinalMosaic()
[all …]
Dmosaic_renderer_jni.cpp512 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_init()
582 JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) in Java_com_android_camera_MosaicRenderer_reset()
663 JNIEnv * env, jobject obj, jfloatArray stMatrix) in Java_com_android_camera_MosaicRenderer_preprocess()
692 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()
730 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_step()
764 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_MosaicRenderer_setWarping()
796 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_updateMatrix()
/packages/apps/Camera2/jni/
Dfeature_mos_jni.cpp278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_Mosaic_allocateMosaicMemory()
297 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_freeMosaicMemory()
365 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_setSourceImageFromGPU()
417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_Mosaic_setSourceImage()
474 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_Mosaic_setBlendingType()
480 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_Mosaic_setStripType()
486 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_reset()
501 JNIEnv* env, jobject thiz, jboolean hires, jboolean cancel_computation) in Java_com_android_camera_Mosaic_reportProgress()
515 JNIEnv* env, jobject thiz, jboolean value) in Java_com_android_camera_Mosaic_createMosaic()
572 JNIEnv* env, jobject thiz) in Java_com_android_camera_Mosaic_getFinalMosaic()
[all …]
Dmosaic_renderer_jni.cpp512 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_init()
582 JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) in Java_com_android_camera_MosaicRenderer_reset()
663 JNIEnv * env, jobject obj, jfloatArray stMatrix) in Java_com_android_camera_MosaicRenderer_preprocess()
692 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()
730 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_step()
764 JNIEnv * env, jobject obj, jboolean flag) in Java_com_android_camera_MosaicRenderer_setWarping()
796 JNIEnv * env, jobject obj) in Java_com_android_camera_MosaicRenderer_updateMatrix()

12