Home
last modified time | relevance | path

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

123

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp192 static jobject mCallbacksObj = NULL;
193 static jobject mAdvertiseCallbacksObj = NULL;
194 static jobject mPeriodicScanCallbacksObj = NULL;
415 ScopedLocalRef<jobject> trackadv_obj( in btgattc_track_adv_event_cb()
432 void fillGattDbElementArray(JNIEnv* env, jobject* array, in fillGattDbElementArray()
439 ScopedLocalRef<jobject> objectForClass( in fillGattDbElementArray()
459 ScopedLocalRef<jobject> element( in fillGattDbElementArray()
469 ScopedLocalRef<jobject> uuid( in fillGattDbElementArray()
500 ScopedLocalRef<jobject> array( in btgattc_get_gatt_db_cb()
506 jobject arrayPtr = array.get(); in btgattc_get_gatt_db_cb()
[all …]
Dcom_android_bluetooth_btservice_AdapterService.cpp75 static jobject sJniAdapterServiceObj;
76 static jobject sJniCallbacksObj;
435 ScopedLocalRef<jobject> uidObj( in energy_info_recv_callback()
588 static void alarmFiredNative(JNIEnv* env, jobject obj) { in alarmFiredNative()
683 static bool initNative(JNIEnv* env, jobject obj, jboolean isGuest, in initNative()
746 static bool cleanupNative(JNIEnv* env, jobject obj) { in cleanupNative()
771 static jboolean enableNative(JNIEnv* env, jobject obj) { in enableNative()
780 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative()
793 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative()
802 static jboolean cancelDiscoveryNative(JNIEnv* env, jobject obj) { in cancelDiscoveryNative()
[all …]
Dcom_android_bluetooth_avrcp_target.cpp37 static jobject mJavaInterface;
218 static void initNative(JNIEnv* env, jobject object) { in initNative()
228 static void sendMediaUpdateNative(JNIEnv* env, jobject object, in sendMediaUpdateNative()
242 static void sendFolderUpdateNative(JNIEnv* env, jobject object, in sendFolderUpdateNative()
257 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
271 jboolean connectDeviceNative(JNIEnv* env, jobject object, jstring address) { in connectDeviceNative()
290 jboolean disconnectDeviceNative(JNIEnv* env, jobject object, jstring address) { in disconnectDeviceNative()
319 static SongInfo getSongInfoFromJavaObj(JNIEnv* env, jobject metadata) { in getSongInfoFromJavaObj()
416 static FolderInfo getFolderInfoFromJavaObj(JNIEnv* env, jobject folder) { in getFolderInfoFromJavaObj()
451 jobject metadata = in getSongInfo()
[all …]
Dcom_android_bluetooth_hid_host.cpp37 static jobject mCallbacksObj = NULL;
206 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
243 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
265 static jboolean connectHidNative(JNIEnv* env, jobject object, in connectHidNative()
286 static jboolean disconnectHidNative(JNIEnv* env, jobject object, in disconnectHidNative()
308 static jboolean getProtocolModeNative(JNIEnv* env, jobject object, in getProtocolModeNative()
332 static jboolean virtualUnPlugNative(JNIEnv* env, jobject object, in virtualUnPlugNative()
353 static jboolean setProtocolModeNative(JNIEnv* env, jobject object, in setProtocolModeNative()
390 static jboolean getReportNative(JNIEnv* env, jobject object, jbyteArray address, in getReportNative()
418 static jboolean setReportNative(JNIEnv* env, jobject object, jbyteArray address, in setReportNative()
[all …]
Dcom_android_bluetooth_hfpclient.cpp28 static jobject mCallbacksObj = NULL;
447 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative()
486 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
506 static jboolean connectNative(JNIEnv* env, jobject object, jbyteArray address) { in connectNative()
523 static jboolean disconnectNative(JNIEnv* env, jobject object, in disconnectNative()
542 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative()
561 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative()
580 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative()
599 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative()
618 static jboolean setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative()
[all …]
Dcom_android_bluetooth_avrcp_controller.cpp58 static jobject sCallbacksObj = NULL;
512 ScopedLocalRef<jobject> mediaObj( in btavrcp_get_folder_items_callback()
514 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback()
537 ScopedLocalRef<jobject> folderObj( in btavrcp_get_folder_items_callback()
539 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback()
577 ScopedLocalRef<jobject> playerObj( in btavrcp_get_folder_items_callback()
579 (jobject)sCallbackEnv->CallObjectMethod( in btavrcp_get_folder_items_callback()
869 static void initNative(JNIEnv* env, jobject object) { in initNative()
918 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
938 static jboolean sendPassThroughCommandNative(JNIEnv* env, jobject object, in sendPassThroughCommandNative()
[all …]
Dcom_android_bluetooth_a2dp.cpp51 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()
238 JNIEnv* env, jobject object, jobjectArray codecConfigArray) { in prepareCodecPreferences()
243 jobject jcodecConfig = env->GetObjectArrayElement(codecConfigArray, i); in prepareCodecPreferences()
288 static void initNative(JNIEnv* env, jobject object, in initNative()
351 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
375 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative()
400 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative()
[all …]
Dcom_android_bluetooth_hid_device.cpp38 static jobject mCallbacksObj = NULL;
170 static void initNative(JNIEnv* env, jobject object) { in initNative()
210 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
257 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative()
311 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative()
334 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative()
365 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative()
402 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative()
425 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative()
448 static jboolean connectNative(JNIEnv* env, jobject thiz, jbyteArray address) { in connectNative()
[all …]
Dcom_android_bluetooth_a2dp_sink.cpp33 static jobject mCallbacksObj = NULL;
112 static void initNative(JNIEnv* env, jobject object) { in initNative()
149 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
168 static jboolean connectA2dpNative(JNIEnv* env, jobject object, in connectA2dpNative()
189 static jboolean disconnectA2dpNative(JNIEnv* env, jobject object, in disconnectA2dpNative()
209 static void informAudioFocusStateNative(JNIEnv* env, jobject object, in informAudioFocusStateNative()
215 static void informAudioTrackGainNative(JNIEnv* env, jobject object, in informAudioTrackGainNative()
221 static jboolean setActiveDeviceNative(JNIEnv* env, jobject object, in setActiveDeviceNative()
Dcom_android_bluetooth_hfp.cpp56 static jobject mCallbacksObj = nullptr;
438 static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, in initializeNative()
484 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative()
507 static jboolean connectHfpNative(JNIEnv* env, jobject object, in connectHfpNative()
529 static jboolean disconnectHfpNative(JNIEnv* env, jobject object, in disconnectHfpNative()
551 static jboolean connectAudioNative(JNIEnv* env, jobject object, in connectAudioNative()
573 static jboolean disconnectAudioNative(JNIEnv* env, jobject object, in disconnectAudioNative()
596 static jboolean startVoiceRecognitionNative(JNIEnv* env, jobject object, in startVoiceRecognitionNative()
618 static jboolean stopVoiceRecognitionNative(JNIEnv* env, jobject object, in stopVoiceRecognitionNative()
640 static jboolean setVolumeNative(JNIEnv* env, jobject object, jint volume_type, in setVolumeNative()
[all …]
/packages/apps/TV/jni/
DDvbManager.h77 DvbManager(JNIEnv *env, jobject thiz);
79 int tune(JNIEnv *env, jobject thiz,
81 int tune(JNIEnv *env, jobject thiz,
85 int readTsStream(JNIEnv *env, jobject thiz,
87 int startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType);
90 int getDeliverySystemType(JNIEnv *env, jobject thiz);
91 int *getDeliverySystemTypes(JNIEnv *env, jobject thiz);
95 int tuneInternal(JNIEnv *env, jobject thiz,
98 int openDvbFe(JNIEnv *env, jobject thiz);
99 int openDvbDvr(JNIEnv *env, jobject thiz);
[all …]
Dtunertvinput_jni.h62 (JNIEnv *, jobject, jlong);
71 (JNIEnv *, jobject, jlong, jint, jstring, jint);
80 (JNIEnv *, jobject, jlong, jint, jint, jstring, jint);
88 (JNIEnv *, jobject, jlong, jint, jint);
97 (JNIEnv *, jobject, jlong);
106 (JNIEnv *, jobject, jlong, jboolean);
115 (JNIEnv *, jobject, jlong);
124 (JNIEnv *, jobject, jlong);
133 (JNIEnv *, jobject, jlong);
141 (JNIEnv *, jobject, jlong);
[all …]
Dtunertvinput_jni.cpp41 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeFinalize() argument
56 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, 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()
100 Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters(JNIEnv *, jobject, in Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters() argument
114 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeStopTune() argument
128 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeGetSignalStrength() argument
144 JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter()
157 JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
193 JNIEnv *, jobject, jlong deviceId, jboolean hasPendingTune) { in Java_com_android_tv_tuner_TunerHal_nativeSetHasPendingTune() argument
207 jobject thiz, in Java_com_android_tv_tuner_TunerHal_nativeGetDeliverySystemType()
[all …]
DDvbManager.cpp40 DvbManager::DvbManager(JNIEnv *env, jobject) in DvbManager() argument
117 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune()
123 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune()
130 int DvbManager::tuneInternal(JNIEnv *env, jobject thiz, in tuneInternal()
311 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi()
317 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi()
323 int DvbManager::openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDvrFromSystemApi()
329 int DvbManager::openDvbFe(JNIEnv *env, jobject thiz) { in openDvbFe()
361 int DvbManager::startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType) { in startTsPidFilter()
440 int DvbManager::openDvbDvr(JNIEnv *env, jobject thiz) { in openDvbDvr()
[all …]
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp57 extern jboolean nativeNfcTag_doDisconnect(JNIEnv*, jobject);
163 static void nfcManager_doSetScreenState(JNIEnv* e, jobject o,
212 nfc_jni_native_data* getNative(JNIEnv* e, jobject o) { in getNative()
660 static jboolean nfcManager_initNativeStruc(JNIEnv* e, jobject o) { in nfcManager_initNativeStruc()
896 static jboolean nfcManager_sendRawFrame(JNIEnv* e, jobject, jbyteArray data) { in nfcManager_sendRawFrame() argument
919 static jboolean nfcManager_routeAid(JNIEnv* e, jobject, jbyteArray aid, in nfcManager_routeAid() argument
948 static jboolean nfcManager_unrouteAid(JNIEnv* e, jobject, jbyteArray aid) { in nfcManager_unrouteAid() argument
974 static jboolean nfcManager_commitRouting(JNIEnv* e, jobject) { in nfcManager_commitRouting() argument
996 static jint nfcManager_doRegisterT3tIdentifier(JNIEnv* e, jobject, in nfcManager_doRegisterT3tIdentifier() argument
1027 static void nfcManager_doDeregisterT3tIdentifier(JNIEnv*, jobject, in nfcManager_doDeregisterT3tIdentifier() argument
[all …]
DNfcJniUtil.h97 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);
DNativeLlcpSocket.cpp42 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()
DNfcJniUtil.cpp80 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/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 …]
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c81 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/
Dnetwork_stack_utils_jni.cpp60 static void network_stack_utils_addArpEntry(JNIEnv *env, jobject thiz, jbyteArray ethAddr, in network_stack_utils_addArpEntry()
61 jbyteArray ipv4Addr, jstring ifname, jobject javaFd) { in network_stack_utils_addArpEntry()
99 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jobject clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter()
132 static void network_stack_utils_attachRaFilter(JNIEnv *env, jobject clazz, jobject javaFd, in network_stack_utils_attachRaFilter()
167 JNIEnv *env, jobject clazz, jobject javaFd, jint hardwareAddressType) { in network_stack_utils_attachControlPacketFilter()
/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.c131 …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/
Djpegutilnative.cpp74 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()

123