Searched refs:memoryDealer (Results 1 – 2 of 2) sorted by relevance
53 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource() local54 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
494 sp<MemoryDealer> memoryDealer; in android_hardware_SoundTrigger_loadSoundModel() local565 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() local696 if (memoryDealer == 0) { in android_hardware_SoundTrigger_startRecognition()699 sp<IMemory> memory = memoryDealer->allocate(totalSize); in android_hardware_SoundTrigger_startRecognition()