Searched refs:memoryDealer (Results 1 – 5 of 5) sorted by relevance
54 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource() local55 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
63 sp<MemoryDealer> memoryDealer = in MediaBuffer() local65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl)); in MediaBuffer()
56 sp<MemoryDealer> memoryDealer = new MemoryDealer(total, "MediaBufferGroup"); in MediaBufferGroup() local59 sp<IMemory> mem = memoryDealer->allocate(augmented_size); in MediaBufferGroup()
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()