Searched refs:jniutil (Results 1 – 13 of 13) sorted by relevance
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 79 conscrypt::jniutil::throwNullPointerException(env, "ssl_ctx == null"); in to_SSL_CTX() 88 conscrypt::jniutil::throwNullPointerException(env, "ssl == null"); in to_SSL() 97 conscrypt::jniutil::throwNullPointerException(env, "bio == null"); in to_SSL_BIO() 107 conscrypt::jniutil::throwNullPointerException(env, "ssl_session == null"); in to_SSL_SESSION() 117 conscrypt::jniutil::throwNullPointerException(env, "ssl_cipher == null"); in to_SSL_CIPHER() 126 conscrypt::jniutil::throwNullPointerException(env, "contextObject == null"); in fromContextObject() 130 env->GetLongField(contextObject, conscrypt::jniutil::nativeRef_address)); in fromContextObject() 133 conscrypt::jniutil::throwNullPointerException(env, "ref == null"); in fromContextObject() 148 conscrypt::jniutil::throwNullPointerException(env, "dest == null"); in arrayToBignum() 189 conscrypt::jniutil::throwRuntimeException(env, "Conversion to BIGNUM failed"); in arrayToBignum() [all …]
|
D | jniutil.cc | 25 namespace jniutil { namespace 145 return conscrypt::jniutil::throwException(env, "java/lang/RuntimeException", msg); in throwRuntimeException() 149 return conscrypt::jniutil::throwException(env, "java/lang/AssertionError", msg); in throwAssertionError() 153 return conscrypt::jniutil::throwException(env, "java/lang/NullPointerException", msg); in throwNullPointerException() 157 return conscrypt::jniutil::throwException(env, "java/lang/OutOfMemoryError", message); in throwOutOfMemory() 162 return conscrypt::jniutil::throwException(env, "javax/crypto/BadPaddingException", message); in throwBadPaddingException() 167 return conscrypt::jniutil::throwException(env, "java/security/SignatureException", message); in throwSignatureException() 172 return conscrypt::jniutil::throwException(env, "java/security/InvalidKeyException", message); in throwInvalidKeyException() 177 return conscrypt::jniutil::throwException( in throwIllegalBlockSizeException() 183 return conscrypt::jniutil::throwException( in throwShortBufferException() [all …]
|
D | jniload.cc | 40 conscrypt::jniutil::init(vm, env); in libconscrypt_JNI_OnLoad()
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | bio_stream.h | 33 JNIEnv* env = jniutil::getJNIEnv(); in BioStream() 38 JNIEnv* env = jniutil::getJNIEnv(); in ~BioStream() 49 JNIEnv* env = jniutil::getJNIEnv(); in flush() 59 env->CallVoidMethod(mStream, jniutil::outputStream_flushMethod); in flush()
|
D | bio_input_stream.h | 33 return read_internal(buf, len, jniutil::inputStream_readMethod); in read() 41 int read = read_internal(buf, len - 1, jniutil::openSslInputStream_readLineMethod); in gets() 55 JNIEnv *env = jniutil::getJNIEnv(); in read_internal()
|
D | bio_output_stream.h | 31 JNIEnv* env = jniutil::getJNIEnv(); in write() 50 env->CallVoidMethod(getStream(), jniutil::outputStream_writeMethod, javaBytes.get()); in write()
|
D | NetFd.h | 31 mFd = conscrypt::jniutil::jniGetFDFromFileDescriptor(mEnv, mFileDescriptor); in isClosed() 34 conscrypt::jniutil::throwException(mEnv, "java/net/SocketException", "Socket closed"); in isClosed()
|
D | jniutil.h | 28 namespace jniutil { 301 #define CHECK_ERROR_QUEUE_ON_RETURN conscrypt::jniutil::ErrorQueueChecker __checker(env)
|
D | app_data.h | 263 e = conscrypt::jniutil::getJNIEnv(); in clearApplicationProtocolSelector()
|
/external/conscrypt/common/src/jni/unbundled/include/nativehelper/ |
D | scoped_primitive_array.h | 34 conscrypt::jniutil::throwNullPointerException(mEnv, nullptr); \ 92 conscrypt::jniutil::throwNullPointerException(mEnv, nullptr); \
|
D | scoped_utf_chars.h | 37 conscrypt::jniutil::throwNullPointerException(env, nullptr); in ScopedUtfChars()
|
/external/conscrypt/android/ |
D | CMakeLists.txt | 6 ../common/src/jni/main/cpp/conscrypt/jniutil.cc
|
/external/conscrypt/ |
D | Android.bp | 60 "common/src/jni/main/cpp/conscrypt/jniutil.cc",
|