Home
last modified time | relevance | path

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

/frameworks/av/media/libnbaio/
DNBLog.cpp85 NBLog::Writer::Writer(size_t size, const sp<IMemory>& iMemory) in Writer() argument
86 : mSize(roundup(size)), mShared(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL), in Writer()
87 mIMemory(iMemory), mRear(0), mEnabled(mShared != NULL) in Writer()
280 NBLog::Reader::Reader(size_t size, const sp<IMemory>& iMemory) in Reader() argument
281 : mSize(roundup(size)), mShared(iMemory != 0 ? (const Shared *) iMemory->pointer() : NULL), in Reader()
282 mIMemory(iMemory), mFront(0) in Reader()
448 bool NBLog::Reader::isIMemory(const sp<IMemory>& iMemory) const in isIMemory()
450 return iMemory != 0 && mIMemory != 0 && iMemory->pointer() == mIMemory->pointer(); in isIMemory()
/frameworks/av/include/media/nbaio/
DNBLog.h121 Writer(size_t size, const sp<IMemory>& iMemory);
180 Reader(size_t size, const sp<IMemory>& iMemory);
185 bool isIMemory(const sp<IMemory>& iMemory) const;
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp273 sp<IMemory> iMemory(mUnregisteredWriters.top()->getIMemory()); in ~AudioFlinger() local
275 mediaLogService->unregisterWriter(iMemory); in ~AudioFlinger()
533 sp<IMemory> iMemory(mUnregisteredWriters[0]->getIMemory()); in newWriter_l() local
535 mediaLogService->unregisterWriter(iMemory); in newWriter_l()
560 sp<IMemory> iMemory(writer->getIMemory()); in unregisterWriter() local
561 if (iMemory == 0) { in unregisterWriter()