/packages/modules/AdServices/adservices/service-core/jni/include/ |
D | ohttp_jni.h | 31 JNIEnv *, jclass); 39 jclass); 48 jclass); 57 jclass); 66 JNIEnv *env, jclass); 75 jclass, 85 jclass); 94 JNIEnv *env, jclass, jlong senderHpkeCtxRef, jlong evpKemRef, 105 JNIEnv *env, jclass, 121 JNIEnv *env, jclass, [all …]
|
D | act_jni.h | 30 (JNIEnv *, jclass, jbyteArray, jbyteArray); 38 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray); 46 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, 55 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray,
|
/packages/modules/Connectivity/framework/jni/ |
D | android_net_NetworkUtils.cpp | 43 static volatile jclass class_Network = 0; 46 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie() 47 jclass clazz = env->FindClass(class_name); in FindClassOrDie() 59 static void android_net_utils_attachDropAllBPFFilter(JNIEnv *env, jclass clazz, jobject javaFd) in android_net_utils_attachDropAllBPFFilter() 76 static void android_net_utils_detachBPFFilter(JNIEnv *env, jclass clazz, jobject javaFd) in android_net_utils_detachBPFFilter() 87 static jboolean android_net_utils_bindProcessToNetworkHandle(JNIEnv *env, jclass clazz, in android_net_utils_bindProcessToNetworkHandle() 93 static jlong android_net_utils_getBoundNetworkHandleForProcess(JNIEnv *env, jclass clazz) in android_net_utils_getBoundNetworkHandleForProcess() 104 static jboolean android_net_utils_bindProcessToNetworkForHostResolution(JNIEnv *env, jclass clazz, in android_net_utils_bindProcessToNetworkForHostResolution() 110 static jint android_net_utils_bindSocketToNetworkHandle(JNIEnv *env, jclass clazz, jobject javaFd, in android_net_utils_bindSocketToNetworkHandle() 124 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jclass clazz, jlong netHandle, in android_net_utils_resNetworkQuery() [all …]
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | jni_conversion.cc | 86 inline jclass GetPermClassRef(JNIEnv* env, const std::string& classname) { in GetPermClassRef() 88 return (jclass)env->NewGlobalRef(env->FindClass(classname.c_str())); in GetPermClassRef() 93 static jclass integer_class = GetPermClassRef(env, kInteger); in ToJavaInteger() 107 static jclass arraylist_class = GetPermClassRef(env, kArrayList); in ToJavaList() 123 static jclass pdf_doc_class = GetPermClassRef(env, kPdfDocument); in ToJavaPdfDocument() 133 static jclass result_class = GetPermClassRef(env, kLoadPdfResult); in ToJavaLoadPdfResult() 150 static jclass boundary_class = GetPermClassRef(env, kBoundary); in ToNativeBoundary() 162 static jclass integer_class = GetPermClassRef(env, kInteger); in ToNativeInteger() 182 static jclass rect_class = GetPermClassRef(env, kRect); in ToJavaRect() 188 static jclass rectF_class = GetPermClassRef(env, kRectF); in ToJavaRectF() [all …]
|
/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()
|
/packages/services/Car/packages/ScriptExecutor/src/ |
D | JniUtils.cpp | 38 ScopedLocalRef<jclass> persistableBundleClass(env, in pushBundleToLuaTable() 43 ScopedLocalRef<jclass> setClass(env, env->FindClass("java/util/Set")); in pushBundleToLuaTable() 49 ScopedLocalRef<jclass> iteratorClass(env, env->FindClass("java/util/Iterator")); in pushBundleToLuaTable() 53 ScopedLocalRef<jclass> booleanClass(env, env->FindClass("java/lang/Boolean")); in pushBundleToLuaTable() 54 ScopedLocalRef<jclass> integerClass(env, env->FindClass("java/lang/Integer")); in pushBundleToLuaTable() 55 ScopedLocalRef<jclass> longClass(env, env->FindClass("java/lang/Long")); in pushBundleToLuaTable() 56 ScopedLocalRef<jclass> numberClass(env, env->FindClass("java/lang/Number")); in pushBundleToLuaTable() 57 ScopedLocalRef<jclass> stringClass(env, env->FindClass("java/lang/String")); in pushBundleToLuaTable() 58 ScopedLocalRef<jclass> booleanArrayClass(env, env->FindClass("[Z")); in pushBundleToLuaTable() 59 ScopedLocalRef<jclass> intArrayClass(env, env->FindClass("[I")); in pushBundleToLuaTable() [all …]
|
D | ScriptExecutorListener.cpp | 43 ScopedLocalRef<jclass> listenerClassRef(env, env->GetObjectClass(mScriptExecutorListener)); in onSuccess() 51 ScopedLocalRef<jclass> listenerClassRef(env, env->GetObjectClass(mScriptExecutorListener)); in onScriptFinished() 60 ScopedLocalRef<jclass> listenerClassRef(env, env->GetObjectClass(mScriptExecutorListener)); in onError() 82 ScopedLocalRef<jclass> listenerClassRef(env, env->GetObjectClass(mScriptExecutorListener)); in onMetricsReport()
|
/packages/modules/Connectivity/service-t/jni/ |
D | com_android_server_net_NetworkStatsService.cpp | 42 static void nativeRegisterIface(JNIEnv* env, jclass clazz, jstring iface) { in nativeRegisterIface() 50 jclass gEntryClass = env->FindClass("android/net/NetworkStats$Entry"); in statsValueToEntry() 76 static jobject nativeGetTotalStat(JNIEnv* env, jclass clazz) { in nativeGetTotalStat() 86 static jobject nativeGetIfaceStat(JNIEnv* env, jclass clazz, jstring iface) { in nativeGetIfaceStat() 101 static jobject nativeGetUidStat(JNIEnv* env, jclass clazz, jint uid) { in nativeGetUidStat() 111 static void nativeInitNetworkTracing(JNIEnv* env, jclass clazz) { in nativeInitNetworkTracing()
|
D | com_android_server_net_NetworkStatsFactory.cpp | 44 static jclass gStringClass; 96 static int statsLinesToNetworkStats(JNIEnv* env, jclass clazz, jobject stats, in statsLinesToNetworkStats() 173 static int readNetworkStatsDetail(JNIEnv* env, jclass clazz, jobject stats) { in readNetworkStatsDetail() 182 static int readNetworkStatsDev(JNIEnv* env, jclass clazz, jobject stats) { in readNetworkStatsDev() 203 gStringClass = static_cast<jclass>(env->NewGlobalRef(gStringClass)); in register_android_server_net_NetworkStatsFactory() 205 jclass clazz = env->FindClass("android/net/NetworkStats"); in register_android_server_net_NetworkStatsFactory()
|
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/ |
D | com_android_net_module_util_TcUtils.cpp | 33 jclass clazz, in com_android_net_module_util_TcUtils_isEthernet() 49 JNIEnv *env, jclass clazz, jint ifIndex, jboolean ingress, jshort prio, in com_android_net_module_util_TcUtils_tcFilterAddDevBpf() 65 JNIEnv *env, jclass clazz, jint ifIndex, jshort prio, jshort proto, in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice() 80 JNIEnv *env, jclass clazz, jint ifIndex, jboolean ingress, jshort prio, in com_android_net_module_util_TcUtils_tcFilterDelDev() 92 jclass clazz, in com_android_net_module_util_TcUtils_tcQdiscAddDevClsact() 103 jclass clazz, in com_android_net_module_util_TcUtils_isBpfProgramUsable()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcTag.h | 505 void fillNativeNfcTagMembers1(JNIEnv* e, jclass tag_cls, jobject tag); 524 void fillNativeNfcTagMembers2(JNIEnv* e, jclass tag_cls, jobject tag, 543 void fillNativeNfcTagMembers3(JNIEnv* e, jclass tag_cls, jobject tag, 562 void fillNativeNfcTagMembers4(JNIEnv* e, jclass tag_cls, jobject tag, 581 void fillNativeNfcTagMembers5(JNIEnv* e, jclass tag_cls, jobject tag,
|
D | NfcJniUtil.cpp | 74 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object() 107 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nfc_socket_handle() 124 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o)); in nfc_jni_get_nat() 141 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object_local()
|
/packages/modules/AdServices/adservices/service-core/jni/cpp/ |
D | ohttp_jni.cpp | 38 JNIEnv *env, jclass) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeKemDhkemX25519HkdfSha256() argument 48 jclass) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeKdfHkdfSha256() argument 57 jclass) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeAeadAes256Gcm() argument 66 JNIEnv *env, jclass) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hkdfSha256MessageDigest() argument 75 JNIEnv *env, jclass, jlong hpkeCtxRef) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxFree() argument 86 jclass) { in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxNew() argument 102 JNIEnv *env, jclass, jlong senderHpkeCtxRef, jlong evpKemRef, in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSetupSenderWithSeed() argument 195 jclass javaClass, in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt() 235 JNIEnv *env, jclass, in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient() argument 338 JNIEnv *env, jclass, jlong senderHpkeCtxRef, jbyteArray plaintextArray, in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSeal() argument [all …]
|
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 50 com_android_server_ApfTest_apfSimulate(JNIEnv* env, jclass, jint apf_version, in com_android_server_ApfTest_apfSimulate() argument 112 jclass newExcCls = env->FindClass("java/lang/IllegalStateException"); in throwException() 120 static jstring com_android_server_ApfTest_compileToBpf(JNIEnv* env, jclass, jstring jfilter) { in com_android_server_ApfTest_compileToBpf() argument 147 JNIEnv* env, jclass, jint apf_version, jstring jfilter, in com_android_server_ApfTest_compareBpfApf() argument 217 JNIEnv* env, jclass, jint apf_version, jbyteArray jprogram, in com_android_server_ApfTest_dropsAllPackets() argument 263 JNIEnv* env, jclass, jbyteArray jprogram) { in com_android_server_ApfTest_disassembleApf() argument 273 jclass stringClass = env->FindClass("java/lang/String"); in com_android_server_ApfTest_disassembleApf() 288 jclass) { in com_android_server_ApfTest_getTransmittedPacket() argument 299 void com_android_server_ApfTest_resetTransmittedPacketMemory(JNIEnv, jclass) { in com_android_server_ApfTest_resetTransmittedPacketMemory() argument
|
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_connectivity_ClatCoordinator.cpp | 145 jclass clazz, in com_android_server_connectivity_ClatCoordinator_selectIpv4Address() 177 JNIEnv* env, jclass clazz, jstring ifaceStr, jstring v4Str, jstring prefix64Str, in com_android_server_connectivity_ClatCoordinator_generateIpv6Address() 218 jclass clazz, in com_android_server_connectivity_ClatCoordinator_createTunInterface() 245 static jint com_android_server_connectivity_ClatCoordinator_detectMtu(JNIEnv* env, jclass clazz, in com_android_server_connectivity_ClatCoordinator_detectMtu() 267 jclass clazz) { in com_android_server_connectivity_ClatCoordinator_openPacketSocket() 292 jclass clazz, in com_android_server_connectivity_ClatCoordinator_openRawSocket6() 311 JNIEnv* env, jclass clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt() 337 JNIEnv* env, jclass clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_configurePacketSocket() 361 JNIEnv* env, jclass clazz, jobject tunJavaFd, jobject readSockJavaFd, in com_android_server_connectivity_ClatCoordinator_startClatd() 477 static void com_android_server_connectivity_ClatCoordinator_stopClatd(JNIEnv* env, jclass clazz, in com_android_server_connectivity_ClatCoordinator_stopClatd() [all …]
|
/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/services/DeviceAsWebcam/jni/ |
D | DeviceAsWebcamNative.cpp | 48 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie() 49 jclass clazz = env->FindClass(class_name); in FindClassOrDie() 54 static inline jmethodID GetMethodIdOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIdOrDie() 79 jclass clazz = FindClassOrDie(e, clsName); in registerJNIMethods() 105 JNIEnv*, jclass, jobjectArray jIgnoredNodes) { in com_android_DeviceAsWebcam_shouldStartService() argument
|
/packages/providers/MediaProvider/jni/ |
D | com_android_providers_media_leveldb_LevelDBInstance.cpp | 28 jclass levelDbResultClass = env->FindClass("com/android/providers/media/leveldb/LevelDBResult"); in createLevelDBResult() 47 jclass levelDbEntryClass = env->GetObjectClass(leveldbentry); in insertInLevelDB() 74 JNIEnv* env, jclass leveldbInstanceClass, jstring path) { in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeCreateInstance() 122 jclass listClass = env->GetObjectClass(entries); in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeBulkInsert() 131 jclass iteratorClass = env->GetObjectClass(iterator); in Java_com_android_providers_media_leveldb_LevelDBInstance_nativeBulkInsert()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 175 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() argument 193 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() argument 236 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() argument 273 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNcancelCheck() argument 287 JNIEnv* env, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() argument 346 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runGetaddrinfoCheck() argument 362 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runSetprocnetwork() argument 375 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork() argument 420 JNIEnv*, jclass, jlong nethandle) { in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() argument
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 55 static void network_stack_utils_addArpEntry(JNIEnv *env, jclass clazz, jbyteArray ethAddr, in network_stack_utils_addArpEntry() 96 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jclass clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter() 128 static void network_stack_utils_attachRaFilter(JNIEnv *env, jclass clazz, jobject javaFd) { in network_stack_utils_attachRaFilter() 156 JNIEnv *env, jclass clazz, jobject javaFd) { in network_stack_utils_attachControlPacketFilter()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/cpp/ |
D | act_util_jni.h | 30 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, jbyteArray); 38 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray);
|
/packages/modules/Connectivity/Tethering/jni/ |
D | com_android_networkstack_tethering_util_TetheringUtils.cpp | 64 static void com_android_networkstack_tethering_util_setupNaSocket(JNIEnv *env, jclass clazz, in com_android_networkstack_tethering_util_setupNaSocket() 69 static void com_android_networkstack_tethering_util_setupNsSocket(JNIEnv *env, jclass clazz, in com_android_networkstack_tethering_util_setupNsSocket() 74 static void com_android_networkstack_tethering_util_setupRaSocket(JNIEnv *env, jclass clazz, in com_android_networkstack_tethering_util_setupRaSocket()
|
/packages/modules/Permission/tests/cts/permission/jni/ |
D | android_permission_cts_FileUtils.cpp | 133 ScopedLocalRef<jclass> eClazz(env, env->FindClass(className)); in throwNamedException() 222 jclass clazz = env->FindClass("android/permission/cts/FileUtils"); in register_android_permission_cts_FileUtils() 224 jclass fileStatusClass = env->FindClass("android/permission/cts/FileUtils$FileStatus"); in register_android_permission_cts_FileUtils() 246 jclass capClazz = env->FindClass("android/permission/cts/FileUtils$CapabilitySet"); in register_android_permission_cts_FileUtils()
|