Home
last modified time | relevance | path

Searched refs:jobject (Results 1 – 25 of 70) sorted by relevance

123

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp214 static jobject mCallbacksObj = NULL;
215 static jobject mAdvertiseCallbacksObj = NULL;
216 static jobject mPeriodicScanCallbacksObj = NULL;
435 ScopedLocalRef<jobject> trackadv_obj( in btgattc_track_adv_event_cb()
452 void fillGattDbElementArray(JNIEnv* env, jobject* array, in fillGattDbElementArray()
459 ScopedLocalRef<jobject> objectForClass( in fillGattDbElementArray()
479 ScopedLocalRef<jobject> element( in fillGattDbElementArray()
489 ScopedLocalRef<jobject> uuid( in fillGattDbElementArray()
519 ScopedLocalRef<jobject> array( in btgattc_get_gatt_db_cb()
525 jobject arrayPtr = array.get(); in btgattc_get_gatt_db_cb()
[all …]
Dcom_android_bluetooth_btservice_AdapterService.cpp63 static jobject sJniAdapterServiceObj;
64 static jobject sJniCallbacksObj;
418 ScopedLocalRef<jobject> uidObj( in energy_info_recv_callback()
572 static void alarmFiredNative(JNIEnv* env, jobject obj) { in alarmFiredNative()
649 static bool initNative(JNIEnv* env, jobject obj) { in initNative()
687 static bool cleanupNative(JNIEnv* env, jobject obj) { in cleanupNative()
702 static jboolean enableNative(JNIEnv* env, jobject obj, jboolean isGuest) { in enableNative()
711 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative()
724 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative()
733 static jboolean cancelDiscoveryNative(JNIEnv* env, jobject obj) { in cancelDiscoveryNative()
[all …]
Dcom_android_bluetooth_avrcp_controller.cpp54 static jobject sCallbacksObj = NULL;
445 ScopedLocalRef<jobject> mediaObj( in btavrcp_get_folder_items_callback()
447 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback()
480 ScopedLocalRef<jobject> folderObj( in btavrcp_get_folder_items_callback()
482 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback()
520 ScopedLocalRef<jobject> playerObj( in btavrcp_get_folder_items_callback()
522 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback()
662 static void initNative(JNIEnv* env, jobject object) { in initNative()
709 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
727 static jboolean sendPassThroughCommandNative(JNIEnv* env, jobject object, in sendPassThroughCommandNative()
[all …]
Dcom_android_bluetooth_hfpclient.cpp29 static jobject mCallbacksObj = NULL;
380 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
419 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
439 static jboolean connectNative(JNIEnv* env, jobject object, jbyteArray address) { in connectNative()
457 static jboolean disconnectNative(JNIEnv* env, jobject object, in disconnectNative()
476 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative()
495 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative()
514 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative()
533 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative()
552 static jboolean setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative()
[all …]
Dcom_android_bluetooth_avrcp.cpp47 static jobject mCallbacksObj = NULL;
50 static bool copy_item_attributes(JNIEnv* env, jobject object,
563 static void initNative(JNIEnv* env, jobject object) { in initNative()
600 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
618 static jboolean getPlayStatusRspNative(JNIEnv* env, jobject object, in getPlayStatusRspNative()
641 static jboolean getElementAttrRspNative(JNIEnv* env, jobject object, in getElementAttrRspNative()
708 static jboolean getItemAttrRspNative(JNIEnv* env, jobject object, in getItemAttrRspNative()
773 jobject object, in registerNotificationRspPlayStatusNative()
794 jobject object, in registerNotificationRspTrackChangeNative()
829 jobject object, jint type, in registerNotificationRspPlayPosNative()
[all …]
Dcom_android_bluetooth_hfp.cpp55 static jobject mCallbacksObj = NULL;
406 static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, in initializeNative()
447 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
470 static jboolean connectHfpNative(JNIEnv* env, jobject object, in connectHfpNative()
490 static jboolean disconnectHfpNative(JNIEnv* env, jobject object, in disconnectHfpNative()
509 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative()
529 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative()
549 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative()
569 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative()
589 static jboolean setVolumeNative(JNIEnv* env, jobject object, jint volume_type, in setVolumeNative()
[all …]
Dcom_android_bluetooth_a2dp.cpp48 static jobject mCallbacksObj = NULL;
96 jobject codecConfigObj = sCallbackEnv->NewObject( in bta2dp_audio_config_callback()
111 jobject capObj = sCallbackEnv->NewObject( in bta2dp_audio_config_callback()
127 jobject capObj = sCallbackEnv->NewObject( in bta2dp_audio_config_callback()
188 JNIEnv* env, jobject object, jobjectArray codecConfigArray) { in prepareCodecPreferences()
193 jobject jcodecConfig = env->GetObjectArrayElement(codecConfigArray, i); in prepareCodecPreferences()
238 static void initNative(JNIEnv* env, jobject object, in initNative()
290 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
311 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative()
330 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative()
[all …]
Dcom_android_bluetooth_hid.cpp37 static jobject mCallbacksObj = NULL;
184 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
220 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
241 static jboolean connectHidNative(JNIEnv* env, jobject object, in connectHidNative()
262 static jboolean disconnectHidNative(JNIEnv* env, jobject object, in disconnectHidNative()
284 static jboolean getProtocolModeNative(JNIEnv* env, jobject object, in getProtocolModeNative()
308 static jboolean virtualUnPlugNative(JNIEnv* env, jobject object, in virtualUnPlugNative()
329 static jboolean setProtocolModeNative(JNIEnv* env, jobject object, in setProtocolModeNative()
366 static jboolean getReportNative(JNIEnv* env, jobject object, jbyteArray address, in getReportNative()
394 static jboolean setReportNative(JNIEnv* env, jobject object, jbyteArray address, in setReportNative()
[all …]
Dcom_android_bluetooth_hidd.cpp39 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()
307 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative()
325 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative()
350 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative()
382 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative()
400 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative()
418 static jboolean connectNative(JNIEnv* env, jobject thiz, jbyteArray address) { in connectNative()
[all …]
Dcom_android_bluetooth_hdp.cpp34 static jobject mCallbacksObj = NULL;
58 jobject fileDescriptor = NULL; in channel_state_callback()
88 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
124 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
145 static jint registerHealthAppNative(JNIEnv* env, jobject object, jint data_type, in registerHealthAppNative()
183 static jboolean unregisterHealthAppNative(JNIEnv* env, jobject object, in unregisterHealthAppNative()
194 static jint connectChannelNative(JNIEnv* env, jobject object, in connectChannelNative()
216 static jboolean disconnectChannelNative(JNIEnv* env, jobject object, in disconnectChannelNative()
Dcom_android_bluetooth_a2dp_sink.cpp34 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()
188 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative()
206 static void informAudioFocusStateNative(JNIEnv* env, jobject object, in informAudioFocusStateNative()
212 static void informAudioTrackGainNative(JNIEnv* env, jobject object, in informAudioTrackGainNative()
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp165 nfc_jni_native_data *getNative (JNIEnv* e, jobject o) in getNative()
545 static jboolean nfcManager_initNativeStruc (JNIEnv* e, jobject o) in nfcManager_initNativeStruc()
763 static jboolean nfcManager_sendRawFrame (JNIEnv* e, jobject, jbyteArray data) in nfcManager_sendRawFrame() argument
784 static jboolean nfcManager_routeAid (JNIEnv* e, jobject, jbyteArray aid, jint route) in nfcManager_routeAid() argument
804 static jboolean nfcManager_unrouteAid (JNIEnv* e, jobject, jbyteArray aid) in nfcManager_unrouteAid() argument
824 static jboolean nfcManager_commitRouting (JNIEnv* e, jobject) in nfcManager_commitRouting() argument
841 static jint nfcManager_doRegisterT3tIdentifier(JNIEnv* e, jobject, jbyteArray t3tIdentifier) in nfcManager_doRegisterT3tIdentifier() argument
868 static void nfcManager_doDeregisterT3tIdentifier(JNIEnv*, jobject, jint handle) in nfcManager_doDeregisterT3tIdentifier() argument
888 static jint nfcManager_getLfT3tMax(JNIEnv*, jobject) in nfcManager_getLfT3tMax() argument
908 static jboolean nfcManager_doInitialize (JNIEnv* e, jobject o) in nfcManager_doInitialize()
[all …]
DNfcJniUtil.h106 jobject manager;
109 jobject cached_NfcTag;
110 jobject cached_P2pDevice;
125 jobject tag;
159 int nfc_jni_cache_object (JNIEnv *e, const char *clsname, jobject *cached_obj);
160 int nfc_jni_cache_object_local (JNIEnv *e, const char *className, jobject *cachedObj);
161 int nfc_jni_get_nfc_socket_handle (JNIEnv *e, jobject o);
162 struct nfc_jni_native_data* nfc_jni_get_nat (JNIEnv *e, jobject o);
DNativeNfcTag.cpp46 extern nfc_jni_native_data* getNative(JNIEnv *e, jobject o);
260 static jbyteArray nativeNfcTag_doRead (JNIEnv* e, jobject) in nativeNfcTag_doRead() argument
370 static jboolean nativeNfcTag_doWrite (JNIEnv* e, jobject, jbyteArray buf) in nativeNfcTag_doWrite() argument
561 static jint nativeNfcTag_doConnect (JNIEnv*, jobject, jint targetHandle) in nativeNfcTag_doConnect() argument
762 static jint nativeNfcTag_doReconnect (JNIEnv*, jobject) in nativeNfcTag_doReconnect() argument
808 static jint nativeNfcTag_doHandleReconnect (JNIEnv *e, jobject o, jint targetHandle) in nativeNfcTag_doHandleReconnect()
826 static jboolean nativeNfcTag_doDisconnect (JNIEnv*, jobject) in nativeNfcTag_doDisconnect() argument
915 static jbyteArray nativeNfcTag_doTransceive (JNIEnv* e, jobject o, jbyteArray data, jboolean raw, j… in nativeNfcTag_doTransceive()
1076 static jint nativeNfcTag_doGetNdefType (JNIEnv*, jobject, jint libnfcType, jint javaType) in nativeNfcTag_doGetNdefType() argument
1202 static jint nativeNfcTag_doCheckNdef (JNIEnv* e, jobject o, jintArray ndefInfo) in nativeNfcTag_doCheckNdef()
[all …]
DNativeLlcpSocket.cpp39 static jboolean nativeLlcpSocket_doConnect (JNIEnv* e, jobject o, jint nSap) in nativeLlcpSocket_doConnect()
63 static jboolean nativeLlcpSocket_doConnectBy (JNIEnv* e, jobject o, jstring sn) in nativeLlcpSocket_doConnectBy()
92 static jboolean nativeLlcpSocket_doClose(JNIEnv *e, jobject o) in nativeLlcpSocket_doClose()
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()
177 static jint nativeLlcpSocket_doGetRemoteSocketMIU (JNIEnv* e, jobject o) in nativeLlcpSocket_doGetRemoteSocketMIU()
200 static jint nativeLlcpSocket_doGetRemoteSocketRW (JNIEnv* e, jobject o) in nativeLlcpSocket_doGetRemoteSocketRW()
/packages/apps/TV/jni/
DDvbManager.h58 DvbManager(JNIEnv *env, jobject thiz);
60 int tune(JNIEnv *env, jobject thiz,
63 int readTsStream(JNIEnv *env, jobject thiz,
65 int startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType);
70 int openDvbFe(JNIEnv *env, jobject thiz);
71 int openDvbDvr(JNIEnv *env, jobject thiz);
79 int openDvbFeFromSystemApi(JNIEnv *env, jobject thiz);
80 int openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz);
81 int openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz);
Dtunertvinput_jni.h34 (JNIEnv *, jobject, jlong);
42 (JNIEnv *, jobject, jlong, jint, jstring, jint);
50 (JNIEnv *, jobject, jlong, jint, jint);
58 (JNIEnv *, jobject, jlong);
66 (JNIEnv *, jobject, jlong);
74 (JNIEnv *, jobject, jlong, jbyteArray, jint);
82 (JNIEnv *, jobject, jlong, jboolean);
DDvbManager.cpp40 DvbManager::DvbManager(JNIEnv *env, jobject) in DvbManager() argument
77 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune()
147 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi()
153 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi()
159 int DvbManager::openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDvrFromSystemApi()
165 int DvbManager::openDvbFe(JNIEnv *env, jobject thiz) { in openDvbFe()
197 int DvbManager::startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType) { in startTsPidFilter()
272 int DvbManager::openDvbDvr(JNIEnv *env, jobject thiz) { in openDvbDvr()
309 int DvbManager::readTsStream(JNIEnv *env, jobject thiz, in readTsStream()
Dtunertvinput_jni.cpp42 (JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeFinalize() argument
57 (JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune()
77 (JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters() argument
91 (JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeStopTune() argument
105 (JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter()
119 (JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, jint javaBufferSize) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
152 (JNIEnv *env, jobject thiz, jlong deviceId, jboolean hasPendingTune) { in Java_com_android_tv_tuner_TunerHal_nativeSetHasPendingTune()
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c80 static jobject _callbackReceiver;
129 static void stringToJava(JNIEnv *env, jobject obj, jfieldID id, const char *str);
281 static void _get_pdf_page_range(JNIEnv *env, jobject javaJobParams, int *pages_ary, int num_pages, in _get_pdf_page_range()
383 static void _initJNI(JNIEnv *env, jobject callbackReceiver, jstring fakeDir) { in _initJNI()
500 _callbackReceiver = (jobject) (*env)->NewGlobalRef(env, callbackReceiver); in _initJNI()
579 static int _convertPrinterCaps_to_C(JNIEnv *env, jobject javaPrinterCaps, in _convertPrinterCaps_to_C()
600 static int _convertPrinterCaps_to_Java(JNIEnv *env, jobject javaPrinterCaps, in _convertPrinterCaps_to_Java()
682 static void stringToJava(JNIEnv *env, jobject obj, jfieldID id, const char *str) { in stringToJava()
696 static int _convertJobParams_to_C(JNIEnv *env, jobject javaJobParams, in _convertJobParams_to_C()
841 static int _covertJobParams_to_Java(JNIEnv *env, jobject javaJobParams, in _covertJobParams_to_Java()
[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()
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/
Dmosaic_renderer_jni.cpp463 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 …]
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/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp28 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/
Dgeometry.c130 …IFUNCF(ImageFilterGeometry, nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeight, job… in JNIFUNCF()
143 …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()
165 …(ImageFilterGeometry, nativeApplyFilterStraighten, jobject src, jint srcWidth, jint srcHeight, job… in JNIFUNCF()

123