/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 193 static jobject mCallbacksObj = NULL; 194 static jobject mAdvertiseCallbacksObj = NULL; 195 static jobject mPeriodicScanCallbacksObj = NULL; 416 ScopedLocalRef<jobject> trackadv_obj( in btgattc_track_adv_event_cb() 433 void fillGattDbElementArray(JNIEnv* env, jobject* array, in fillGattDbElementArray() 440 ScopedLocalRef<jobject> objectForClass( in fillGattDbElementArray() 460 ScopedLocalRef<jobject> element( in fillGattDbElementArray() 470 ScopedLocalRef<jobject> uuid( in fillGattDbElementArray() 501 ScopedLocalRef<jobject> array( in btgattc_get_gatt_db_cb() 507 jobject arrayPtr = array.get(); in btgattc_get_gatt_db_cb() [all …]
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 75 static jobject sJniAdapterServiceObj; 76 static jobject sJniCallbacksObj; 434 ScopedLocalRef<jobject> uidObj( in energy_info_recv_callback() 588 static void alarmFiredNative(JNIEnv* env, jobject obj) { in alarmFiredNative() 686 static bool initNative(JNIEnv* env, jobject obj, jboolean isGuest, in initNative() 727 static bool cleanupNative(JNIEnv* env, jobject obj) { in cleanupNative() 756 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative() 765 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative() 778 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative() 787 static jboolean cancelDiscoveryNative(JNIEnv* env, jobject obj) { in cancelDiscoveryNative() [all …]
|
D | com_android_bluetooth_hid_host.cpp | 38 static jobject mCallbacksObj = NULL; 200 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 236 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 257 static jboolean connectHidNative(JNIEnv* env, jobject object, in connectHidNative() 278 static jboolean disconnectHidNative(JNIEnv* env, jobject object, in disconnectHidNative() 300 static jboolean getProtocolModeNative(JNIEnv* env, jobject object, in getProtocolModeNative() 324 static jboolean virtualUnPlugNative(JNIEnv* env, jobject object, in virtualUnPlugNative() 345 static jboolean setProtocolModeNative(JNIEnv* env, jobject object, in setProtocolModeNative() 382 static jboolean getReportNative(JNIEnv* env, jobject object, jbyteArray address, in getReportNative() 410 static jboolean setReportNative(JNIEnv* env, jobject object, jbyteArray address, in setReportNative() [all …]
|
D | com_android_bluetooth_avrcp_target.cpp | 38 static jobject mJavaInterface; 219 static void initNative(JNIEnv* env, jobject object) { in initNative() 229 static void sendMediaUpdateNative(JNIEnv* env, jobject object, in sendMediaUpdateNative() 243 static void sendFolderUpdateNative(JNIEnv* env, jobject object, in sendFolderUpdateNative() 258 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 272 jboolean connectDeviceNative(JNIEnv* env, jobject object, jstring address) { in connectDeviceNative() 291 jboolean disconnectDeviceNative(JNIEnv* env, jobject object, jstring address) { in disconnectDeviceNative() 320 static SongInfo getSongInfoFromJavaObj(JNIEnv* env, jobject metadata) { in getSongInfoFromJavaObj() 417 static FolderInfo getFolderInfoFromJavaObj(JNIEnv* env, jobject folder) { in getFolderInfoFromJavaObj() 452 jobject metadata = in getSongInfo() [all …]
|
D | com_android_bluetooth_hfpclient.cpp | 29 static jobject mCallbacksObj = NULL; 430 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() 469 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 489 static jboolean connectNative(JNIEnv* env, jobject object, jbyteArray address) { in connectNative() 506 static jboolean disconnectNative(JNIEnv* env, jobject object, in disconnectNative() 525 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative() 544 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative() 563 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative() 582 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative() 601 static jboolean setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative() [all …]
|
D | com_android_bluetooth_a2dp.cpp | 51 static jobject mCallbacksObj = nullptr; 108 jobject codecConfigObj = sCallbackEnv->NewObject( in bta2dp_audio_config_callback() 123 jobject capObj = sCallbackEnv->NewObject( in bta2dp_audio_config_callback() 139 jobject capObj = sCallbackEnv->NewObject( in bta2dp_audio_config_callback() 211 JNIEnv* env, jobject object, jobjectArray codecConfigArray) { in prepareCodecPreferences() 216 jobject jcodecConfig = env->GetObjectArrayElement(codecConfigArray, i); in prepareCodecPreferences() 261 static void initNative(JNIEnv* env, jobject object, in initNative() 319 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 343 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative() 368 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative() [all …]
|
D | com_android_bluetooth_hid_device.cpp | 39 static jobject mCallbacksObj = NULL; 171 static void initNative(JNIEnv* env, jobject object) { in initNative() 211 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 258 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative() 312 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative() 335 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative() 366 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative() 403 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative() 426 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative() 449 static jboolean connectNative(JNIEnv* env, jobject thiz, jbyteArray address) { in connectNative() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 57 static jobject sCallbacksObj = NULL; 511 ScopedLocalRef<jobject> mediaObj( in btavrcp_get_folder_items_callback() 513 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback() 536 ScopedLocalRef<jobject> folderObj( in btavrcp_get_folder_items_callback() 538 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback() 576 ScopedLocalRef<jobject> playerObj( in btavrcp_get_folder_items_callback() 578 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback() 812 static void initNative(JNIEnv* env, jobject object) { in initNative() 861 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 881 static jboolean sendPassThroughCommandNative(JNIEnv* env, jobject object, in sendPassThroughCommandNative() [all …]
|
D | com_android_bluetooth_hfp.cpp | 57 static jobject mCallbacksObj = nullptr; 439 static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, in initializeNative() 485 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 508 static jboolean connectHfpNative(JNIEnv* env, jobject object, in connectHfpNative() 530 static jboolean disconnectHfpNative(JNIEnv* env, jobject object, in disconnectHfpNative() 552 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative() 574 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative() 597 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative() 619 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative() 641 static jboolean setVolumeNative(JNIEnv* env, jobject object, jint volume_type, in setVolumeNative() [all …]
|
D | com_android_bluetooth_a2dp_sink.cpp | 34 static jobject mCallbacksObj = NULL; 113 static void initNative(JNIEnv* env, jobject object) { in initNative() 150 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() 169 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative() 190 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative() 210 static void informAudioFocusStateNative(JNIEnv* env, jobject object, in informAudioFocusStateNative() 216 static void informAudioTrackGainNative(JNIEnv* env, jobject object, in informAudioTrackGainNative()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 56 extern jboolean nativeNfcTag_doDisconnect(JNIEnv*, jobject); 162 static void nfcManager_doSetScreenState(JNIEnv* e, jobject o, 211 nfc_jni_native_data* getNative(JNIEnv* e, jobject o) { in getNative() 628 static jboolean nfcManager_initNativeStruc(JNIEnv* e, jobject o) { in nfcManager_initNativeStruc() 864 static jboolean nfcManager_sendRawFrame(JNIEnv* e, jobject, jbyteArray data) { in nfcManager_sendRawFrame() argument 887 static jboolean nfcManager_routeAid(JNIEnv* e, jobject, jbyteArray aid, in nfcManager_routeAid() argument 916 static jboolean nfcManager_unrouteAid(JNIEnv* e, jobject, jbyteArray aid) { in nfcManager_unrouteAid() argument 942 static jboolean nfcManager_commitRouting(JNIEnv* e, jobject) { in nfcManager_commitRouting() argument 964 static jint nfcManager_doRegisterT3tIdentifier(JNIEnv* e, jobject, in nfcManager_doRegisterT3tIdentifier() argument 995 static void nfcManager_doDeregisterT3tIdentifier(JNIEnv*, jobject, in nfcManager_doDeregisterT3tIdentifier() argument [all …]
|
D | NfcJniUtil.h | 97 jobject manager; 100 jobject cached_NfcTag; 101 jobject cached_P2pDevice; 116 jobject tag; 138 int nfc_jni_cache_object(JNIEnv* e, const char* clsname, jobject* cached_obj); 140 jobject* cachedObj); 141 int nfc_jni_get_nfc_socket_handle(JNIEnv* e, jobject o); 142 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv* e, jobject o);
|
D | NativeLlcpSocket.cpp | 42 static jboolean nativeLlcpSocket_doConnect(JNIEnv* e, jobject o, jint nSap) { in nativeLlcpSocket_doConnect() 66 static jboolean nativeLlcpSocket_doConnectBy(JNIEnv* e, jobject o, jstring sn) { in nativeLlcpSocket_doConnectBy() 94 static jboolean nativeLlcpSocket_doClose(JNIEnv* e, jobject o) { in nativeLlcpSocket_doClose() 117 static jboolean nativeLlcpSocket_doSend(JNIEnv* e, jobject o, jbyteArray data) { in nativeLlcpSocket_doSend() 144 static jint nativeLlcpSocket_doReceive(JNIEnv* e, jobject o, in nativeLlcpSocket_doReceive() 179 static jint nativeLlcpSocket_doGetRemoteSocketMIU(JNIEnv* e, jobject o) { in nativeLlcpSocket_doGetRemoteSocketMIU() 201 static jint nativeLlcpSocket_doGetRemoteSocketRW(JNIEnv* e, jobject o) { in nativeLlcpSocket_doGetRemoteSocketRW()
|
D | NfcJniUtil.cpp | 80 int nfc_jni_cache_object(JNIEnv* e, const char* className, jobject* cachedObj) { in nfc_jni_cache_object() 88 ScopedLocalRef<jobject> obj(e, e->NewObject(cls.get(), ctor)); in nfc_jni_cache_object() 113 int nfc_jni_get_nfc_socket_handle(JNIEnv* e, jobject o) { in nfc_jni_get_nfc_socket_handle() 130 struct nfc_jni_native_data* nfc_jni_get_nat(JNIEnv* e, jobject o) { in nfc_jni_get_nat() 147 jobject* cachedObj) { in nfc_jni_cache_object_local() 155 jobject obj = e->NewObject(cls.get(), ctor); in nfc_jni_cache_object_local()
|
/packages/apps/TV/jni/ |
D | DvbManager.h | 77 DvbManager(JNIEnv *env, jobject thiz); 79 int tune(JNIEnv *env, jobject thiz, 82 int readTsStream(JNIEnv *env, jobject thiz, 84 int startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType); 87 int getDeliverySystemType(JNIEnv *env, jobject thiz); 91 int openDvbFe(JNIEnv *env, jobject thiz); 92 int openDvbDvr(JNIEnv *env, jobject thiz); 100 int openDvbFeFromSystemApi(JNIEnv *env, jobject thiz); 101 int openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz); 102 int openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz);
|
D | tunertvinput_jni.h | 62 (JNIEnv *, jobject, jlong); 70 (JNIEnv *, jobject, jlong, jint, jstring, jint); 78 (JNIEnv *, jobject, jlong, jint, jint); 87 (JNIEnv *, jobject, jlong); 96 (JNIEnv *, jobject, jlong, jboolean); 105 (JNIEnv *, jobject, jlong); 114 (JNIEnv *, jobject, jlong); 122 (JNIEnv *, jobject, jlong); 130 (JNIEnv *, jobject, jlong, jbyteArray, jint);
|
D | tunertvinput_jni.cpp | 41 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeFinalize() argument 55 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune() 76 Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters(JNIEnv *, jobject, in Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters() argument 90 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeStopTune() argument 104 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeGetSignalStrength() argument 120 JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter() 133 JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() 169 JNIEnv *, jobject, jlong deviceId, jboolean hasPendingTune) { in Java_com_android_tv_tuner_TunerHal_nativeSetHasPendingTune() argument 183 jobject thiz, in Java_com_android_tv_tuner_TunerHal_nativeGetDeliverySystemType()
|
D | DvbManager.cpp | 40 DvbManager::DvbManager(JNIEnv *env, jobject) in DvbManager() argument 116 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune() 266 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi() 272 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi() 278 int DvbManager::openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDvrFromSystemApi() 284 int DvbManager::openDvbFe(JNIEnv *env, jobject thiz) { in openDvbFe() 316 int DvbManager::startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType) { in startTsPidFilter() 395 int DvbManager::openDvbDvr(JNIEnv *env, jobject thiz) { in openDvbDvr() 432 int DvbManager::readTsStream(JNIEnv *env, jobject thiz, in readTsStream() 464 int DvbManager::getDeliverySystemType(JNIEnv *env, jobject thiz) { in getDeliverySystemType()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 31 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() 85 jobject in, jint format) { 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()
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 463 JNIEnv * env, jobject obj); 465 JNIEnv * env, jobject obj, jint width, jint height, 468 JNIEnv * env, jobject obj, jfloatArray stMatrix); 470 JNIEnv * env, jobject obj); 472 JNIEnv * env, jobject obj); 474 JNIEnv * env, jobject obj); 476 JNIEnv * env, jobject obj, jboolean flag); 480 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() [all …]
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 81 static jobject _callbackReceiver; 132 static void stringToJava(JNIEnv *env, jobject obj, jfieldID id, const char *str); 284 static void _get_pdf_page_range(JNIEnv *env, jobject javaJobParams, int *pages_ary, int num_pages, in _get_pdf_page_range() 386 static void _initJNI(JNIEnv *env, jobject callbackReceiver, jstring fakeDir) { in _initJNI() 507 _callbackReceiver = (jobject) (*env)->NewGlobalRef(env, callbackReceiver); in _initJNI() 589 static int _convertPrinterCaps_to_C(JNIEnv *env, jobject javaPrinterCaps, in _convertPrinterCaps_to_C() 610 static int _convertPrinterCaps_to_Java(JNIEnv *env, jobject javaPrinterCaps, in _convertPrinterCaps_to_Java() 692 static void stringToJava(JNIEnv *env, jobject obj, jfieldID id, const char *str) { in stringToJava() 706 static int _convertJobParams_to_C(JNIEnv *env, jobject javaJobParams, in _convertJobParams_to_C() 851 static int _covertJobParams_to_Java(JNIEnv *env, jobject javaJobParams, in _covertJobParams_to_Java() [all …]
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 58 static void network_stack_utils_addArpEntry(JNIEnv *env, jobject thiz, jbyteArray ethAddr, in network_stack_utils_addArpEntry() 59 jbyteArray ipv4Addr, jstring ifname, jobject javaFd) { in network_stack_utils_addArpEntry() 97 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jobject clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter() 130 static void network_stack_utils_attachRaFilter(JNIEnv *env, jobject clazz, jobject javaFd, in network_stack_utils_attachRaFilter() 165 JNIEnv *env, jobject clazz, jobject javaFd, jint hardwareAddressType) { in network_stack_utils_attachControlPacketFilter()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 28 jintArray outProbabilityInfo, jobject outNgramPrevWordsArray, in outputWordProperty() 29 jobject outNgramPrevWordIsBeginningOfSentenceArray, jobject outNgramTargets, in outputWordProperty() 30 jobject outNgramProbabilities, jobject outShortcutTargets, in outputWordProperty() 31 jobject outShortcutProbabilities) { in outputWordProperty() 106 jobject integerProbability = env->NewObject(integerClass, intToIntegerConstructorId, in outputWordProperty()
|
/packages/apps/Gallery2/jni/filters/ |
D | geometry.c | 131 …IFUNCF(ImageFilterGeometry, nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeight, job… in JNIFUNCF() 144 …UNCF(ImageFilterGeometry, nativeApplyFilterRotate, jobject src, jint srcWidth, jint srcHeight, job… in JNIFUNCF() 154 …IFUNCF(ImageFilterGeometry, nativeApplyFilterCrop, jobject src, jint srcWidth, jint srcHeight, job… 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()
|
/packages/apps/Camera2/jni/ |
D | jpegutilnative.cpp | 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() 119 JNIEnv* env, jclass clazz __unused, jint width, jint height, jobject planeBuf, in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() 120 jint pStride, jint rStride, jobject outBitmap, jint rot90) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
|