Home
last modified time | relevance | path

Searched refs:encryptedDataArray (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AdServices/adservices/service-core/jni/cpp/
Dohttp_jni.cpp200 jbyteArray encryptedDataArray) in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt() argument
206 jbyte* encryptedDataPtr = env->GetByteArrayElements(encryptedDataArray, 0); in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt()
207 size_t encryptedDataLen = env->GetArrayLength(encryptedDataArray); in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt()
216 env->ReleaseByteArrayElements(encryptedDataArray, encryptedDataPtr, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt()
225 env->ReleaseByteArrayElements(encryptedDataArray, encryptedDataPtr, JNI_ABORT); in Java_com_android_adservices_ohttp_OhttpJniWrapper_gatewayDecrypt()
657 jbyteArray encryptedDataArray = env->NewByteArray(ciphertextLen); in Java_com_android_adservices_ohttp_OhttpJniWrapper_aeadSeal() local
658 env->SetByteArrayRegion(encryptedDataArray, 0, ciphertextLen, in Java_com_android_adservices_ohttp_OhttpJniWrapper_aeadSeal()
660 return encryptedDataArray; in Java_com_android_adservices_ohttp_OhttpJniWrapper_aeadSeal()
/packages/modules/AdServices/adservices/service-core/jni/include/
Dohttp_jni.h126 jbyteArray encryptedDataArray);
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java435 EncryptedData[] encryptedDataArray = new EncryptedData[len]; in writeWepKeysToXml() local
438 encryptedDataArray[i] = new EncryptedData(new byte[0], new byte[0]); in writeWepKeysToXml()
440 encryptedDataArray[i] = encryptionUtil.encrypt(wepKeys[i].getBytes()); in writeWepKeysToXml()
441 if (encryptedDataArray[i] == null) { in writeWepKeysToXml()
452 XmlUtil.EncryptedDataXmlUtil.writeToXml(out, encryptedDataArray[i]); in writeWepKeysToXml()