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.cpp87 mHeapSeqNum(0) { in CryptoHal()
226 if (heap == NULL || mHeapSeqNum < 0) { in setHeapBase()
227 ALOGE("setHeapBase(): heap %p mHeapSeqNum %d", heap.get(), mHeapSeqNum); in setHeapBase()
233 int32_t seqNum = mHeapSeqNum++; in setHeapBase()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp142 : mHeapSeqNum(-1), in CCodecBufferChannel()
171 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
172 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
380 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination()
381 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination()
385 mHeapSeqNum = mCrypto->setHeap(hardware::fromHeap(heap)); in ensureDecryptDestination()
447 mDecryptDestination, mHeapSeqNum, &dst.nonsecureMemory); in attachEncryptedBuffer()
609 mDecryptDestination, mHeapSeqNum, &destination.nonsecureMemory); in queueSecureInputBuffer()
1161 if (mCrypto != nullptr && mHeapSeqNum < 0) { in start()
1163 mHeapSeqNum = mCrypto->setHeap(heap); in start()
[all …]
DCodec2Buffer.h391 int32_t mHeapSeqNum; variable
DCCodecBufferChannel.h256 int32_t mHeapSeqNum; variable
DCodec2Buffer.cpp900 mHeapSeqNum(heapSeqNum) { in EncryptedLinearBlockBuffer()
909 BufferChannelBase::IMemoryToSharedBuffer(mMemory, mHeapSeqNum, source); in fillSourceBuffer()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHal.h93 int32_t mHeapSeqNum; member
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h142 int32_t mHeapSeqNum; variable