/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 125 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/ |
D | com_android_bluetooth_avrcp_target.cpp | 271 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 …]
|
D | com_android_bluetooth_gatt.cpp | 79 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 …]
|
D | com_android_bluetooth_btservice_BluetoothKeystore.cpp | 53 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()
|
D | com_android_bluetooth_sdp.cpp | 157 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()
|
D | com_android_bluetooth_hfpclient.cpp | 165 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()
|
D | com_android_bluetooth_hfp.cpp | 191 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()
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 547 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()
|
D | com_android_bluetooth_hid_device.cpp | 257 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative() 258 jstring description, jstring provider, in registerAppNative()
|
D | com_android_bluetooth_avrcp_controller.cpp | 360 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()
|
D | com_android_bluetooth_hid_host.cpp | 419 jbyte reportType, jstring report) { in setReportNative() 445 jstring report) { in sendDataNative()
|
D | com_android_bluetooth_pan.cpp | 69 ScopedLocalRef<jstring> js_ifname(sCallbackEnv.get(), in control_state_callback()
|
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 95 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/ |
D | jni_data_utils.h | 49 jstring keyString = static_cast<jstring>( in constructAttributeMap() 59 jstring valueString = static_cast<jstring>( in constructAttributeMap()
|
D | log_utils.cpp | 44 const jstring javaTag = env->NewStringUTF(TAG); in logToJava() 54 jstring javaString; in logToJava()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 45 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()
|
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 33 jstring filePath, jlong dictVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionaryUtils_createEmptyDictFile()
|
D | com_android_inputmethod_latin_DicTraverseSession.cpp | 29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession()
|
/packages/apps/TV/jni/ |
D | tunertvinput_jni.h | 71 (JNIEnv *, jobject, jlong, jint, jstring, jint); 80 (JNIEnv *, jobject, jlong, jint, jint, jstring, jint);
|
D | tunertvinput_jni.cpp | 57 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/ |
D | dic_traverse_session.h | 41 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/ |
D | GifTranscoder.cpp | 542 jboolean transcode(JNIEnv* env, jobject clazz, jstring filePath, jstring outFilePath) { in transcode()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeLlcpSocket.cpp | 66 static jboolean nativeLlcpSocket_doConnectBy(JNIEnv* e, jobject o, jstring sn) { in nativeLlcpSocket_doConnectBy()
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | pdf_render.c | 53 jstring fileNameString = (*self->env)->NewStringUTF(self->env, fileName); in openDocument()
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 61 jbyteArray ipv4Addr, jstring ifname, jobject javaFd) { in network_stack_utils_addArpEntry()
|