Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp53 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource() local
54 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp494 sp<MemoryDealer> memoryDealer; in android_hardware_SoundTrigger_loadSoundModel() local
565 memoryDealer = new MemoryDealer(offset + size, "SoundTrigge-JNI::LoadModel"); in android_hardware_SoundTrigger_loadSoundModel()
566 if (memoryDealer == 0) { in android_hardware_SoundTrigger_loadSoundModel()
570 memory = memoryDealer->allocate(offset + size); in android_hardware_SoundTrigger_loadSoundModel()
694 sp<MemoryDealer> memoryDealer = in android_hardware_SoundTrigger_startRecognition() local
696 if (memoryDealer == 0) { in android_hardware_SoundTrigger_startRecognition()
699 sp<IMemory> memory = memoryDealer->allocate(totalSize); in android_hardware_SoundTrigger_startRecognition()