Home
last modified time | relevance | path

Searched refs:EMPTY_CONTEXT_INFO (Results 1 – 10 of 10) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DHpkeEncrypterTest.java25 import static com.android.adservices.service.topics.EncryptionManagerTest.EMPTY_CONTEXT_INFO;
65 mHpkeEncrypter.encrypt(DECODED_PUBLIC_KEY, plainText, EMPTY_CONTEXT_INFO); in testEncryption_success()
71 byte[] decryptedText = HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in testEncryption_success()
94 EMPTY_CONTEXT_INFO); in testEncryption_invalidKeyLength_returnsEmpty()
109 DECODED_PUBLIC_KEY, /* plainText */ null, EMPTY_CONTEXT_INFO)); in testEncryption_nullPlainText_throwsException()
119 () -> mHpkeEncrypter.encrypt(/* publicKey */ null, plainText, EMPTY_CONTEXT_INFO)); in testEncryption_nullPublicKey_throwsException()
DEncryptionManagerTest.java75 static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in EncryptionManagerTest
159 byte[] decryptedText = HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in testEncryption_success()
/packages/modules/AdServices/adservices/samples/topics/sampleapp6/java/com/example/adservices/samples/topics/sampleapp6/
DMainActivity.java67 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
190 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleappwithnoperm/java/com/example/adservices/samples/topics/sampleappwithnoperm/
DMainActivity.java66 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
192 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleapp3/java/com/example/adservices/samples/topics/sampleapp3/
DMainActivity.java66 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
193 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleapp2/java/com/example/adservices/samples/topics/sampleapp2/
DMainActivity.java66 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
193 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleappwithoptoutall/java/com/example/adservices/samples/topics/sampleappwithoptoutall/
DMainActivity.java66 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
192 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleapp5/java/com/example/adservices/samples/topics/sampleapp5/
DMainActivity.java65 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
191 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleapp4/java/com/example/adservices/samples/topics/sampleapp4/
DMainActivity.java66 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
193 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()
/packages/modules/AdServices/adservices/samples/topics/sampleapp1/java/com/example/adservices/samples/topics/sampleapp1/
DMainActivity.java69 private static final byte[] EMPTY_CONTEXT_INFO = new byte[] {}; field in MainActivity
131 HpkeJni.decrypt(DECODED_PRIVATE_KEY, cipherText, EMPTY_CONTEXT_INFO); in getDecryptedTopics()