Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java554 byte[] keyId = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09}; in testCryptoSessionEncrypt()
561 byte[] output = cs.encrypt(keyId, input, iv); in testCryptoSessionEncrypt()
563 assertTrue(Arrays.equals(keyId, md.getPropertyByteArray("mock-keyid"))); in testCryptoSessionEncrypt()
580 byte[] keyId = {0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49}; in testCryptoSessionDecrypt()
587 byte[] output = cs.decrypt(keyId, input, iv); in testCryptoSessionDecrypt()
589 assertTrue(Arrays.equals(keyId, md.getPropertyByteArray("mock-keyid"))); in testCryptoSessionDecrypt()
606 byte[] keyId = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09}; in testCryptoSessionSign()
612 byte[] signature = cs.sign(keyId, message); in testCryptoSessionSign()
614 assertTrue(Arrays.equals(keyId, md.getPropertyByteArray("mock-keyid"))); in testCryptoSessionSign()
630 byte[] keyId = {0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49}; in testCryptoSessionVerify()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp586 keyStatus.keyId.ptr = keysStatus[i].keyId.ptr; in onKeysChangeListener()
587 keyStatus.keyId.length = keysStatus[i].keyId.length; in onKeysChangeListener()
590 ALOGD("key[%zd]: key: %0x, %0x, %0x", i, keyStatus.keyId.ptr[0], keyStatus.keyId.ptr[1], in onKeysChangeListener()
591 keyStatus.keyId.ptr[2]); in onKeysChangeListener()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DIkeIdentificationTest.java67 assertArrayEquals(LOCAL_KEY_ID, ikeId.keyId); in testIkeKeyIdIdentification()
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1314 int keyId = mNextKeyId++; in importKey() local
1315 String keyAlias = "key" + keyId; in importKey()