Home
last modified time | relevance | path

Searched refs:joa (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/android/
Djni_array.cc124 jobjectArray joa = env->NewObjectArray(v.size(), in ToJavaArrayOfByteArray() local
131 env->SetObjectArrayElement(joa, i, byte_array.obj()); in ToJavaArrayOfByteArray()
133 return ScopedJavaLocalRef<jobjectArray>(env, joa); in ToJavaArrayOfByteArray()
139 jobjectArray joa = env->NewObjectArray(v.size(), string_clazz.obj(), NULL); in ToJavaArrayOfStrings() local
144 env->SetObjectArrayElement(joa, i, item.obj()); in ToJavaArrayOfStrings()
146 return ScopedJavaLocalRef<jobjectArray>(env, joa); in ToJavaArrayOfStrings()
152 jobjectArray joa = env->NewObjectArray(v.size(), string_clazz.obj(), NULL); in ToJavaArrayOfStrings() local
157 env->SetObjectArrayElement(joa, i, item.obj()); in ToJavaArrayOfStrings()
159 return ScopedJavaLocalRef<jobjectArray>(env, joa); in ToJavaArrayOfStrings()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc1530 jobjectArray joa = env->NewObjectArray(2, conscrypt::jniutil::byteArrayClass, nullptr); in NativeCrypto_get_RSA_public_params() local
1531 if (joa == nullptr) { in NativeCrypto_get_RSA_public_params()
1539 env->SetObjectArrayElement(joa, 0, n); in NativeCrypto_get_RSA_public_params()
1545 env->SetObjectArrayElement(joa, 1, e); in NativeCrypto_get_RSA_public_params()
1547 return joa; in NativeCrypto_get_RSA_public_params()
1568 jobjectArray joa = env->NewObjectArray(8, conscrypt::jniutil::byteArrayClass, nullptr); in NativeCrypto_get_RSA_private_params() local
1569 if (joa == nullptr) { in NativeCrypto_get_RSA_private_params()
1577 env->SetObjectArrayElement(joa, 0, n); in NativeCrypto_get_RSA_private_params()
1584 env->SetObjectArrayElement(joa, 1, e); in NativeCrypto_get_RSA_private_params()
1592 env->SetObjectArrayElement(joa, 2, d); in NativeCrypto_get_RSA_private_params()
[all …]