Home
last modified time | relevance | path

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

/frameworks/av/media/libnblog/include/media/nblog/
DReader.h50 Reader(const sp<IMemory>& iMemory, size_t size, const std::string &name);
55 bool isIMemory(const sp<IMemory>& iMemory) const;
115 DumpReader(const sp<IMemory>& iMemory, size_t size, const std::string &name) in DumpReader() argument
116 : Reader(iMemory, size, name) {} in DumpReader()
DWriter.h51 Writer(const sp<IMemory>& iMemory, size_t size);
/frameworks/av/media/utils/
DServiceUtilities.cpp219 status_t checkIMemory(const sp<IMemory>& iMemory) in checkIMemory() argument
221 if (iMemory == 0) { in checkIMemory()
226 sp<IMemoryHeap> heap = iMemory->getMemory(); in checkIMemory()
235 if (iMemory->pointer() == NULL || size < (off_t)iMemory->size()) { in checkIMemory()
237 __FUNCTION__, iMemory->pointer(), iMemory->size(), (uint32_t)size); in checkIMemory()
/frameworks/av/media/libnblog/
DReader.cpp47 Reader::Reader(const sp<IMemory>& iMemory, size_t size, const std::string &name) in Reader() argument
48 : Reader(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL, size, name) in Reader()
50 mIMemory = iMemory; in Reader()
157 bool Reader::isIMemory(const sp<IMemory>& iMemory) const in isIMemory()
159 return iMemory != 0 && mIMemory != 0 && iMemory->pointer() == mIMemory->pointer(); in isIMemory()
DWriter.cpp58 Writer::Writer(const sp<IMemory>& iMemory, size_t size) in Writer() argument
59 : Writer(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL, size) in Writer()
61 mIMemory = iMemory; in Writer()
/frameworks/av/media/utils/include/mediautils/
DServiceUtilities.h93 status_t checkIMemory(const sp<IMemory>& iMemory);
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp275 sp<IMemory> iMemory(mUnregisteredWriters.top()->getIMemory()); in ~AudioFlinger() local
277 sMediaLogService->unregisterWriter(iMemory); in ~AudioFlinger()
690 sp<IMemory> iMemory(mUnregisteredWriters[0]->getIMemory()); in newWriter_l() local
692 sMediaLogService->unregisterWriter(iMemory); in newWriter_l()
720 sp<IMemory> iMemory(writer->getIMemory()); in unregisterWriter() local
721 if (iMemory == 0) { in unregisterWriter()