/external/conscrypt/common/src/jni/main/include/ |
D | JniConstants.h | 45 static jclass cryptoUpcallsClass; 46 static jclass openSslInputStreamClass; 47 static jclass nativeRefClass; 49 static jclass byteArrayClass; 50 static jclass calendarClass; 51 static jclass objectClass; 52 static jclass objectArrayClass; 53 static jclass integerClass; 54 static jclass inputStreamClass; 55 static jclass outputStreamClass; [all …]
|
D | JniUtil.h | 53 static inline jclass getGlobalRefToClass(JNIEnv* env, const char* className) { in getJNIEnv() 54 ScopedLocalRef<jclass> localClass(env, env->FindClass(className)); in getJNIEnv() 55 jclass globalRef = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in getJNIEnv() 63 static inline jmethodID getMethodRef(JNIEnv* env, jclass clazz, const char* name, in getJNIEnv() 73 static inline jfieldID getFieldRef(JNIEnv* env, jclass clazz, const char* name, in getJNIEnv() 83 static inline jclass findClass(JNIEnv* env, const char* name) { in getJNIEnv() 84 ScopedLocalRef<jclass> localClass(env, env->FindClass(name)); in getJNIEnv() 85 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in getJNIEnv() 101 ScopedLocalRef<jclass> c(env, env->FindClass(className)); in getJNIEnv() 120 ScopedLocalRef<jclass> localClass(env, env->FindClass("java/io/FileDescriptor")); in getJNIEnv()
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | JniConstants.cpp | 22 jclass JniConstants::cryptoUpcallsClass; 23 jclass JniConstants::openSslInputStreamClass; 24 jclass JniConstants::nativeRefClass; 26 jclass JniConstants::byteArrayClass; 27 jclass JniConstants::calendarClass; 28 jclass JniConstants::objectClass; 29 jclass JniConstants::objectArrayClass; 30 jclass JniConstants::integerClass; 31 jclass JniConstants::inputStreamClass; 32 jclass JniConstants::outputStreamClass; [all …]
|
D | NativeCrypto.cpp | 822 static void NativeCrypto_clinit(JNIEnv*, jclass) in NativeCrypto_clinit() argument 830 static jlong NativeCrypto_EVP_PKEY_new_RSA(JNIEnv* env, jclass, in NativeCrypto_EVP_PKEY_new_RSA() argument 922 static jlong NativeCrypto_EVP_PKEY_new_EC_KEY(JNIEnv* env, jclass, jobject groupRef, in NativeCrypto_EVP_PKEY_new_EC_KEY() argument 1006 static int NativeCrypto_EVP_PKEY_type(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_PKEY_type() argument 1022 static int NativeCrypto_EVP_PKEY_size(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_PKEY_size() argument 1067 static jstring NativeCrypto_EVP_PKEY_print_public(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_PKEY_print_public() argument 1071 static jstring NativeCrypto_EVP_PKEY_print_params(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_PKEY_print_params() argument 1075 static void NativeCrypto_EVP_PKEY_free(JNIEnv*, jclass, jlong pkeyRef) { in NativeCrypto_EVP_PKEY_free() argument 1084 static jint NativeCrypto_EVP_PKEY_cmp(JNIEnv* env, jclass, jobject pkey1Ref, jobject pkey2Ref) { in NativeCrypto_EVP_PKEY_cmp() argument 1106 static jbyteArray NativeCrypto_i2d_PKCS8_PRIV_KEY_INFO(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_i2d_PKCS8_PRIV_KEY_INFO() argument [all …]
|
/external/libmojo/base/android/ |
D | jni_android.cc | 84 ScopedJavaLocalRef<jclass> class_loader_clazz = in InitReplacementClassLoader() 97 ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, const char* class_name) { in GetClass() 98 jclass clazz; in GetClass() 115 clazz = static_cast<jclass>( in GetClass() 125 return ScopedJavaLocalRef<jclass>(env, clazz); in GetClass() 128 jclass LazyGetClass( in LazyGetClass() 132 static_assert(sizeof(subtle::AtomicWord) >= sizeof(jclass), in LazyGetClass() 136 return reinterpret_cast<jclass>(value); in LazyGetClass() 137 ScopedJavaGlobalRef<jclass> clazz; in LazyGetClass() 149 return reinterpret_cast<jclass>(cas_result); in LazyGetClass() [all …]
|
D | trace_event_binding.cc | 68 const JavaParamRef<jclass>& clazz) { in RegisterEnabledObserver() 75 static void StartATrace(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in StartATrace() 79 static void StopATrace(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in StopATrace() 84 const JavaParamRef<jclass>& clazz, in Instant() 99 const JavaParamRef<jclass>& clazz, in Begin() 112 const JavaParamRef<jclass>& clazz, in End() 124 static void BeginToplevel(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in BeginToplevel() 128 static void EndToplevel(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in EndToplevel() 133 const JavaParamRef<jclass>& clazz, in StartAsync() 141 const JavaParamRef<jclass>& clazz, in FinishAsync()
|
D | command_line_android.cc | 34 static void Reset(JNIEnv* env, const JavaParamRef<jclass>& clazz) { in Reset() 39 const JavaParamRef<jclass>& clazz, in HasSwitch() 47 const JavaParamRef<jclass>& clazz, in GetSwitchValue() 58 const JavaParamRef<jclass>& clazz, in AppendSwitch() 65 const JavaParamRef<jclass>& clazz, in AppendSwitchWithValue() 76 const JavaParamRef<jclass>& clazz, in AppendSwitchesAndArguments()
|
D | jni_android.h | 70 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, 79 BASE_EXPORT jclass LazyGetClass( 96 jclass clazz, 105 jclass clazz,
|
D | record_histogram.cc | 203 const JavaParamRef<jclass>& clazz, in RecordBooleanHistogram() 215 const JavaParamRef<jclass>& clazz, in RecordEnumeratedHistogram() 229 const JavaParamRef<jclass>& clazz, in RecordCustomCountHistogram() 245 const JavaParamRef<jclass>& clazz, in RecordLinearCountHistogram() 261 const JavaParamRef<jclass>& clazz, in RecordSparseHistogram() 274 const JavaParamRef<jclass>& clazz, in RecordCustomTimesHistogramMilliseconds() 288 void Initialize(JNIEnv* env, const JavaParamRef<jclass>&) { in Initialize() argument 298 const JavaParamRef<jclass>& clazz, in GetHistogramValueCountForTesting()
|
/external/webrtc/talk/app/webrtc/java/jni/ |
D | peerconnection_jni.cc | 159 jclass j_init_class = FindClass(jni, "org/webrtc/DataChannel$Init"); in JavaDataChannelInitToNative() 215 jclass candidate_class = FindClass(jni(), "org/webrtc/IceCandidate"); in OnIceCandidate() 401 const ScopedGlobalRef<jclass> j_observer_class_; 402 const ScopedGlobalRef<jclass> j_media_stream_class_; 404 const ScopedGlobalRef<jclass> j_audio_track_class_; 406 const ScopedGlobalRef<jclass> j_video_track_class_; 408 const ScopedGlobalRef<jclass> j_data_channel_class_; 480 jclass j_type_class = FindClass( in JavaSdpFromNativeSdp() 490 jclass j_sdp_class = FindClass(jni, "org/webrtc/SessionDescription"); in JavaSdpFromNativeSdp() 549 const ScopedGlobalRef<jclass> j_observer_class_; [all …]
|
D | classreferenceholder.cc | 41 jclass GetClass(const std::string& name); 46 std::map<std::string, jclass> classes_; 122 for (std::map<std::string, jclass>::const_iterator it = classes_.begin(); in FreeReferences() 129 jclass ClassReferenceHolder::GetClass(const std::string& name) { in GetClass() 130 std::map<std::string, jclass>::iterator it = classes_.find(name); in GetClass() 136 jclass localRef = jni->FindClass(name.c_str()); in LoadClass() 139 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); in LoadClass() 148 jclass FindClass(JNIEnv* jni, const char* name) { in FindClass()
|
D | jni_helpers.h | 73 JNIEnv* jni, jclass c, const std::string& name, const char* signature); 76 JNIEnv* jni, jclass c, const char* name, const char* signature); 78 jfieldID GetFieldID(JNIEnv* jni, jclass c, const char* name, 81 jclass GetObjectClass(JNIEnv* jni, jobject object); 104 jobject JavaEnumFromIndex(JNIEnv* jni, jclass state_class,
|
/external/libmojo/base/android/jni_generator/ |
D | testNatives.golden | 22 // Leaking this jclass as we cannot use LazyInstance from some threads. 23 jclass g_TestJni_clazz = NULL; 61 JavaParamRef<jclass>& jcaller, 65 jclass jcaller, 67 return GetDomainAndRegistry(env, JavaParamRef<jclass>(env, jcaller), 72 JavaParamRef<jclass>& jcaller, 77 env, jclass jcaller, 80 return CreateHistoricalTabFromState(env, JavaParamRef<jclass>(env, jcaller), 96 const JavaParamRef<jclass>& jcaller); 99 Java_org_chromium_TestJni_nativeGetAutofillProfileGUIDs(JNIEnv* env, jclass [all …]
|
D | testSingleJNIAdditionalImport.golden | 22 // Leaking this jclass as we cannot use LazyInstance from some threads. 23 jclass g_Foo_clazz = NULL; 30 static void DoSomething(JNIEnv* env, const JavaParamRef<jclass>& jcaller, 33 static void Java_org_chromium_foo_Foo_nativeDoSomething(JNIEnv* env, jclass 36 return DoSomething(env, JavaParamRef<jclass>(env, jcaller), 75 g_Foo_clazz = reinterpret_cast<jclass>(env->NewGlobalRef(
|
D | testMultipleJNIAdditionalImport.golden | 22 // Leaking this jclass as we cannot use LazyInstance from some threads. 23 jclass g_Foo_clazz = NULL; 30 static void DoSomething(JNIEnv* env, const JavaParamRef<jclass>& jcaller, 34 static void Java_org_chromium_foo_Foo_nativeDoSomething(JNIEnv* env, jclass 38 return DoSomething(env, JavaParamRef<jclass>(env, jcaller), 81 g_Foo_clazz = reinterpret_cast<jclass>(env->NewGlobalRef(
|
D | golden_sample_for_tests_jni.h | 28 jclass g_InnerStructA_clazz = NULL; 31 jclass g_SampleForTests_clazz = NULL; 34 jclass g_InnerStructB_clazz = NULL; 74 static jfloat GetFloatFunction(JNIEnv* env, const JavaParamRef<jclass>& 79 env, jclass jcaller) { in Java_org_chromium_example_jni_1generator_SampleForTests_nativeGetFloatFunction() 80 return GetFloatFunction(env, JavaParamRef<jclass>(env, jcaller)); in Java_org_chromium_example_jni_1generator_SampleForTests_nativeGetFloatFunction() 458 g_InnerStructA_clazz = reinterpret_cast<jclass>(env->NewGlobalRef( in RegisterNativesImpl() 460 g_SampleForTests_clazz = reinterpret_cast<jclass>(env->NewGlobalRef( in RegisterNativesImpl() 462 g_InnerStructB_clazz = reinterpret_cast<jclass>(env->NewGlobalRef( in RegisterNativesImpl()
|
/external/libjpeg-turbo/java/ |
D | org_libjpegturbo_turbojpeg_TJ.h | 76 (JNIEnv *, jclass, jint, jint, jint); 84 (JNIEnv *, jclass, jint, jint, jint, jint); 92 (JNIEnv *, jclass, jint, jint, jint); 100 (JNIEnv *, jclass, jint, jint, jint, jint, jint); 108 (JNIEnv *, jclass, jint, jint, jint); 116 (JNIEnv *, jclass, jint, jint, jint); 124 (JNIEnv *, jclass);
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.cpp | 123 jclass findClass (JNIEnv* env, const char* className) in findClass() 125 const jclass cls = env->FindClass(className); in findClass() 133 jclass getObjectClass (JNIEnv* env, jobject object) in getObjectClass() 135 const jclass cls = env->GetObjectClass(object); in getObjectClass() 143 jmethodID getMethodID (JNIEnv* env, jclass cls, const char* methodName, const char* signature) in getMethodID() 167 const jclass activityCls = getObjectClass(env, activity); in getIntentStringExtra() 172 const jclass intentCls = getObjectClass(env, *intent); in getIntentStringExtra() 188 const jclass activityCls = getObjectClass(env, activity); in setRequestedOrientation() 222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId); 225 int getStaticFieldValue<int> (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() [all …]
|
/external/libmojo/base/android/linker/ |
D | linker_jni.cc | 58 bool InitClassReference(JNIEnv* env, const char* class_name, jclass* clazz) { in InitClassReference() 72 jclass clazz, in InitFieldId() 90 jclass clazz, in InitStaticMethodId() 108 jclass clazz, in InitStaticFieldId() 129 jclass clazz; in InitStaticInt() 151 jlong GetRandomBaseLoadAddress(JNIEnv* env, jclass clazz) { in GetRandomBaseLoadAddress() 195 jclass linker_class; in LinkerJNIInit()
|
D | linker_jni.h | 90 jclass* clazz); 97 jclass clazz, 107 jclass clazz, 117 jclass clazz, 134 extern jlong GetRandomBaseLoadAddress(JNIEnv* env, jclass clazz); 148 jclass clazz; in Init()
|
D | legacy_linker_jni.cc | 184 jclass clazz, in LoadLibrary() 221 jclass clazz, in LoadLibraryInZipFile() 240 jclass clazz; 244 bool Init(JNIEnv* env, jclass linker_class) { in Init() 245 clazz = reinterpret_cast<jclass>(env->NewGlobalRef(linker_class)); in Init() 262 void RunCallbackOnUiThread(JNIEnv* env, jclass clazz, jlong arg) { in RunCallbackOnUiThread() 322 jclass clazz, in CreateSharedRelro() 364 jclass clazz, in UseSharedRelro() 456 jclass linker_class; in LegacyLinkerJNIInit()
|
/external/sl4a/ScriptingLayerForAndroid/jni/ |
D | com_googlecode_android_scripting_Exec.cpp | 76 jclass clazz = env->FindClass(name); in JNU_ThrowByName() 93 jclass Class_java_lang_String = env->FindClass("java/lang/String"); in JNU_GetStringNativeChars() 116 jclass Class_java_io_FileDescriptor = env->FindClass("java/io/FileDescriptor"); in JNU_GetFdFromFileDescriptor() 122 JNIEnv* env, jclass clazz, jstring cmd, jobjectArray argArray, jobjectArray varArray, in Java_com_googlecode_android_1scripting_Exec_createSubprocess() 165 jclass Class_java_io_FileDescriptor = in Java_com_googlecode_android_1scripting_Exec_createSubprocess() 180 JNIEnv* env, jclass clazz, jobject fileDescriptor, jint row, jint col, jint xpixel, in Java_com_googlecode_android_1scripting_Exec_setPtyWindowSize() 194 JNIEXPORT jint JNICALL Java_com_googlecode_android_1scripting_Exec_waitFor(JNIEnv* env, jclass claz… in Java_com_googlecode_android_1scripting_Exec_waitFor()
|
D | com_googlecode_android_scripting_Exec.h | 16 (JNIEnv *, jclass, jstring, jobjectArray, jobjectArray, jstring, jintArray); 24 (JNIEnv *, jclass, jobject, jint, jint, jint, jint); 32 (JNIEnv *, jclass, jint);
|
/external/javasqlite/src/main/native/ |
D | sqlite_jni.h | 104 (JNIEnv *, jclass, jstring); 112 (JNIEnv *, jclass); 160 (JNIEnv *, jclass, jint); 240 (JNIEnv *, jclass); 291 (JNIEnv *, jclass); 366 (JNIEnv *, jclass); 601 (JNIEnv *, jclass); 652 (JNIEnv *, jclass);
|
/external/webrtc/webrtc/modules/utility/source/ |
D | jvm_android.cc | 28 jclass clazz; 42 jclass localRef = FindClass(jni, c.name); in LoadClasses() 45 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); in LoadClasses() 59 jclass LookUpClass(const char* name) { in LookUpClass() 131 NativeRegistration::NativeRegistration(JNIEnv* jni, jclass clazz) in NativeRegistration() 188 jclass clazz = LookUpClass(name); in RegisterNatives()
|