Home
last modified time | relevance | path

Searched refs:JniUtil (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/service-core/jni/cpp/
Dact_jni.cpp39 if(!jni_util::JniUtil::BytesToCppProto(env, &scheme_parameter_proto, scheme_parameter_bytes)) { in Java_com_android_adservices_ActJniWrapper_generateClientParameters()
40 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniWrapper_generateClientParameters()
45 if(!jni_util::JniUtil::BytesToCppProto(env, &server_public_parameters_proto, in Java_com_android_adservices_ActJniWrapper_generateClientParameters()
47 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniWrapper_generateClientParameters()
62 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniWrapper_generateClientParameters()
67 jni_util::JniUtil::SerializeProtoToJniByteArray(env, client_parameters); in Java_com_android_adservices_ActJniWrapper_generateClientParameters()
82 if(!jni_util::JniUtil::BytesToCppProto(env, &messagesProto, messagesInBytes)) { in Java_com_android_adservices_ActJniWrapper_generateTokensRequest()
83 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniWrapper_generateTokensRequest()
93 if(!jni_util::JniUtil::BytesToCppProto(env, &schemeParametersProto, schemeParametersInBytes)) { in Java_com_android_adservices_ActJniWrapper_generateTokensRequest()
94 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniWrapper_generateTokensRequest()
[all …]
Dohttp_jni.cpp217 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt()
249 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
262 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
275 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
287 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
305 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
321 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeSetupRecipient()
599 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_aeadSeal()
614 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_aeadSeal()
645 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ohttp_OhttpJniWrapper_aeadSeal()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/jni/cpp/
Dact_util_jni.cpp41 if(!jni_util::JniUtil::BytesToCppProto(env, &scheme_parameter_proto, scheme_parameter_bytes)) { in Java_com_android_adservices_ActJniUtility_checkClientParameters()
42 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniUtility_checkClientParameters()
47 if(!jni_util::JniUtil::BytesToCppProto(env, &client_public_parameters_proto, in Java_com_android_adservices_ActJniUtility_checkClientParameters()
49 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniUtility_checkClientParameters()
53 if(!jni_util::JniUtil::BytesToCppProto(env, &server_public_parameters_proto, in Java_com_android_adservices_ActJniUtility_checkClientParameters()
55 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniUtility_checkClientParameters()
62 if(!jni_util::JniUtil::BytesToCppProto(env, &server_private_parameters_proto, in Java_com_android_adservices_ActJniUtility_checkClientParameters()
64 jni_util::JniUtil::ThrowJavaException( in Java_com_android_adservices_ActJniUtility_checkClientParameters()
79 jni_util::JniUtil::ThrowJavaException(env, IllegalStateExceptionClass, in Java_com_android_adservices_ActJniUtility_checkClientParameters()
94 if(!jni_util::JniUtil::BytesToCppProto(env, &tokens_request_proto, tokens_request_bytes)) { in Java_com_android_adservices_ActJniUtility_generateTokensResponse()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DJniUtilTest.kt34 JniUtil.getJniLibraryName(java.util.Set::class.java.getPackage())) in testGetJniLibraryName()
36 JniUtil.getJniLibraryName(org.junit.Before::class.java.getPackage())) in testGetJniLibraryName()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DTetheringUtils.java24 import com.android.net.module.util.JniUtil;
50 return JniUtil.getJniLibraryName(TetheringUtils.class.getPackage()); in getTetheringJniLibraryName()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DJniUtil.java22 public final class JniUtil { class
DTcUtils.java26 System.loadLibrary(JniUtil.getJniLibraryName(TcUtils.class.getPackage())); in JniUtil.getJniLibraryName()
DBpfUtils.java33 System.loadLibrary(JniUtil.getJniLibraryName(BpfUtils.class.getPackage())); in JniUtil.getJniLibraryName()
DBpfMap.java48 System.loadLibrary(JniUtil.getJniLibraryName(BpfMap.class.getPackage())); in JniUtil.getJniLibraryName()
/packages/modules/AdServices/adservices/service-core/jni/include/
Djni_util.h26 class JniUtil {
/packages/modules/Connectivity/staticlibs/
DAndroid.bp137 "device/com/android/net/module/util/JniUtil.java",