/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_hfp.cpp | 71 static jbyteArray marshall_bda(bt_bdaddr_t* bd_addr) in marshall_bda() 73 jbyteArray addr; in marshall_bda() 85 jbyteArray addr; in connection_state_callback() 105 jbyteArray addr; in audio_state_callback() 122 jbyteArray addr; in voice_recognition_callback() 139 jbyteArray addr; in answer_call_callback() 156 jbyteArray addr; in hangup_call_callback() 173 jbyteArray addr; in volume_control_callback() 191 jbyteArray addr; in dial_call_callback() 211 jbyteArray addr; in dtmf_cmd_callback() [all …]
|
D | com_android_bluetooth_hid.cpp | 61 jbyteArray addr; in connection_state_callback() 78 jbyteArray addr; in get_protocol_mode_callback() 101 jbyteArray addr; in get_report_callback() 102 jbyteArray data; in get_report_callback() 136 jbyteArray addr; in virtual_unplug_callback() 169 jbyteArray addr; in handshake_callback() 270 static jboolean connectHidNative(JNIEnv *env, jobject object, jbyteArray address) { in connectHidNative() 292 static jboolean disconnectHidNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectHidNative() 314 static jboolean getProtocolModeNative(JNIEnv *env, jobject object, jbyteArray address) { in getProtocolModeNative() 337 static jboolean virtualUnPlugNative(JNIEnv *env, jobject object, jbyteArray address) { in virtualUnPlugNative() [all …]
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 105 jbyteArray propVal; in get_properties() 128 jbyteArray val; in adapter_properties_callback() 143 val = (jbyteArray) callbackEnv->NewByteArray(num_properties); in adapter_properties_callback() 203 jbyteArray addr; in remote_device_properties_callback() 205 jbyteArray val; in remote_device_properties_callback() 208 val = (jbyteArray) callbackEnv->NewByteArray(num_properties); in remote_device_properties_callback() 262 jbyteArray addr = NULL; in device_found_callback() 296 jbyteArray addr; in bond_state_changed_callback() 321 jbyteArray addr; in acl_state_changed_callback() 359 jbyteArray addr = NULL; in pin_request_callback() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 87 jbyteArray addr; in btavrcp_connection_state_callback() 112 jbyteArray addr; in btavrcp_get_rcfeatures_callback() 136 jbyteArray addr; in btavrcp_setplayerapplicationsetting_rsp_callback() 162 jbyteArray addr; in btavrcp_playerapplicationsetting_callback() 163 jbyteArray playerattribs; in btavrcp_playerapplicationsetting_callback() 218 jbyteArray addr; in btavrcp_playerapplicationsetting_changed_callback() 219 jbyteArray playerattribs; in btavrcp_playerapplicationsetting_changed_callback() 265 jbyteArray addr; in btavrcp_set_abs_vol_cmd_callback() 288 jbyteArray addr; in btavrcp_register_notification_absvol_callback() 317 jbyteArray addr; in btavrcp_track_changed_callback() [all …]
|
D | com_android_bluetooth_a2dp_sink.cpp | 52 jbyteArray addr; in bta2dp_connection_state_callback() 75 jbyteArray addr; in bta2dp_audio_state_callback() 98 jbyteArray addr; in bta2dp_audio_config_callback() 194 static jboolean connectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in connectA2dpNative() 216 static jboolean disconnectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectA2dpNative()
|
D | com_android_bluetooth_gatt.cpp | 235 jbyteArray jb = sCallbackEnv->NewByteArray(62); in btgattc_scan_result_cb() 303 jbyteArray jb = sCallbackEnv->NewByteArray(p_data->len); in btgattc_notify_cb() 318 jbyteArray jb; in btgattc_read_characteristic_cb() 356 jbyteArray jb; in btgattc_read_descriptor_cb() 490 jbyteArray jb = sCallbackEnv->NewByteArray(data_len); in btgattc_batchscan_reports_cb() 519 jbyteArray jb_adv_pkt = sCallbackEnv->NewByteArray(p_adv_track_info->adv_pkt_len); in btgattc_track_adv_event_cb() 520 jbyteArray jb_scan_rsp = sCallbackEnv->NewByteArray(p_adv_track_info->scan_rsp_len); in btgattc_track_adv_event_cb() 776 jbyteArray val = sCallbackEnv->NewByteArray(length); in btgatts_request_write_cb() 1077 jint conn_id, jint handle, jint write_type, jint auth_req, jbyteArray value) in gattClientWriteCharacteristicNative() 1102 jint conn_id, jint handle, jint write_type, jint auth_req, jbyteArray value) in gattClientWriteDescriptorNative() [all …]
|
D | com_android_bluetooth_a2dp.cpp | 51 jbyteArray addr; in bta2dp_connection_state_callback() 74 jbyteArray addr; in bta2dp_audio_state_callback() 168 static jboolean connectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in connectA2dpNative() 190 static jboolean disconnectA2dpNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectA2dpNative()
|
D | com_android_bluetooth_sdp.cpp | 132 static jboolean sdpSearchNative(JNIEnv *env, jobject obj, jbyteArray address, jbyteArray uuidObj) { in sdpSearchNative() 172 jbyteArray addr = NULL; in sdp_search_callback() 173 jbyteArray uuid = NULL; in sdp_search_callback() 250 jbyteArray formats_list = sCallbackEnv->NewByteArray(formats_list_size); in sdp_search_callback() 279 jbyteArray record_data = NULL; in sdp_search_callback() 432 jbyteArray supported_formats_list) { in sdpCreateOppOpsRecordNative()
|
D | com_android_bluetooth_hfpclient.cpp | 72 jbyteArray addr; in connection_state_cb() 90 jbyteArray addr; in audio_state_cb() 366 static jboolean connectNative(JNIEnv *env, jobject object, jbyteArray address) { in connectNative() 385 static jboolean disconnectNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectNative() 404 static jboolean connectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { in connectAudioNative() 424 static jboolean disconnectAudioNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectAudioNative()
|
D | com_android_bluetooth_pan.cpp | 71 jbyteArray addr; in connection_state_callback() 185 static jboolean connectPanNative(JNIEnv *env, jobject object, jbyteArray address, in connectPanNative() 209 static jboolean disconnectPanNative(JNIEnv *env, jobject object, jbyteArray address) { in disconnectPanNative()
|
D | com_android_bluetooth_hdp.cpp | 64 jbyteArray addr; in channel_state_callback() 210 jbyteArray address, jint app_id) { in connectChannelNative()
|
D | com_android_bluetooth_avrcp.cpp | 54 jbyteArray addr; in btavrcp_remote_features_callback() 358 jint type, jbyteArray track) { in registerNotificationRspTrackChangeNative()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeP2pDevice.cpp | 42 static jbyteArray nativeP2pDeviceDoTransceive (JNIEnv*, jobject, jbyteArray) in nativeP2pDeviceDoTransceive() argument 49 static jbyteArray nativeP2pDeviceDoReceive (JNIEnv*, jobject) in nativeP2pDeviceDoReceive() 56 static jboolean nativeP2pDeviceDoSend (JNIEnv*, jobject, jbyteArray) in nativeP2pDeviceDoSend() argument
|
D | NativeNfcTag.cpp | 260 static jbyteArray nativeNfcTag_doRead (JNIEnv* e, jobject) in nativeNfcTag_doRead() 264 jbyteArray buf = NULL; in nativeNfcTag_doRead() 370 static jboolean nativeNfcTag_doWrite (JNIEnv* e, jobject, jbyteArray buf) in nativeNfcTag_doWrite() 915 static jbyteArray nativeNfcTag_doTransceive (JNIEnv* e, jobject o, jbyteArray data, jboolean raw, j… in nativeNfcTag_doTransceive() 953 ScopedLocalRef<jbyteArray> result(e, NULL); in nativeNfcTag_doTransceive() 1453 jobject o, jint /*libNfcType*/, jbyteArray, jbyteArray, in nativeNfcTag_doIsNdefFormatable() argument 1454 jbyteArray) in nativeNfcTag_doIsNdefFormatable() 1485 jbyteArray versionCmd = e->NewByteArray (5); in nativeNfcTag_doIsNdefFormatable() 1487 jbyteArray respBytes = nativeNfcTag_doTransceive(e, o, versionCmd, JNI_TRUE, NULL); in nativeNfcTag_doIsNdefFormatable() 1529 …ativeNfcTag_doIsIsoDepNdefFormatable (JNIEnv *e, jobject o, jbyteArray pollBytes, jbyteArray actBy… in nativeNfcTag_doIsIsoDepNdefFormatable() [all …]
|
D | NativeLlcpSocket.cpp | 116 static jboolean nativeLlcpSocket_doSend (JNIEnv* e, jobject o, jbyteArray data) in nativeLlcpSocket_doSend() 143 static jint nativeLlcpSocket_doReceive(JNIEnv *e, jobject o, jbyteArray origBuffer) in nativeLlcpSocket_doReceive()
|
D | NativeLlcpConnectionlessSocket.cpp | 62 …jboolean nativeLlcpConnectionlessSocket_doSendTo (JNIEnv *e, jobject o, jint nsap, jbyteArray data) in nativeLlcpConnectionlessSocket_doSendTo() 236 ScopedLocalRef<jbyteArray> receivedData(e, e->NewByteArray(sConnlessRecvLen)); in nativeLlcpConnectionlessSocket_doReceiveFrom()
|
/packages/apps/Nfc/nxp/jni/ |
D | com_android_nfc_NativeP2pDevice.cpp | 131 jbyteArray generalBytes = NULL; in com_android_nfc_NativeP2pDevice_doConnect() 270 static jbyteArray com_android_nfc_NativeP2pDevice_doTransceive(JNIEnv *e, in com_android_nfc_NativeP2pDevice_doTransceive() 271 jobject o, jbyteArray data) in com_android_nfc_NativeP2pDevice_doTransceive() 278 jbyteArray result = NULL; in com_android_nfc_NativeP2pDevice_doTransceive() 356 static jbyteArray com_android_nfc_NativeP2pDevice_doReceive( in com_android_nfc_NativeP2pDevice_doReceive() 362 jbyteArray buf = NULL; in com_android_nfc_NativeP2pDevice_doReceive() 410 JNIEnv *e, jobject o, jbyteArray buf) in com_android_nfc_NativeP2pDevice_doSend()
|
D | com_android_nfc_NativeNfcTag.cpp | 178 static jbyteArray com_android_nfc_NativeNfcTag_doRead(JNIEnv *e, in com_android_nfc_NativeNfcTag_doRead() 183 jbyteArray buf = NULL; in com_android_nfc_NativeNfcTag_doRead() 238 jobject o, jbyteArray buf) in com_android_nfc_NativeNfcTag_doWrite() 311 ScopedLocalRef<jbyteArray> pollBytes(e, e->NewByteArray(0)); in set_target_pollBytes() 392 ScopedLocalRef<jbyteArray> actBytes(e, e->NewByteArray(0)); in set_target_activationBytes() 696 static jbyteArray com_android_nfc_NativeNfcTag_doTransceive(JNIEnv *e, in com_android_nfc_NativeNfcTag_doTransceive() 697 jobject o, jbyteArray data, jboolean raw, jintArray statusTargetLost) in com_android_nfc_NativeNfcTag_doTransceive() 709 jbyteArray result = NULL; in com_android_nfc_NativeNfcTag_doTransceive() 1057 jobject o, jbyteArray pollBytes, jbyteArray actBytes) in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable() 1071 jbyteArray versionCmd = e->NewByteArray(5); in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable() [all …]
|
D | com_android_nfc_NativeLlcpConnectionlessSocket.cpp | 58 …droid_nfc_NativeLlcpConnectionlessSocket_doSendTo(JNIEnv *e, jobject o, jint nsap, jbyteArray data) in com_android_nfc_NativeLlcpConnectionlessSocket_doSendTo() 131 jbyteArray receivedData = NULL; in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
|
D | com_android_nfc_NativeLlcpSocket.cpp | 248 static jboolean com_android_nfc_NativeLlcpSocket_doSend(JNIEnv *e, jobject o, jbyteArray data) in com_android_nfc_NativeLlcpSocket_doSend() 309 static jint com_android_nfc_NativeLlcpSocket_doReceive(JNIEnv *e, jobject o, jbyteArray buffer) in com_android_nfc_NativeLlcpSocket_doReceive()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | stream_wrapper.cpp | 52 jbyteArray tmp = env->NewByteArray(getBufferSize()); in init() 57 mByteArray = reinterpret_cast<jbyteArray>(env->NewGlobalRef(tmp)); in init()
|
D | stream_wrapper.h | 39 jbyteArray mByteArray;
|
D | jpegstream.cpp | 221 jbyteArray inBuffer, jint offset, jint inCount) { in OutputStream_writeInputBytes() 247 jbyteArray inBuffer, jint offset, jint inCount) { in InputStream_readDecodedBytes()
|
/packages/apps/TV/usbtuner/jni/ |
D | tunertvinput_jni.h | 74 (JNIEnv *, jobject, jlong, jbyteArray, jint);
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_panorama_Mosaic_setSourceImage() 616 JNIEXPORT jbyteArray JNICALL Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21( in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21() 654 jbyteArray bytes = env->NewByteArray(imageSize+8); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21()
|