Searched refs:jniutil (Results 1 - 11 of 11) sorted by relevance

/external/conscrypt/common/src/jni/main/include/conscrypt/
H A Dbio_stream.h22 #include <conscrypt/jniutil.h>
33 JNIEnv* env = jniutil::getJNIEnv();
38 JNIEnv* env = jniutil::getJNIEnv();
49 JNIEnv* env = jniutil::getJNIEnv();
59 env->CallVoidMethod(mStream, jniutil::outputStream_flushMethod);
H A Dbio_output_stream.h31 JNIEnv* env = jniutil::getJNIEnv();
50 env->CallVoidMethod(getStream(), jniutil::outputStream_writeMethod, javaBytes.get());
H A Dbio_input_stream.h33 return read_internal(buf, len, jniutil::inputStream_readMethod);
41 int read = read_internal(buf, len - 1, jniutil::openSslInputStream_readLineMethod);
55 JNIEnv *env = jniutil::getJNIEnv();
H A Dapp_data.h22 #include <conscrypt/jniutil.h>
263 e = conscrypt::jniutil::getJNIEnv();
H A Djniutil.h27 namespace jniutil { namespace in namespace:conscrypt
295 #define CHECK_ERROR_QUEUE_ON_RETURN conscrypt::jniutil::ErrorQueueChecker __checker(env)
300 } // namespace jniutil
/external/conscrypt/common/src/jni/unbundled/include/
H A DNetFd.h20 #include <conscrypt/jniutil.h>
31 mFd = conscrypt::jniutil::jniGetFDFromFileDescriptor(mEnv, mFileDescriptor);
34 conscrypt::jniutil::throwException(mEnv, "java/net/SocketException",
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
H A Djniload.cc20 #include <conscrypt/jniutil.h>
40 conscrypt::jniutil::init(vm, env);
H A Dnative_crypto.cc24 #include <conscrypt/jniutil.h>
75 conscrypt::jniutil::throwNullPointerException(env, "ssl_ctx == null");
84 conscrypt::jniutil::throwNullPointerException(env, "ssl == null");
93 conscrypt::jniutil::throwNullPointerException(env, "bio == null");
103 conscrypt::jniutil::throwNullPointerException(env, "ssl_session == null");
113 conscrypt::jniutil::throwNullPointerException(env, "ssl_cipher == null");
122 conscrypt::jniutil::throwNullPointerException(env, "contextObject == null");
126 env->GetLongField(contextObject, conscrypt::jniutil::nativeRef_context));
129 conscrypt::jniutil::throwNullPointerException(env, "ref == null");
144 conscrypt::jniutil
[all...]
H A Djniutil.cc17 #include <conscrypt/jniutil.h>
25 namespace jniutil { namespace in namespace:conscrypt
145 return conscrypt::jniutil::throwException(env, "java/lang/RuntimeException", msg);
149 return conscrypt::jniutil::throwException(env, "java/lang/AssertionError", msg);
153 return conscrypt::jniutil::throwException(env, "java/lang/NullPointerException", msg);
157 return conscrypt::jniutil::throwException(env, "java/lang/OutOfMemoryError", message);
162 return conscrypt::jniutil::throwException(env, "javax/crypto/BadPaddingException", message);
167 return conscrypt::jniutil::throwException(env, "java/security/SignatureException", message);
172 return conscrypt::jniutil::throwException(env, "java/security/InvalidKeyException", message);
177 return conscrypt::jniutil
[all...]
/external/conscrypt/common/src/jni/unbundled/include/nativehelper/
H A DScopedUtfChars.h21 #include <conscrypt/jniutil.h>
37 conscrypt::jniutil::throwNullPointerException(env, nullptr);
H A DScopedPrimitiveArray.h20 #include <conscrypt/jniutil.h>
34 conscrypt::jniutil::throwNullPointerException(mEnv, nullptr); \
92 conscrypt::jniutil::throwNullPointerException(mEnv, nullptr); \

Completed in 174 milliseconds