Home
last modified time | relevance | path

Searched refs:memoryDealer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp54 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource() local
55 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp63 sp<MemoryDealer> memoryDealer = in MediaBuffer() local
65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl)); in MediaBuffer()
DMediaBufferGroup.cpp56 sp<MemoryDealer> memoryDealer = new MemoryDealer(total, "MediaBufferGroup"); in MediaBufferGroup() local
59 sp<IMemory> mem = memoryDealer->allocate(augmented_size); in MediaBufferGroup()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp509 sp<MemoryDealer> memoryDealer; in android_hardware_SoundTrigger_loadSoundModel() local
583 memoryDealer = new MemoryDealer(offset + size, "SoundTrigge-JNI::LoadModel"); in android_hardware_SoundTrigger_loadSoundModel()
584 if (memoryDealer == 0) { in android_hardware_SoundTrigger_loadSoundModel()
588 memory = memoryDealer->allocate(offset + size); in android_hardware_SoundTrigger_loadSoundModel()
714 sp<MemoryDealer> memoryDealer = in android_hardware_SoundTrigger_startRecognition() local
716 if (memoryDealer == 0) { in android_hardware_SoundTrigger_startRecognition()
719 sp<IMemory> memory = memoryDealer->allocate(totalSize); in android_hardware_SoundTrigger_startRecognition()
/frameworks/av/media/libstagefright/
DMediaExtractor.cpp107 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "RemoteDataSource"); in RemoteDataSource() local
108 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource()