Home
last modified time | relevance | path

Searched refs:roHeap (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DTracks.cpp172 const sp<MemoryDealer> roHeap(thread->readOnlyHeap()); in TrackBase() local
173 if (roHeap == 0 || in TrackBase()
174 (mBufferMemory = roHeap->allocate(bufferSize)) == 0 || in TrackBase()
178 if (roHeap != 0) { in TrackBase()
179 roHeap->dump("buffer"); in TrackBase()
DThreads.cpp6783 const sp<MemoryDealer> roHeap(readOnlyHeap()); in RecordThread() local
6785 if ((roHeap == 0) || in RecordThread()
6786 (pipeMemory = roHeap->allocate(pipeSize)) == 0 || in RecordThread()
6790 pipeSize, roHeap.get(), pipeMemory.get(), pipeBuffer, in RecordThread()