Home
last modified time | relevance | path

Searched refs:jint (Results 1 – 25 of 66) sorted by relevance

123

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
Djp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni.h78 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork
86 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParamet…
94 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter
95 (JNIEnv *, jclass, jlong, jint, jint, jint);
102 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord
103 (JNIEnv *, jclass, jlong, jint, jint, jstring);
110 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord
111 (JNIEnv *, jclass, jlong, jint);
134 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getFrequency
142 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getLeftPartOfSpeech
[all …]
DOpenWnnDictionaryImplJni.c284 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork()
310 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParamet… in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParameters()
340 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
384 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
385 (JNIEnv *env, jobject obj, jlong wnnWork, jint operation, jint order, jstring keyString) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
409 jint result; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
427 result = ( jint )njx_search_word( &( work->wnnClass ), &( work->cursor ) ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
452 JNIEXPORT jint JNICALL Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
453 (JNIEnv *env, jclass obj, jlong wnnWork, jint length) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_sdp.cpp208 (jint) status, in sdp_search_callback()
211 (jint)record->mas.mas_instance_id, in sdp_search_callback()
212 (jint)record->mas.hdr.l2cap_psm, in sdp_search_callback()
213 (jint)record->mas.hdr.rfcomm_channel_number, in sdp_search_callback()
214 (jint)record->mas.hdr.profile_version, in sdp_search_callback()
215 (jint)record->mas.supported_features, in sdp_search_callback()
216 (jint)record->mas.supported_message_types, in sdp_search_callback()
223 (jint) status, in sdp_search_callback()
226 (jint)record->mns.hdr.l2cap_psm, in sdp_search_callback()
227 (jint)record->mns.hdr.rfcomm_channel_number, in sdp_search_callback()
[all …]
Dcom_android_bluetooth_gatt.cpp1001 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, jint clientIf) in gattClientUnregisterAppNative()
1013 static void gattClientConnectNative(JNIEnv* env, jobject object, jint clientif, in gattClientConnectNative()
1014 jstring address, jboolean isDirect, jint transport) in gattClientConnectNative()
1023 static void gattClientDisconnectNative(JNIEnv* env, jobject object, jint clientIf, in gattClientDisconnectNative()
1024 jstring address, jint conn_id) in gattClientDisconnectNative()
1032 static void gattClientRefreshNative(JNIEnv* env, jobject object, jint clientIf, in gattClientRefreshNative()
1042 static void gattClientSearchServiceNative(JNIEnv* env, jobject object, jint conn_id, in gattClientSearchServiceNative()
1053 jint conn_id) in gattClientGetGattDbNative()
1061 jint conn_id, jint handle, jint authReq) in gattClientReadCharacteristicNative()
1069 jint conn_id, jint handle, jint authReq) in gattClientReadDescriptorNative()
[all …]
Dcom_android_bluetooth_hfpclient.cpp84 …idMethod(mCallbacksObj, method_onConnectionStateChanged, (jint) state, (jint) peer_feat, (jint) ch… in connection_state_cb()
102 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAudioStateChanged, (jint) state, addr); in audio_state_cb()
109 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVrStateChanged, (jint) state); in vr_cmd_cb()
115 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onNetworkState, (jint) state); in network_state_cb()
121 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onNetworkRoaming, (jint) type); in network_roaming_cb()
127 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onNetworkSignal, (jint) signal); in network_signal_cb()
133 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onBatteryLevel, (jint) level); in battery_level_cb()
150 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onCall, (jint) call); in call_cb()
156 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onCallSetup, (jint) callsetup); in callsetup_cb()
162 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onCallHeld, (jint) callheld); in callheld_cb()
[all …]
Dcom_android_bluetooth_avrcp.cpp69 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_getRcFeatures, addr, (jint)features); in btavrcp_remote_features_callback()
109 sCallbackEnv->SetIntArrayRegion(attrs, 0, num_attr, (jint *)p_attrs); in btavrcp_get_element_attr_callback()
126 (jint)event_id, (jint)param); in btavrcp_register_notification_callback()
141 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_volumeChangeCallback, (jint)volume, in btavrcp_volume_change_callback()
142 (jint)ctype); in btavrcp_volume_change_callback()
159 (jint)id, (jint)pressed); in btavrcp_passthrough_command_callback()
259 static jboolean getPlayStatusRspNative(JNIEnv *env, jobject object, jint playStatus, in getPlayStatusRspNative()
260 jint songLen, jint songPos) { in getPlayStatusRspNative()
276 jint *attr; in getElementAttrRspNative()
341 jint type, jint playStatus) { in registerNotificationRspPlayStatusNative()
[all …]
Dcom_android_bluetooth_hfp.cpp99 (jint) state, addr); in connection_state_callback()
116 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onAudioStateChanged, (jint) state, addr); in audio_state_callback()
133 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVrStateChanged, (jint) state, addr); in voice_recognition_callback()
184 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVolumeChanged, (jint) type, in volume_control_callback()
185 (jint) volume, addr); in volume_control_callback()
424 static void initializeNative(JNIEnv *env, jobject object, jint max_hf_clients) { in initializeNative()
599 static jboolean setVolumeNative(JNIEnv *env, jobject object, jint volume_type, in setVolumeNative()
600 jint volume, jbyteArray address) { in setVolumeNative()
620 jint network_state, jint service_type, jint signal, in notifyDeviceStatusNative()
621 jint battery_charge) { in notifyDeviceStatusNative()
[all …]
Dcom_android_bluetooth_pan.cpp64 …backEnv->CallVoidMethod(mCallbacksObj, method_onControlStateChanged, (jint)local_role, (jint)state, in control_state_callback()
65 (jint)error, js_ifname); in control_state_callback()
82 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onConnectStateChanged, addr, (jint) state, in connection_state_callback()
83 (jint)error, (jint)local_role, (jint)remote_role); in connection_state_callback()
166 static jboolean enablePanNative(JNIEnv *env, jobject object, jint local_role) { in enablePanNative()
174 static jint getPanLocalRoleNative(JNIEnv *env, jobject object) { in getPanLocalRoleNative()
180 return (jint)local_role; in getPanLocalRoleNative()
186 jint src_role, jint dest_role) { in connectPanNative()
Dcom_android_bluetooth_avrcp_controller.cpp68 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_handlePassthroughRsp, (jint)id, in btavrcp_passthrough_response_callback()
69 (jint)pressed); in btavrcp_passthrough_response_callback()
81 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_handleGroupNavigationRsp, (jint)id, in btavrcp_groupnavigation_response_callback()
82 (jint)pressed); in btavrcp_groupnavigation_response_callback()
129 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_getRcFeatures, addr, (jint)features); in btavrcp_get_rcfeatures_callback()
153 … sCallbackEnv->CallVoidMethod(mCallbacksObj, method_setplayerappsettingrsp, addr, (jint)accepted); in btavrcp_setplayerapplicationsetting_rsp_callback()
164 jint arraylen; in btavrcp_playerapplicationsetting_callback()
209 playerattribs, (jint)arraylen); in btavrcp_playerapplicationsetting_callback()
256 playerattribs, (jint)arraylen); in btavrcp_playerapplicationsetting_changed_callback()
322 jint i; in btavrcp_track_changed_callback()
[all …]
Dcom_android_bluetooth_hdp.cpp58 (jint) state); in app_registration_state_callback()
87 mdep_cfg_index, channel_id, (jint) state, fileDescriptor); in channel_state_callback()
164 static jint registerHealthAppNative(JNIEnv *env, jobject object, jint data_type, in registerHealthAppNative()
165 jint role, jstring name, jint channel_type) { in registerHealthAppNative()
209 static jint connectChannelNative(JNIEnv *env, jobject object, in connectChannelNative()
210 jbyteArray address, jint app_id) { in connectChannelNative()
213 jint chan_id; in connectChannelNative()
233 static jboolean disconnectChannelNative(JNIEnv *env, jobject object, jint channel_id) { in disconnectChannelNative()
Dcom_android_bluetooth_btservice_AdapterService.cpp98 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_stateChangeCallback, (jint)status); in adapter_state_change_callback()
115 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint *)&properties[i].type); in get_properties()
312 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_bondStateChangeCallback, (jint) status, in bond_state_changed_callback()
313 addr, (jint)state); in bond_state_changed_callback()
337 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_aclStateChangeCallback, (jint) status, in acl_state_changed_callback()
338 addr, (jint)state); in acl_state_changed_callback()
352 (jint)state); in discovery_state_changed_callback()
415 (jint) pairing_variant, pass_key); in ssp_request_callback()
474 (jint) data->app_uid, (jlong) data->rx_bytes, in energy_info_recv_callback()
521 jint status = vm->GetEnv((void **)&env, JNI_VERSION_1_6); in set_wake_alarm_callout()
[all …]
/packages/apps/Camera2/jni/
Djpegutilnative.cpp68 extern "C" JNIEXPORT jint JNICALL
72 jint width, jint height, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
74 jobject yBuf, jint yPStride, jint yRStride, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
76 jobject cbBuf, jint cbPStride, jint cbRStride, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
78 jobject crBuf, jint crPStride, jint crRStride, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
80 jobject outBuf, jint outBufCapacity, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
82 jint quality, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
84 jint cropLeft, jint cropTop, jint cropRight, jint cropBottom, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
87 jint rot90) { in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
119 JNIEnv* env, jclass clazz, jint width, jint height, jobject planeBuf, in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
[all …]
/packages/apps/Gallery2/jni/filters/
Dgeometry.c130 … nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, ji… in JNIFUNCF()
143 …ativeApplyFilterRotate, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, ji… in JNIFUNCF()
154 …plyFilterCrop, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, jint dstHei… in JNIFUNCF()
165 …y, nativeApplyFilterStraighten, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstW… in JNIFUNCF()
Dkmeans.cc33 void JNIFUNCF(ImageFilterKMeans, nativeApplyFilter, jobject bitmap, jint width, jint height, in JNIFUNCF()
34 jobject large_ds_bitmap, jint lwidth, jint lheight, jobject small_ds_bitmap, in JNIFUNCF()
35 jint swidth, jint sheight, jint p, jint seed) in JNIFUNCF()
Dfx.c32 void JNIFUNCF(ImageFilterFx, nativeApplyFilter, jobject bitmap, jint width, jint height, in JNIFUNCF()
33 jobject lutbitmap, jint lutwidth, jint lutheight, in JNIFUNCF()
34 jint start, jint end) in JNIFUNCF()
Dgradient.c19 void JNIFUNCF(ImageFilter, nativeApplyGradientFilter, jobject bitmap, jint width, jint height, in JNIFUNCF()
23 jint* redGradientArray = 0; in JNIFUNCF()
24 jint* greenGradientArray = 0; in JNIFUNCF()
25 jint* blueGradientArray = 0; in JNIFUNCF()
Dbwfilter.c20 …geFilterBwFilter, nativeApplyFilter, jobject bitmap, jint width, jint height, jint rw, jint gw, ji… in JNIFUNCF()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, in OutputStream_setup()
32 jint width, jint height, jint format, jint quality) { in OutputStream_setup()
84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens, in InputStream_setup()
85 jobject in, jint format) { in InputStream_setup()
132 env->CallVoidMethod(dimens, setMethod, static_cast<jint>(w), in InputStream_setup()
133 static_cast<jint>(h)); in InputStream_setup()
220 static jint OutputStream_writeInputBytes(JNIEnv* env, jobject thiz, in OutputStream_writeInputBytes()
221 jbyteArray inBuffer, jint offset, jint inCount) { in OutputStream_writeInputBytes()
246 static jint InputStream_readDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_readDecodedBytes()
247 jbyteArray inBuffer, jint offset, jint inCount) { in InputStream_readDecodedBytes()
[all …]
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp29 jint displayWidth, jint displayHeight, jint gridWidth, jint gridHeight, in latinime_Keyboard_setProximityInfo()
30 jint mostCommonkeyWidth, jint mostCommonkeyHeight, jintArray proximityChars, jint keyCount, in latinime_Keyboard_setProximityInfo()
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp111 static jint sLastError = ERROR_BUFFER_TOO_SMALL;
127 static jint sLfT3tMax = 0;
784 static jboolean nfcManager_routeAid (JNIEnv* e, jobject, jbyteArray aid, jint route) in nfcManager_routeAid()
841 static jint nfcManager_doRegisterT3tIdentifier(JNIEnv* e, jobject, jbyteArray t3tIdentifier) in nfcManager_doRegisterT3tIdentifier()
868 static void nfcManager_doDeregisterT3tIdentifier(JNIEnv*, jobject, jint handle) in nfcManager_doDeregisterT3tIdentifier()
888 static jint nfcManager_getLfT3tMax(JNIEnv*, jobject) in nfcManager_getLfT3tMax()
1037 static void nfcManager_enableDiscovery (JNIEnv* e, jobject o, jint technologies_mask, \ in nfcManager_enableDiscovery()
1229 …nager_doCreateLlcpServiceSocket (JNIEnv* e, jobject, jint nSap, jstring sn, jint miu, jint rw, jin… in nfcManager_doCreateLlcpServiceSocket()
1264 e->SetIntField(serviceSocket, f, (jint) jniHandle); in nfcManager_doCreateLlcpServiceSocket()
1269 e->SetIntField(serviceSocket, f,(jint)linearBufferLength); in nfcManager_doCreateLlcpServiceSocket()
[all …]
DNativeLlcpServiceSocket.cpp50 static jobject nativeLlcpServiceSocket_doAccept(JNIEnv *e, jobject o, jint miu, jint rw, jint /*lin… in nativeLlcpServiceSocket_doAccept() argument
89 e->SetIntField (clientSocket, f, (jint) connHandle); in nativeLlcpServiceSocket_doAccept()
93 e->SetIntField (clientSocket, f, (jint)miu); in nativeLlcpServiceSocket_doAccept()
97 e->SetIntField (clientSocket, f, (jint)rw); in nativeLlcpServiceSocket_doAccept()
DNativeLlcpSocket.cpp39 static jboolean nativeLlcpSocket_doConnect (JNIEnv* e, jobject o, jint nSap) in nativeLlcpSocket_doConnect()
143 static jint nativeLlcpSocket_doReceive(JNIEnv *e, jobject o, jbyteArray origBuffer) in nativeLlcpSocket_doReceive()
153 jint retval = 0; in nativeLlcpSocket_doReceive()
177 static jint nativeLlcpSocket_doGetRemoteSocketMIU (JNIEnv* e, jobject o) in nativeLlcpSocket_doGetRemoteSocketMIU()
182 jint miu = PeerToPeer::getInstance().getRemoteMaxInfoUnit(jniHandle); in nativeLlcpSocket_doGetRemoteSocketMIU()
200 static jint nativeLlcpSocket_doGetRemoteSocketRW (JNIEnv* e, jobject o) in nativeLlcpSocket_doGetRemoteSocketRW()
205 jint rw = PeerToPeer::getInstance().getRemoteRecvWindow (jniHandle); in nativeLlcpSocket_doGetRemoteSocketRW()
/packages/apps/TV/usbtuner/jni/
Dtunertvinput_jni.h42 (JNIEnv *, jobject, jlong, jint, jstring, jint);
50 (JNIEnv *, jobject, jlong, jint, jint);
73 JNIEXPORT jint JNICALL Java_com_android_usbtuner_TunerHal_nativeWriteInBuffer
74 (JNIEnv *, jobject, jlong, jbyteArray, jint);
Dtunertvinput_jni.cpp57 (JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, jstring modulation, jint timeout_ms) { in Java_com_android_usbtuner_TunerHal_nativeTune()
105 (JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_usbtuner_TunerHal_nativeAddPidFilter()
117 JNIEXPORT jint JNICALL
119 (JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, jint javaBufferSize) { in Java_com_android_usbtuner_TunerHal_nativeWriteInBuffer()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcManager.cpp967 e->SetIntField(tag.get(), f, (jint)MODE_P2P_INITIATOR); in nfc_jni_Discovery_notification_callback()
972 e->SetIntField(tag.get(), f, (jint)MODE_P2P_TARGET); in nfc_jni_Discovery_notification_callback()
996 e->SetIntField(tag.get(), f,(jint)remDevHandle); in nfc_jni_Discovery_notification_callback()
1049 e->SetIntField(tag.get(), f,(jint)-1); in nfc_jni_Discovery_notification_callback()
1052 e->SetIntField(tag.get(), f,(jint)-1); in nfc_jni_Discovery_notification_callback()
1362 static void com_android_nfc_NfcManager_enableDiscovery(JNIEnv *e, jobject o, jint modes, in com_android_nfc_NfcManager_enableDiscovery()
1439 static void setFelicaTimeout(jint timeout) { in setFelicaTimeout()
1475 static void setIsoDepTimeout(jint timeout) { in setIsoDepTimeout()
1497 static void setNfcATimeout(jint timeout) { in setNfcATimeout()
1510 jint tech, jint timeout) { in com_android_nfc_NfcManager_doSetTimeout()
[all …]

123