Home
last modified time | relevance | path

Searched refs:jstring (Results 1 – 25 of 26) sorted by relevance

12

/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c125 static jstring _fakeDir;
287 jstring pageRangeObject = (jstring) (*env)->GetObjectField(env, javaJobParams, in _get_pdf_page_range()
386 static void _initJNI(JNIEnv *env, jobject callbackReceiver, jstring fakeDir) { in _initJNI()
387 _fakeDir = (jstring) (*env)->NewGlobalRef(env, fakeDir); in _initJNI()
693 jstring jStr; in stringToJava()
797 jstring docCategory = (jstring) (*env)->GetObjectField(env, javaJobParams, in _convertJobParams_to_C()
808 jstring jobName = (jstring) (*env)->GetObjectField(env, javaJobParams, in _convertJobParams_to_C()
818 jstring jobOriginatingUserName = (jstring) (*env)->GetObjectField( in _convertJobParams_to_C()
831 jstring pageRangeObject = (jstring) (*env)->GetObjectField(env, javaJobParams, in _convertJobParams_to_C()
941 jstring jStr; in _wprint_callback_fn()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp271 jboolean connectDeviceNative(JNIEnv* env, jobject object, jstring address) { in connectDeviceNative()
290 jboolean disconnectDeviceNative(JNIEnv* env, jobject object, jstring address) { in disconnectDeviceNative()
342 jstring jstr = (jstring)env->GetObjectField(metadata, field_mediaId); in getSongInfoFromJavaObj()
350 jstr = (jstring)env->GetObjectField(metadata, field_title); in getSongInfoFromJavaObj()
359 jstr = (jstring)env->GetObjectField(metadata, field_artist); in getSongInfoFromJavaObj()
368 jstr = (jstring)env->GetObjectField(metadata, field_album); in getSongInfoFromJavaObj()
377 jstr = (jstring)env->GetObjectField(metadata, field_trackNum); in getSongInfoFromJavaObj()
386 jstr = (jstring)env->GetObjectField(metadata, field_numTracks); in getSongInfoFromJavaObj()
395 jstr = (jstring)env->GetObjectField(metadata, field_genre); in getSongInfoFromJavaObj()
404 jstr = (jstring)env->GetObjectField(metadata, field_playingTime); in getSongInfoFromJavaObj()
[all …]
Dcom_android_bluetooth_gatt.cpp79 static RawAddress str2addr(JNIEnv* env, jstring address) { in str2addr()
90 static jstring bdaddr2newjstr(JNIEnv* env, const RawAddress* bda) { in bdaddr2newjstr()
216 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_scan_result_cb()
234 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_open_cb()
245 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_close_cb()
272 ScopedLocalRef<jstring> address( in btgattc_notify_cb()
351 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_remote_rssi_cb()
396 ScopedLocalRef<jstring> address( in btgattc_track_adv_event_cb()
575 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_connection_cb()
621 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_request_read_characteristic_cb()
[all …]
Dcom_android_bluetooth_btservice_BluetoothKeystore.cpp53 jstring j_prefixString = sCallbackEnv->NewStringUTF(prefixString.c_str()); in set_encrypt_key_or_remove_key()
54 jstring j_decryptedString = in set_encrypt_key_or_remove_key()
69 jstring j_prefixString = sCallbackEnv->NewStringUTF(prefixString.c_str()); in get_key()
71 jstring j_decrypt_str = (jstring)sCallbackEnv->CallObjectMethod( in get_key()
Dcom_android_bluetooth_sdp.cpp157 ScopedLocalRef<jstring> service_name(sCallbackEnv.get(), NULL); in sdp_search_callback()
161 (jstring)sCallbackEnv->NewStringUTF(record->mas.hdr.service_name)); in sdp_search_callback()
234 jstring name_str, jint mas_id, jint scn, in sdpCreateMapMasRecordNative()
273 jstring name_str, jint scn, in sdpCreateMapMnsRecordNative()
310 jstring name_str, jint version) { in sdpCreatePbapPceRecordNative()
341 jstring name_str, jint scn, in sdpCreatePbapPseRecordNative()
380 jstring name_str, jint scn, in sdpCreateOppOpsRecordNative()
429 jstring name_str, jint scn, in sdpCreateSapsRecordNative()
Dcom_android_bluetooth_hfpclient.cpp165 ScopedLocalRef<jstring> js_name(sCallbackEnv.get(), in current_operator_cb()
236 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), in clip_cb()
256 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), in call_waiting_cb()
280 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), in current_calls_cb()
323 ScopedLocalRef<jstring> js_name(sCallbackEnv.get(), in subscriber_info_cb()
355 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), in last_voice_tag_number_cb()
379 ScopedLocalRef<jstring> js_event(sCallbackEnv.get(), in unknown_event_cb()
638 jstring number_str) { in dialNative()
811 jstring arg_str) { in sendATCmdNative()
Dcom_android_bluetooth_hfp.cpp191 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), in DialCallCallback()
335 ScopedLocalRef<jstring> js_at_string(sCallbackEnv.get(), in UnknownAtCallback()
371 ScopedLocalRef<jstring> js_at_string(sCallbackEnv.get(), in AtBindCallback()
690 jstring operator_str, jbyteArray address) { in copsResponseNative()
740 jstring response_str, in atResponseStringNative()
790 jboolean mpty, jstring number_str, jint type, in clccResponseNative()
827 jint call_state, jstring number_str, in phoneStateChangeNative()
828 jint type, jstring name_str, in phoneStateChangeNative()
Dcom_android_bluetooth_btservice_AdapterService.cpp547 ScopedLocalRef<jstring> lock_name_jni(env, env->NewStringUTF(lock_name)); in acquire_wake_lock_callout()
572 ScopedLocalRef<jstring> lock_name_jni(env, env->NewStringUTF(lock_name)); in release_wake_lock_callout()
700 jstring* flagObjs = new jstring[flagCount]; in initNative()
708 flagObjs[i] = (jstring)env->GetObjectArrayElement(initFlags, i); in initNative()
1159 jstring* argObjs = new jstring[numArgs]; in dumpNative()
1167 argObjs[i] = (jstring)env->GetObjectArrayElement(argArray, i); in dumpNative()
1273 jstring serviceName, jbyteArray uuid, in createSocketChannelNative()
Dcom_android_bluetooth_hid_device.cpp257 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative()
258 jstring description, jstring provider, in registerAppNative()
Dcom_android_bluetooth_avrcp_controller.cpp360 ScopedLocalRef<jstring> str( in btavrcp_track_changed_callback()
474 ScopedLocalRef<jstring> mediaName( in btavrcp_get_folder_items_callback()
505 ScopedLocalRef<jstring> attrValStr( in btavrcp_get_folder_items_callback()
528 ScopedLocalRef<jstring> folderName( in btavrcp_get_folder_items_callback()
570 ScopedLocalRef<jstring> playerName( in btavrcp_get_folder_items_callback()
Dcom_android_bluetooth_hid_host.cpp419 jbyte reportType, jstring report) { in setReportNative()
445 jstring report) { in sendDataNative()
Dcom_android_bluetooth_pan.cpp69 ScopedLocalRef<jstring> js_ifname(sCallbackEnv.get(), in control_state_callback()
/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp95 static jstring com_android_server_ApfTest_compileToBpf(JNIEnv* env, jclass, jstring jfilter) { in com_android_server_ApfTest_compileToBpf()
121 static jboolean com_android_server_ApfTest_compareBpfApf(JNIEnv* env, jclass, jstring jfilter, in com_android_server_ApfTest_compareBpfApf()
122 jstring jpcap_filename, jbyteArray japf_program) { in com_android_server_ApfTest_compareBpfApf()
186 jbyteArray jdata, jstring jpcap_filename) { in com_android_server_ApfTest_dropsAllPackets()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h49 jstring keyString = static_cast<jstring>( in constructAttributeMap()
59 jstring valueString = static_cast<jstring>( in constructAttributeMap()
Dlog_utils.cpp44 const jstring javaTag = env->NewStringUTF(TAG); in logToJava()
54 jstring javaString; in logToJava()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp45 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jclass clazz, jstring sourceDir, in latinime_BinaryDictionary_open()
72 jlong formatVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionary_createOnMemory()
100 jstring filePath) { in latinime_BinaryDictionary_flush()
118 jstring filePath) { in latinime_BinaryDictionary_flushWithGC()
511 static jstring latinime_BinaryDictionary_getProperty(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getProperty()
512 jstring query) { in latinime_BinaryDictionary_getProperty()
546 jstring dictFilePath, jlong newFormatVersion) { in latinime_BinaryDictionary_migrateNative()
Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp33 jstring filePath, jlong dictVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionaryUtils_createEmptyDictFile()
Dcom_android_inputmethod_latin_DicTraverseSession.cpp29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession()
/packages/apps/TV/jni/
Dtunertvinput_jni.h71 (JNIEnv *, jobject, jlong, jint, jstring, jint);
80 (JNIEnv *, jobject, jlong, jint, jint, jstring, jint);
Dtunertvinput_jni.cpp57 jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
79 jint frequency, jstring modulation, jint timeout_ms) { in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.h41 static AK_FORCE_INLINE void *getSessionInstance(JNIEnv *env, jstring localeStr, in getSessionInstance()
53 AK_FORCE_INLINE DicTraverseSession(JNIEnv *env, jstring localeStr, bool usesLargeCache) in DicTraverseSession()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp542 jboolean transcode(JNIEnv* env, jobject clazz, jstring filePath, jstring outFilePath) { in transcode()
/packages/apps/Nfc/nci/jni/
DNativeLlcpSocket.cpp66 static jboolean nativeLlcpSocket_doConnectBy(JNIEnv* e, jobject o, jstring sn) { in nativeLlcpSocket_doConnectBy()
/packages/services/BuiltInPrintService/jni/plugins/
Dpdf_render.c53 jstring fileNameString = (*self->env)->NewStringUTF(self->env, fileName); in openDocument()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp61 jbyteArray ipv4Addr, jstring ifname, jobject javaFd) { in network_stack_utils_addArpEntry()

12