Home
last modified time | relevance | path

Searched refs:modelMemory (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/soundtrigger/
DISoundTrigger.cpp53 status_t loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel() argument
56 if (modelMemory == 0 || handle == NULL) { in loadSoundModel()
61 data.writeStrongBinder(IInterface::asBinder(modelMemory)); in loadSoundModel()
134 sp<IMemory> modelMemory = interface_cast<IMemory>( in onTransact() local
137 status_t status = loadSoundModel(modelMemory, &handle); in onTransact()
DSoundTrigger.cpp152 status_t SoundTrigger::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel() argument
160 return mISoundTrigger->loadSoundModel(modelMemory, handle); in loadSoundModel()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp565 status_t SoundTriggerHwService::Module::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel() argument
573 if (modelMemory == 0 || modelMemory->pointer() == NULL) { in loadSoundModel()
578 (struct sound_trigger_sound_model *)modelMemory->pointer(); in loadSoundModel()
589 modelMemory->size() < sound_model->data_offset || in loadSoundModel()
590 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) { in loadSoundModel()
964 status_t SoundTriggerHwService::ModuleClient::loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel() argument
976 return module->loadSoundModel(modelMemory, this, handle); in loadSoundModel()
DSoundTriggerHwService.h116 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
166 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
/frameworks/av/include/soundtrigger/
DISoundTrigger.h35 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
DSoundTrigger.h48 status_t loadSoundModel(const sp<IMemory>& modelMemory,