Searched refs:memoryDealer (Results 1 – 6 of 6) sorted by relevance
82 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "RemoteDataSource"); in RemoteDataSource() local83 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource()
64 sp<MemoryDealer> memoryDealer = new MemoryDealer(newSize, "MediaBuffer"); in MediaBuffer() local65 mMemory = memoryDealer->allocate(newSize); in MediaBuffer()
74 sp<MemoryDealer> memoryDealer = new MemoryDealer(total, "MediaBufferGroup"); in init() local77 sp<IMemory> mem = memoryDealer->allocate(augmented_size); in init()
53 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource() local54 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
529 sp<MemoryDealer> memoryDealer; in android_hardware_SoundTrigger_loadSoundModel() local603 memoryDealer = new MemoryDealer(offset + size, "SoundTrigge-JNI::LoadModel"); in android_hardware_SoundTrigger_loadSoundModel()604 if (memoryDealer == 0) { in android_hardware_SoundTrigger_loadSoundModel()608 memory = memoryDealer->allocate(offset + size); in android_hardware_SoundTrigger_loadSoundModel()734 sp<MemoryDealer> memoryDealer = in android_hardware_SoundTrigger_startRecognition() local736 if (memoryDealer == 0) { in android_hardware_SoundTrigger_startRecognition()739 sp<IMemory> memory = memoryDealer->allocate(totalSize); in android_hardware_SoundTrigger_startRecognition()
93 sp<MemoryDealer> memoryDealer = in init() local95 mMemory = memoryDealer->allocate(kBufferSize); in init()