Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DCryptoAsync.cpp109 sp<ABuffer> keyBuffer; in decryptAndQueue() local
121 msg->findBuffer("key", &keyBuffer); in decryptAndQueue()
126 const uint8_t * key = keyBuffer.get() != nullptr ? keyBuffer.get()->data() : nullptr; in decryptAndQueue()
157 sp<ABuffer> keyBuffer; in attachEncryptedBufferAndQueue() local
162 msg->findBuffer("key", &keyBuffer); in attachEncryptedBufferAndQueue()
173 const uint8_t * key = keyBuffer.get() != nullptr ? keyBuffer.get()->data() : nullptr; in attachEncryptedBufferAndQueue()
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp307 std::vector<uint8_t> keyBuffer(keySize); in TEST() local
309 genRandomData(keyBuffer); in TEST()
313 setShader(key, keyBuffer); in TEST()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp1180 sp<ABuffer> keyBuffer; in AMessageToCryptoInfo() local
1190 CHECK(msg->findBuffer("key", &keyBuffer)); in AMessageToCryptoInfo()
1213 if (keyBuffer.get() != nullptr && keyBuffer->size() > 0) { in AMessageToCryptoInfo()
1214 keyArray = env->NewByteArray(keyBuffer->size()); in AMessageToCryptoInfo()
1216 memcpy(dstKey, keyBuffer->data(), keyBuffer->size()); in AMessageToCryptoInfo()