Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp55 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
56 mCrypto->unsetHeap(mHeapSeqNum); in ~ACodecBufferChannel()
93 mHeapSeqNum(-1) { in ACodecBufferChannel()
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()
533 mHeapSeqNum = -1; in makeMemoryDealer()
650 if (mHeapSeqNum >= 0) { in setCrypto()
651 mCrypto->unsetHeap(mHeapSeqNum); in setCrypto()
[all …]
/aosp12/frameworks/av/drm/libmediadrm/
H A 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()
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DCCodecBufferChannel.cpp143 : mHeapSeqNum(-1), in CCodecBufferChannel()
173 if (mCrypto != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
174 mCrypto->unsetHeap(mHeapSeqNum); in ~CCodecBufferChannel()
382 if (mDecryptDestination && mCrypto && mHeapSeqNum >= 0) { in ensureDecryptDestination()
383 mCrypto->unsetHeap(mHeapSeqNum); in ensureDecryptDestination()
1164 if (mCrypto != nullptr && mHeapSeqNum < 0) { in start()
1166 mHeapSeqNum = mCrypto->setHeap(heap); in start()
1168 mHeapSeqNum = -1; in start()
2056 if (mHeapSeqNum >= 0) { in setCrypto()
2057 mCrypto->unsetHeap(mHeapSeqNum); in setCrypto()
[all …]
H A DCodec2Buffer.h391 int32_t mHeapSeqNum; variable
H A DCCodecBufferChannel.h256 int32_t mHeapSeqNum; variable
H A DCodec2Buffer.cpp900 mHeapSeqNum(heapSeqNum) { in EncryptedLinearBlockBuffer()
909 BufferChannelBase::IMemoryToSharedBuffer(mMemory, mHeapSeqNum, source); in fillSourceBuffer()
/aosp12/frameworks/av/drm/libmediadrm/include/mediadrm/
H A DCryptoHal.h93 int32_t mHeapSeqNum; member
/aosp12/frameworks/av/media/libstagefright/include/
H A DACodecBufferChannel.h142 int32_t mHeapSeqNum; variable