Home
last modified time | relevance | path

Searched refs:encrypted (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java121 byte[] encrypted = c.doFinal("hello, world".getBytes()); in testKeyStore_ImportWrappedKey()
126 assertEquals(new String(c.doFinal(encrypted)), "hello, world"); in testKeyStore_ImportWrappedKey()
185 byte[] encrypted = c.doFinal("hello, world".getBytes()); in testKeyStore_ImportWrappedKey_3DES()
190 assertEquals(new String(c.doFinal(encrypted)), "hello, world"); in testKeyStore_ImportWrappedKey_3DES()
222 byte[] encrypted = c.doFinal("hello, world".getBytes()); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
227 assertEquals(new String(c.doFinal(encrypted)), "hello, world"); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
263 byte[] encrypted = c.doFinal("hello, world".getBytes()); in testKeyStore_ImportWrappedKey_AES_StrongBox()
268 assertEquals(new String(c.doFinal(encrypted)), "hello, world"); in testKeyStore_ImportWrappedKey_AES_StrongBox()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecClearKeyPlayer.java173 public void setAudioDataSource(Uri uri, Map<String, String> headers, boolean encrypted) { in setAudioDataSource() argument
176 mEncryptedAudio = encrypted; in setAudioDataSource()
179 public void setVideoDataSource(Uri uri, Map<String, String> headers, boolean encrypted) { in setVideoDataSource() argument
182 mEncryptedVideo = encrypted; in setVideoDataSource()
394 boolean encrypted) throws IOException { in addTrack() argument
401 if (encrypted && mCrypto.requiresSecureDecoderComponent(mime)) { in addTrack()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java402 byte[] encrypted = cipher.doFinal(getByteArrayFromBuffer(paddedPayload)); in getCiphertext()
405 ByteBuffer cipherText = ByteBuffer.allocate(AES_CBC_IV_LEN + encrypted.length); in getCiphertext()
407 cipherText.put(encrypted); in getCiphertext()
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java396 byte[] encrypted = cipher.doFinal(getByteArrayFromBuffer(paddedPayload)); in getCiphertext()
399 ByteBuffer cipherText = ByteBuffer.allocate(AES_CBC_IV_LEN + encrypted.length); in getCiphertext()
401 cipherText.put(encrypted); in getCiphertext()