/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_sdp.cpp | 167 sCallbacksObj, method_sdpMasRecordFoundCallback, (jint)status, in sdp_search_callback() 168 addr.get(), uuid.get(), (jint)record->mas.mas_instance_id, in sdp_search_callback() 169 (jint)record->mas.hdr.l2cap_psm, in sdp_search_callback() 170 (jint)record->mas.hdr.rfcomm_channel_number, in sdp_search_callback() 171 (jint)record->mas.hdr.profile_version, in sdp_search_callback() 172 (jint)record->mas.supported_features, in sdp_search_callback() 173 (jint)record->mas.supported_message_types, service_name.get(), in sdp_search_callback() 178 sCallbacksObj, method_sdpMnsRecordFoundCallback, (jint)status, in sdp_search_callback() 179 addr.get(), uuid.get(), (jint)record->mns.hdr.l2cap_psm, in sdp_search_callback() 180 (jint)record->mns.hdr.rfcomm_channel_number, in sdp_search_callback() [all …]
|
D | com_android_bluetooth_gatt.cpp | 952 jint clientIf) { in gattClientUnregisterAppNative() 975 jint scanner_id) { in unregisterScannerNative() 986 static void gattClientConnectNative(JNIEnv* env, jobject object, jint clientif, in gattClientConnectNative() 988 jint transport, jboolean opportunistic, in gattClientConnectNative() 989 jint initiating_phys) { in gattClientConnectNative() 997 jint clientIf, jstring address, in gattClientDisconnectNative() 998 jint conn_id) { in gattClientDisconnectNative() 1004 jint clientIf, jstring address, in gattClientSetPreferredPhyNative() 1005 jint tx_phy, jint rx_phy, in gattClientSetPreferredPhyNative() 1006 jint phy_options) { in gattClientSetPreferredPhyNative() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 82 (jint)id, (jint)pressed, addr.get()); in btavrcp_passthrough_response_callback() 96 (jint)id, (jint)pressed); in btavrcp_groupnavigation_response_callback() 145 (jint)features); in btavrcp_get_rcfeatures_callback() 169 addr.get(), (jint)accepted); in btavrcp_setplayerapplicationsetting_rsp_callback() 196 jint arraylen = 0; in btavrcp_playerapplicationsetting_callback() 223 addr.get(), playerattribs.get(), (jint)arraylen); in btavrcp_playerapplicationsetting_callback() 266 playerattribs.get(), (jint)arraylen); in btavrcp_playerapplicationsetting_changed_callback() 353 sCallbackEnv->NewObjectArray((jint)num_attr, strclazz, 0)); in btavrcp_track_changed_callback() 359 for (jint i = 0; i < num_attr; i++) { in btavrcp_track_changed_callback() 368 (jint*)&(p_attrs[i].attr_id)); in btavrcp_track_changed_callback() [all …]
|
D | com_android_bluetooth_a2dp.cpp | 73 addr.get(), (jint)state); in bta2dp_connection_state_callback() 95 addr.get(), (jint)state); in bta2dp_audio_state_callback() 111 (jint)codec_config.codec_type, (jint)codec_config.codec_priority, in bta2dp_audio_config_callback() 112 (jint)codec_config.sample_rate, (jint)codec_config.bits_per_sample, in bta2dp_audio_config_callback() 113 (jint)codec_config.channel_mode, (jlong)codec_config.codec_specific_1, in bta2dp_audio_config_callback() 126 (jint)cap.codec_type, (jint)cap.codec_priority, (jint)cap.sample_rate, in bta2dp_audio_config_callback() 127 (jint)cap.bits_per_sample, (jint)cap.channel_mode, in bta2dp_audio_config_callback() 142 (jint)cap.codec_type, (jint)cap.codec_priority, (jint)cap.sample_rate, in bta2dp_audio_config_callback() 143 (jint)cap.bits_per_sample, (jint)cap.channel_mode, in bta2dp_audio_config_callback() 250 jint codecType = env->CallIntMethod( in prepareCodecPreferences() [all …]
|
D | com_android_bluetooth_pan.cpp | 72 (jint)local_role, (jint)state, (jint)error, in control_state_callback() 94 addr.get(), (jint)state, (jint)error, in connection_state_callback() 95 (jint)local_role, (jint)remote_role); in connection_state_callback() 174 static jboolean enablePanNative(JNIEnv* env, jobject object, jint local_role) { in enablePanNative() 181 static jint getPanLocalRoleNative(JNIEnv* env, jobject object) { in getPanLocalRoleNative() 186 return (jint)local_role; in getPanLocalRoleNative() 190 jbyteArray address, jint src_role, in connectPanNative() 191 jint dest_role) { in connectPanNative()
|
D | com_android_bluetooth_hfpclient.cpp | 79 (jint)state, (jint)peer_feat, (jint)chld_feat, in connection_state_cb() 92 (jint)state, addr.get()); in audio_state_cb() 103 (jint)state, addr.get()); in vr_cmd_cb() 115 (jint)state, addr.get()); in network_state_cb() 126 (jint)type, addr.get()); in network_roaming_cb() 137 (jint)signal, addr.get()); in network_signal_cb() 148 (jint)level, addr.get()); in battery_level_cb() 178 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onCall, (jint)call, in call_cb() 195 (jint)callsetup, addr.get()); in callsetup_cb() 206 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onCallHeld, (jint)callheld, in callheld_cb() [all …]
|
D | com_android_bluetooth_hfp.cpp | 93 (jint)state, addr.get()); in ConnectionStateCallback() 108 (jint)state, addr.get()); in AudioStateCallback() 124 (jint)state, addr.get()); in VoiceRecognitionCallback() 170 (jint)type, (jint)volume, addr.get()); in VolumeControlCallback() 388 (jint)ind_value, addr.get()); in AtBievCallback() 438 static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, in initializeNative() 640 static jboolean setVolumeNative(JNIEnv* env, jobject object, jint volume_type, in setVolumeNative() 641 jint volume, jbyteArray address) { in setVolumeNative() 664 jint network_state, jint service_type, in notifyDeviceStatusNative() 665 jint signal, jint battery_charge, in notifyDeviceStatusNative() [all …]
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 47 const jint INVALID_FD = -1; 93 (jint)status); in adapter_state_change_callback() 109 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint*)&properties[i].type); in get_properties() 285 (jint)status, addr.get(), (jint)state); in bond_state_changed_callback() 308 (jint)status, addr.get(), (jint)state); in acl_state_changed_callback() 318 sJniCallbacksObj, method_discoveryStateChangeCallback, (jint)state); in discovery_state_changed_callback() 387 (jint)pairing_variant, pass_key); in ssp_request_callback() 439 (jint)data->app_uid, (jlong)data->rx_bytes, in energy_info_recv_callback() 508 jint status_; 545 jint ret = BT_STATUS_SUCCESS; in acquire_wake_lock_callout() [all …]
|
D | com_android_bluetooth_hid_host.cpp | 70 addr.get(), (jint)state); in connection_state_callback() 95 addr.get(), (jint)mode); in get_protocol_mode_callback() 126 data.get(), (jint)rpt_size); in get_report_callback() 145 addr.get(), (jint)hh_status); in virtual_unplug_callback() 163 (jint)hh_status); in handshake_callback() 178 (jint)idle_time); in get_idle_time_callback() 354 jbyteArray address, jint protocolMode) { in setProtocolModeNative() 392 jint bufferSize) { in getReportNative() 403 jint rType = reportType; in getReportNative() 404 jint rId = reportId; in getReportNative() [all …]
|
/packages/apps/Camera2/jni/ |
D | jpegutilnative.cpp | 68 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 __unused, jint width, jint height, jobject planeBuf, in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | geometry.c | 131 … nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeight, jobject dst, jint dstWidth, ji… in JNIFUNCF() 144 …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() 164 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterStraighten, jobject src, jint srcWidth __unused, in JNIFUNCF() 165 jint srcHeight __unused, jobject dst, jint dstWidth, jint dstHeight, in JNIFUNCF()
|
D | kmeans.cc | 33 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()
|
D | fx.c | 32 void JNIFUNCF(ImageFilterFx, nativeApplyFilter, jobject bitmap, jint width __unused, in JNIFUNCF() 33 jint height __unused, jobject lutbitmap, jint lutwidth, jint lutheight, in JNIFUNCF() 34 jint start, jint end) in JNIFUNCF()
|
D | gradient.c | 19 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()
|
D | bwfilter.c | 20 …geFilterBwFilter, nativeApplyFilter, jobject bitmap, jint width, jint height, jint rw, jint gw, ji… in JNIFUNCF()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 31 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/apps/TV/jni/ |
D | tunertvinput_jni.h | 71 (JNIEnv *, jobject, jlong, jint, jstring, jint); 80 (JNIEnv *, jobject, jlong, jint, jint, jstring, jint); 88 (JNIEnv *, jobject, jlong, jint, jint); 113 JNIEXPORT jint JNICALL 131 JNIEXPORT jint JNICALL 148 JNIEXPORT jint JNICALL Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer 149 (JNIEnv *, jobject, jlong, jbyteArray, jint);
|
D | tunertvinput_jni.cpp | 56 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() 57 jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() 78 JNIEnv *env, jobject thiz, jlong deviceId, jint deliverySystemType, in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() 79 jint frequency, jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() 144 JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter() 156 JNIEXPORT jint JNICALL Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer( in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() 158 jint javaBufferSize) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 124 static jint sLastError = ERROR_BUFFER_TOO_SMALL; 143 static jint sLfT3tMax = 0; 164 jint screen_state_mask); 920 jint route, jint aidInfo) { in nfcManager_routeAid() 996 static jint nfcManager_doRegisterT3tIdentifier(JNIEnv* e, jobject, in nfcManager_doRegisterT3tIdentifier() 1028 jint handle) { in nfcManager_doDeregisterT3tIdentifier() 1049 static jint nfcManager_getLfT3tMax(JNIEnv*, jobject) { in nfcManager_getLfT3tMax() 1232 jint technologies_mask, in nfcManager_enableDiscovery() 1373 jint nSap, jstring sn, in nfcManager_doCreateLlcpServiceSocket() 1374 jint miu, jint rw, in nfcManager_doCreateLlcpServiceSocket() [all …]
|
D | NativeLlcpSocket.cpp | 42 static jboolean nativeLlcpSocket_doConnect(JNIEnv* e, jobject o, jint nSap) { in nativeLlcpSocket_doConnect() 144 static jint nativeLlcpSocket_doReceive(JNIEnv* e, jobject o, in nativeLlcpSocket_doReceive() 157 jint retval = 0; in nativeLlcpSocket_doReceive() 179 static jint nativeLlcpSocket_doGetRemoteSocketMIU(JNIEnv* e, jobject o) { in nativeLlcpSocket_doGetRemoteSocketMIU() 184 jint miu = PeerToPeer::getInstance().getRemoteMaxInfoUnit(jniHandle); in nativeLlcpSocket_doGetRemoteSocketMIU() 201 static jint nativeLlcpSocket_doGetRemoteSocketRW(JNIEnv* e, jobject o) { in nativeLlcpSocket_doGetRemoteSocketRW() 206 jint rw = PeerToPeer::getInstance().getRemoteRecvWindow(jniHandle); in nativeLlcpSocket_doGetRemoteSocketRW()
|
D | NativeLlcpServiceSocket.cpp | 48 static jobject nativeLlcpServiceSocket_doAccept(JNIEnv* e, jobject o, jint miu, in nativeLlcpServiceSocket_doAccept() argument 49 jint rw, in nativeLlcpServiceSocket_doAccept() 50 jint /*linearBufferLength*/) { in nativeLlcpServiceSocket_doAccept() 87 e->SetIntField(clientSocket, f, (jint)connHandle); in nativeLlcpServiceSocket_doAccept() 91 e->SetIntField(clientSocket, f, (jint)miu); in nativeLlcpServiceSocket_doAccept() 95 e->SetIntField(clientSocket, f, (jint)rw); in nativeLlcpServiceSocket_doAccept()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 29 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()
|
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 181 jintArray inputCodePointsArray, jint inputSize, jintArray suggestOptions, in latinime_BinaryDictionary_getSuggestions() 183 jint prevWordCount, jintArray outSuggestionCount, jintArray outCodePointsArray, in latinime_BinaryDictionary_getSuggestions() 263 static jint latinime_BinaryDictionary_getProbability(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getProbability() 273 static jint latinime_BinaryDictionary_getMaxProbabilityOfExactMatches( in latinime_BinaryDictionary_getMaxProbabilityOfExactMatches() 284 static jint latinime_BinaryDictionary_getNgramProbability(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_getNgramProbability() 302 static jint latinime_BinaryDictionary_getNextWord(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_getNextWord() 303 jlong dict, jint token, jintArray outCodePoints, jbooleanArray outIsBeginningOfSentence) { in latinime_BinaryDictionary_getNextWord() 360 jintArray word, jint probability, jintArray shortcutTarget, jint shortcutProbability, in latinime_BinaryDictionary_addUnigramEntry() 362 jint timestamp) { in latinime_BinaryDictionary_addUnigramEntry() 400 jintArray word, jint probability, jint timestamp) { in latinime_BinaryDictionary_addNgramEntry() [all …]
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 548 static jint com_android_terminal_Terminal_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeDestroy() 554 static jint com_android_terminal_Terminal_nativeRun(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeRun() 559 static jint com_android_terminal_Terminal_nativeResize(JNIEnv* env, in com_android_terminal_Terminal_nativeResize() 560 jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) { in com_android_terminal_Terminal_nativeResize() 584 static jint com_android_terminal_Terminal_nativeGetCellRun(JNIEnv* env, in com_android_terminal_Terminal_nativeGetCellRun() 585 jclass clazz, jlong ptr, jint row, jint col, jobject run) { in com_android_terminal_Terminal_nativeGetCellRun() 646 static jint com_android_terminal_Terminal_nativeGetRows(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeGetRows() 651 static jint com_android_terminal_Terminal_nativeGetCols(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeGetCols() 656 static jint com_android_terminal_Terminal_nativeGetScrollRows(JNIEnv* env, jclass clazz, jlong ptr)… in com_android_terminal_Terminal_nativeGetScrollRows() 662 jlong ptr, jint mod, jint c) { in com_android_terminal_Terminal_nativeDispatchCharacter() [all …]
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() 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() 500 JNIEXPORT jint JNICALL Java_com_android_camera_panorama_Mosaic_reportProgress( in Java_com_android_camera_panorama_Mosaic_reportProgress() 509 return (jint) gProgress[HR]; in Java_com_android_camera_panorama_Mosaic_reportProgress() 511 return (jint) gProgress[LR]; in Java_com_android_camera_panorama_Mosaic_reportProgress() 514 JNIEXPORT jint JNICALL Java_com_android_camera_panorama_Mosaic_createMosaic( in Java_com_android_camera_panorama_Mosaic_createMosaic() 568 return (jint) ret; in Java_com_android_camera_panorama_Mosaic_createMosaic() 609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 610 env->SetIntArrayRegion(bytes, imageSize, 2, (jint*) dims); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic()
|