Home
last modified time | relevance | path

Searched refs:MemoryDealer (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/libs/binder/
DMemoryDealer.cpp114 Allocation(const sp<MemoryDealer>& dealer,
118 sp<MemoryDealer> mDealer;
165 const sp<MemoryDealer>& dealer, in Allocation()
228 MemoryDealer::MemoryDealer(size_t size, const char* name, uint32_t flags) in MemoryDealer() function in android::MemoryDealer
234 MemoryDealer::~MemoryDealer() in ~MemoryDealer()
239 sp<IMemory> MemoryDealer::allocate(size_t size) in allocate()
249 void MemoryDealer::deallocate(size_t offset) in deallocate()
254 void MemoryDealer::dump(const char* what) const in dump()
259 const sp<IMemoryHeap>& MemoryDealer::heap() const { in heap()
263 SimpleBestFitAllocator* MemoryDealer::allocator() const { in allocator()
DAndroid.mk30 MemoryDealer.cpp \
/frameworks/native/include/binder/
DMemoryDealer.h34 class MemoryDealer : public RefBase
37 MemoryDealer(size_t size, const char* name = 0,
47 virtual ~MemoryDealer();
/frameworks/base/media/jni/
Dandroid_media_MediaHTTPConnection.h28 struct MemoryDealer;
49 sp<MemoryDealer> mDealer;
Dandroid_media_MediaHTTPConnection.cpp44 mDealer = new MemoryDealer(kBufferSize, "MediaHTTPConnection"); in JMediaHTTPConnection()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.h27 struct MemoryDealer;
63 sp<MemoryDealer> mMemoryDealer;
DNuPlayerStreamListener.cpp39 mMemoryDealer = new MemoryDealer(kNumBuffers * kBufferSize); in NuPlayerStreamListener()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h30 class MemoryDealer; variable
60 const sp<MemoryDealer> &dealer,
DOMXHarness.cpp180 const sp<MemoryDealer> &dealer, in allocatePortBuffers()
287 sp<MemoryDealer> dealer = new MemoryDealer(16 * 1024 * 1024, "OMXHarness"); in testStateTransitions()
/frameworks/base/media/tests/audiotests/
Dshared_mem_test.cpp72 sp<MemoryDealer> heap; in Test01()
91 heap = new MemoryDealer(1024*1024, "AudioTrack Heap Base"); in Test01()
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.h35 class MemoryDealer; variable
/frameworks/av/include/soundtrigger/
DSoundTrigger.h30 class MemoryDealer; variable
/frameworks/av/include/media/stagefright/
DOMXCodec.h32 class MemoryDealer; variable
196 sp<MemoryDealer> mDealer[2];
DACodec.h34 struct MemoryDealer;
181 sp<MemoryDealer> mDealer[2];
/frameworks/av/services/audioflinger/
DAudioFlinger.h266 sp<MemoryDealer> mLogMemoryDealer; // == 0 when NBLog is disabled
398 sp<MemoryDealer> heap() const;
409 const sp<MemoryDealer> mMemoryDealer;
DThreads.h355 virtual sp<MemoryDealer> readOnlyHeap() const { return 0; } in readOnlyHeap()
1077 virtual sp<MemoryDealer> readOnlyHeap() const { return mReadOnlyHeap; } in readOnlyHeap()
1167 const sp<MemoryDealer> mReadOnlyHeap;
DPlaybackTracks.h232 sp<MemoryDealer> mTimedMemoryDealer;
DAudioFlinger.cpp188 … mLogMemoryDealer = new MemoryDealer(kLogMemorySize, "LogWriters", MemoryHeapBase::READ_ONLY); in AudioFlinger()
1306 mMemoryDealer(new MemoryDealer(1024*1024, "AudioFlinger::Client")), in Client()
1319 sp<MemoryDealer> AudioFlinger::Client::heap() const in heap()
DTracks.cpp141 const sp<MemoryDealer> roHeap(thread->readOnlyHeap()); in TrackBase()
1208 mTimedMemoryDealer = new MemoryDealer(kTimedBufferHeapSize, in allocateTimedBuffer()
DThreads.cpp4943 , mReadOnlyHeap(new MemoryDealer(kRecordThreadReadOnlyHeapSize, in RecordThread()
5001 const sp<MemoryDealer> roHeap(readOnlyHeap()); in RecordThread()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp494 sp<MemoryDealer> memoryDealer; in android_hardware_SoundTrigger_loadSoundModel()
565 memoryDealer = new MemoryDealer(offset + size, "SoundTrigge-JNI::LoadModel"); in android_hardware_SoundTrigger_loadSoundModel()
694 sp<MemoryDealer> memoryDealer = in android_hardware_SoundTrigger_startRecognition()
695 new MemoryDealer(totalSize, "SoundTrigge-JNI::StartRecognition"); in android_hardware_SoundTrigger_startRecognition()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h203 sp<MemoryDealer> mMemoryDealer;
DSoundTriggerHwService.cpp50 mMemoryDealer(new MemoryDealer(1024 * 1024, "SoundTriggerHwService")), in SoundTriggerHwService()
/frameworks/av/media/libstagefright/
DACodec.cpp551 mDealer[portIndex] = new MemoryDealer(totalSize, "ACodec"); in allocateBuffersOnPort()
871 mDealer[kPortIndexOutput] = new MemoryDealer(totalSize, "ACodec"); in allocateOutputMetaDataBuffers()
DOMXCodec.cpp1654 mDealer[portIndex] = new MemoryDealer(totalSize, "OMXCodec"); in allocateBuffersOnPort()