/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() 71 static jlong latinime_BinaryDictionary_createOnMemory(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_createOnMemory() 99 static bool latinime_BinaryDictionary_flush(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flush() 110 static bool latinime_BinaryDictionary_needsToRunGC(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_needsToRunGC() 117 static bool latinime_BinaryDictionary_flushWithGC(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flushWithGC() 128 static void latinime_BinaryDictionary_close(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_close() 134 static void latinime_BinaryDictionary_getHeaderInfo(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getHeaderInfo() 145 jclass arrayListClass = env->FindClass("java/util/ArrayList"); in latinime_BinaryDictionary_getHeaderInfo() 170 static int latinime_BinaryDictionary_getFormatVersion(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_getFormatVersion() 178 static void latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getSuggestions() [all …]
|
D | com_android_inputmethod_latin_DicTraverseSession.cpp | 29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession() 35 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, in latinime_initDicTraverseSession() 53 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) { in latinime_releaseDicTraverseSession()
|
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 32 static jboolean latinime_BinaryDictionaryUtils_createEmptyDictFile(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_createEmptyDictFile() 59 static jfloat latinime_BinaryDictionaryUtils_calcNormalizedScore(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_calcNormalizedScore() 71 static int latinime_BinaryDictionaryUtils_setCurrentTimeForTest(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_setCurrentTimeForTest()
|
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 28 static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jclass clazz, in latinime_Keyboard_setProximityInfo() 41 static void latinime_Keyboard_release(JNIEnv *env, jclass clazz, jlong proximityInfo) { in latinime_Keyboard_release()
|
/packages/services/Car/cpp/telemetry/script_executor/src/ |
D | JniUtils.cpp | 33 jclass bundleClass = env->FindClass("android/os/Bundle"); in PushBundleToLuaTable() 36 jclass setClass = env->FindClass("java/util/Set"); in PushBundleToLuaTable() 40 jclass iteratorClass = env->FindClass("java/util/Iterator"); in PushBundleToLuaTable() 44 jclass booleanClass = env->FindClass("java/lang/Boolean"); in PushBundleToLuaTable() 45 jclass integerClass = env->FindClass("java/lang/Integer"); in PushBundleToLuaTable() 46 jclass numberClass = env->FindClass("java/lang/Number"); in PushBundleToLuaTable() 47 jclass stringClass = env->FindClass("java/lang/String"); in PushBundleToLuaTable()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcTag.h | 522 void fillNativeNfcTagMembers1(JNIEnv* e, jclass tag_cls, jobject tag); 541 void fillNativeNfcTagMembers2(JNIEnv* e, jclass tag_cls, jobject tag, 560 void fillNativeNfcTagMembers3(JNIEnv* e, jclass tag_cls, jobject tag, 579 void fillNativeNfcTagMembers4(JNIEnv* e, jclass tag_cls, jobject tag, 598 void fillNativeNfcTagMembers5(JNIEnv* e, jclass tag_cls, jobject tag,
|
D | NfcJniUtil.cpp | 81 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object() 114 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nfc_socket_handle() 131 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nat() 148 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object_local()
|
D | NativeLlcpConnectionlessSocket.cpp | 66 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nativeLlcpConnectionlessSocket_doSendTo() 173 ScopedLocalRef<jclass> clsLlcpPacket(e, NULL); in nativeLlcpConnectionlessSocket_doReceiveFrom() 265 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nativeLlcpConnectionlessSocket_doClose()
|
D | NfcTag.cpp | 485 ScopedLocalRef<jclass> tag_cls(e, in createNativeNfcTag() 572 void NfcTag::fillNativeNfcTagMembers1(JNIEnv* e, jclass tag_cls, jobject tag) { in fillNativeNfcTagMembers1() 623 void NfcTag::fillNativeNfcTagMembers2(JNIEnv* e, jclass tag_cls, jobject tag, in fillNativeNfcTagMembers2() 647 void NfcTag::fillNativeNfcTagMembers3(JNIEnv* e, jclass tag_cls, jobject tag, in fillNativeNfcTagMembers3() 651 ScopedLocalRef<jclass> byteArrayClass(e, e->GetObjectClass(pollBytes.get())); in fillNativeNfcTagMembers3() 788 void NfcTag::fillNativeNfcTagMembers4(JNIEnv* e, jclass tag_cls, jobject tag, in fillNativeNfcTagMembers4() 792 ScopedLocalRef<jclass> byteArrayClass(e, e->GetObjectClass(actBytes.get())); in fillNativeNfcTagMembers4() 940 void NfcTag::fillNativeNfcTagMembers5(JNIEnv* e, jclass tag_cls, jobject tag, in fillNativeNfcTagMembers5()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 34 jclass thisClass = env->GetObjectClass(thiz); in OutputStream_setup() 87 jclass thisClass = env->GetObjectClass(thiz); in InputStream_setup() 95 jclass pointClass = env->GetObjectClass(dimens); in InputStream_setup() 149 jclass thisClass = env->GetObjectClass(thiz); in getWPtr() 170 jclass thisClass = env->GetObjectClass(thiz); in getRPtr() 313 jclass clazz; in registerNativeMethods() 343 jclass outCls = env->FindClass("java/io/OutputStream"); in JNI_OnLoad() 356 jclass inCls = env->FindClass("java/io/InputStream"); in JNI_OnLoad()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 152 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() argument 170 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() argument 213 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() argument 250 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNcancelCheck() argument 264 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() argument 323 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck() argument 339 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork() argument 352 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork() argument 397 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() argument
|
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 34 JNIEnv* env, jclass, jbyteArray jprogram, jbyteArray jpacket, in com_android_server_ApfTest_apfSimulate() argument 87 jclass newExcCls = env->FindClass("java/lang/IllegalStateException"); in throwException() 95 static jstring com_android_server_ApfTest_compileToBpf(JNIEnv* env, jclass, jstring jfilter) { in com_android_server_ApfTest_compileToBpf() argument 121 static jboolean com_android_server_ApfTest_compareBpfApf(JNIEnv* env, jclass, jstring jfilter, in com_android_server_ApfTest_compareBpfApf() argument 185 static jboolean com_android_server_ApfTest_dropsAllPackets(JNIEnv* env, jclass, jbyteArray jprogram, in com_android_server_ApfTest_dropsAllPackets() argument
|
/packages/modules/Connectivity/framework/jni/ |
D | android_net_NetworkUtils.cpp | 40 static volatile jclass class_Network = 0; 43 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie() 44 jclass clazz = env->FindClass(class_name); in FindClassOrDie() 178 jclass class_DnsResponse = env->FindClass("android/net/DnsResolver$DnsResponse"); in android_net_utils_resNetworkResult() 235 jclass class_TcpRepairWindow = env->FindClass("android/net/TcpRepairWindow"); in android_net_utils_getTcpRepairWindow()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp_target.cpp | 173 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 345 jclass class_image = env->GetObjectClass(image); in getImageHandleFromJavaObj() 366 jclass class_metadata = env->GetObjectClass(metadata); in getSongInfoFromJavaObj() 473 jclass class_folder = env->GetObjectClass(folder); in getFolderInfoFromJavaObj() 529 jclass class_playStatus = sCallbackEnv->GetObjectClass(playStatus); in getCurrentPlayStatus() 579 jclass class_list = sCallbackEnv->GetObjectClass(song_list); in getNowPlayingList() 628 jclass class_list = sCallbackEnv->GetObjectClass(player_list); in getMediaPlayerList() 641 jclass class_playerInfo = sCallbackEnv->GetObjectClass(player_info); in getMediaPlayerList() 735 jclass class_list = env->GetObjectClass(list); in getFolderItemsResponseNative() 747 jclass class_listItem = env->GetObjectClass(list_item); in getFolderItemsResponseNative()
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 79 jclass clazz; 149 ScopedLocalRef<jclass> mclass(sCallbackEnv.get(), in adapter_properties_callback() 203 ScopedLocalRef<jclass> mclass(sCallbackEnv.get(), in remote_device_properties_callback() 407 jclass classicBuilderClass = in createClassicOobDataObject() 467 jclass leBuilderClass = env->FindClass("android/bluetooth/OobData$LeBuilder"); in createLeOobDataObject() 811 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 812 jclass jniUidTrafficClass = env->FindClass("android/bluetooth/UidTraffic"); in classInitNative() 816 jclass jniCallbackClass = in classInitNative() 874 (jclass)env->NewGlobalRef(env->FindClass("android/bluetooth/UidTraffic")); in initNative() 1017 jclass myClass = env->FindClass(className); in callByteArrayGetter() [all …]
|
D | com_android_bluetooth_gatt.cpp | 442 ScopedLocalRef<jclass> gattDbElementClazz( in fillGattDbElementArray() 448 ScopedLocalRef<jclass> arrayListclazz(env, in fillGattDbElementArray() 453 ScopedLocalRef<jclass> uuidClazz(env, env->FindClass("java/util/UUID")); in fillGattDbElementArray() 500 jclass arrayListclazz = sCallbackEnv->FindClass("java/util/ArrayList"); in btgattc_get_gatt_db_cb() 596 jclass arrayListclazz = sCallbackEnv->FindClass("java/util/ArrayList"); in btgatts_service_added_cb() 966 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 1394 ScopedLocalRef<jclass> filtparam(env, env->GetObjectClass(params)); in gattClientScanFilterParamAddNative() 1470 jclass uuidClazz = env->FindClass("java/util/UUID"); in gattClientScanFilterAddNative() 1485 jclass entryClazz = in gattClientScanFilterAddNative() 1750 jclass arrayListclazz = env->FindClass("java/util/List"); in gattServerAddServiceNative() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 54 static jclass class_AvrcpItem; 55 static jclass class_AvrcpPlayer; 350 jclass strclazz = sCallbackEnv->FindClass("java/lang/String"); in btavrcp_track_changed_callback() 795 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 872 jclass tmpAvrcpItem = in initNative() 874 class_AvrcpItem = (jclass)env->NewGlobalRef(tmpAvrcpItem); in initNative() 876 jclass tmpBtPlayer = in initNative() 878 class_AvrcpPlayer = (jclass)env->NewGlobalRef(tmpBtPlayer); in initNative()
|
D | com_android_bluetooth_a2dp.cpp | 35 jclass clazz; 195 static void classInitNative(JNIEnv* env, jclass clazz) { in classInitNative() 196 jclass jniBluetoothCodecConfigClass = in classInitNative() 318 android_bluetooth_BluetoothCodecConfig.clazz = (jclass)env->NewGlobalRef( in initNative()
|
/packages/providers/MediaProvider/jni/ |
D | com_android_providers_media_FuseDaemon.cpp | 33 static jclass gFuseDaemonClass; 123 bool com_android_providers_media_FuseDaemon_is_fuse_thread(JNIEnv* env, jclass clazz) { in com_android_providers_media_FuseDaemon_is_fuse_thread() 151 gFuseDaemonClass = static_cast<jclass>(env->NewGlobalRef(env->FindClass(CLASS_NAME))); in register_android_providers_media_FuseDaemon()
|
D | MediaProviderWrapper.h | 253 jclass file_lookup_result_class_; 254 jclass file_open_result_class_; 255 jclass media_provider_class_;
|
D | MediaProviderWrapper.cpp | 62 static jfieldID CacheField(JNIEnv* env, jclass clazz, const char field_name[], const char type[]) { in CacheField() 228 media_provider_class_ = reinterpret_cast<jclass>(env->NewGlobalRef(media_provider_class_)); in MediaProviderWrapper() 269 reinterpret_cast<jclass>(env->NewGlobalRef(file_lookup_result_class_)); in MediaProviderWrapper() 286 file_open_result_class_ = reinterpret_cast<jclass>(env->NewGlobalRef(file_open_result_class_)); in MediaProviderWrapper()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 48 jclass integerClass = env->FindClass("java/lang/Integer"); in outputWordProperty() 50 jclass arrayListClass = env->FindClass("java/util/ArrayList"); in outputWordProperty() 54 jclass intArrayClass = env->FindClass("[I"); in outputWordProperty()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 29 static jclass _LocalJobParamsClass; 65 static jclass _LocalPrinterCapabilitiesClass; 80 static jclass _JobCallbackClass; 84 static jclass _JobCallbackParamsClass; 92 static jclass _PrintServiceStringsClass; 390 _LocalJobParamsClass = (jclass) (*env)->NewGlobalRef( in _initJNI() 462 _LocalPrinterCapabilitiesClass = (jclass) (*env)->NewGlobalRef(env, (*env)->FindClass( in _initJNI() 491 _JobCallbackParamsClass = (jclass) (*env)->NewGlobalRef(env, (*env)->FindClass( in _initJNI() 510 _JobCallbackClass = (jclass) (*env)->NewGlobalRef(env, (*env)->GetObjectClass( in _initJNI() 519 _PrintServiceStringsClass = (jclass) (*env)->NewGlobalRef(env, (*env)->FindClass( in _initJNI()
|
/packages/services/Car/service/jni/evs/ |
D | CarEvsService.cpp | 147 jlong createServiceHandle(JNIEnv* env, jclass clazz) { in createServiceHandle() 161 void destroyServiceHandle(JNIEnv* /*env*/, jclass /*clazz*/, jlong handle) { in destroyServiceHandle() argument
|
/packages/apps/Camera2/jni/ |
D | jpegutilnative.cpp | 70 JNIEnv* env, jclass clazz __unused, 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()
|