Searched refs:keyBuffer (Results 1 – 3 of 3) sorted by relevance
109 sp<ABuffer> keyBuffer; in decryptAndQueue() local121 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() local162 msg->findBuffer("key", &keyBuffer); in attachEncryptedBufferAndQueue()173 const uint8_t * key = keyBuffer.get() != nullptr ? keyBuffer.get()->data() : nullptr; in attachEncryptedBufferAndQueue()
307 std::vector<uint8_t> keyBuffer(keySize); in TEST() local309 genRandomData(keyBuffer); in TEST()313 setShader(key, keyBuffer); in TEST()
1180 sp<ABuffer> keyBuffer; in AMessageToCryptoInfo() local1190 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()