Home
last modified time | relevance | path

Searched refs:mHeapSeqNum (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp55 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
56 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel()
93 mHeapSeqNum(-1) { in ACodecBufferChannel()
165 mDecryptDestination, mHeapSeqNum, &destination.nonsecureMemory); in queueSecureInputBuffer()
169 IMemoryToSharedBuffer(it->mSharedEncryptedBuffer, mHeapSeqNum, &source); in queueSecureInputBuffer()
374 mDecryptDestination, mHeapSeqNum, &destination.nonsecureMemory); in attachEncryptedBuffer()
522 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
523 mCrypto->unsetHeap(mHeapSeqNum); in makeMemoryDealer()
530 mHeapSeqNum = seqNum; in makeMemoryDealer()
531 ALOGV("setHeap returned mHeapSeqNum=%d", mHeapSeqNum); in makeMemoryDealer()
[all …]
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp121 mHeapSeqNum(0) { in CryptoHal()
259 if (heap == NULL || mHeapSeqNum < 0) { in setHeapBase()
260 ALOGE("setHeapBase(): heap %p mHeapSeqNum %d", heap.get(), mHeapSeqNum); in setHeapBase()
266 int32_t seqNum = mHeapSeqNum++; in setHeapBase()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp141 : mHeapSeqNum(-1), in CCodecBufferChannel()
165 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
166 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
337 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination()
338 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination()
342 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination()
404 mDecryptDestination, mHeapSeqNum, &dst.nonsecureMemory); in attachEncryptedBuffer()
532 mDecryptDestination, mHeapSeqNum, &destination.nonsecureMemory); in queueSecureInputBuffer()
1030 if (mCrypto != nullptr && mHeapSeqNum < 0) { in start()
1032 mHeapSeqNum = mCrypto->setHeap(heap); in start()
[all …]
DCodec2Buffer.h391 int32_t mHeapSeqNum; variable
DCCodecBufferChannel.h252 int32_t mHeapSeqNum; variable
DCodec2Buffer.cpp790 mHeapSeqNum(heapSeqNum) { in EncryptedLinearBlockBuffer()
799 BufferChannelBase::IMemoryToSharedBuffer(mMemory, mHeapSeqNum, source); in fillSourceBuffer()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHal.h90 int32_t mHeapSeqNum; member
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h142 int32_t mHeapSeqNum; variable