Searched refs:memoryDealer (Results 1 – 4 of 4) sorted by relevance
54 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource() local55 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
60 sp<MemoryDealer> memoryDealer = new MemoryDealer(size, "MediaBuffer"); in MediaBuffer() local61 mMemory = memoryDealer->allocate(size); in MediaBuffer()
509 sp<MemoryDealer> memoryDealer; in android_hardware_SoundTrigger_loadSoundModel() local583 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() local716 if (memoryDealer == 0) { in android_hardware_SoundTrigger_startRecognition()719 sp<IMemory> memory = memoryDealer->allocate(totalSize); in android_hardware_SoundTrigger_startRecognition()
107 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "RemoteDataSource"); in RemoteDataSource() local108 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource()