Home
last modified time | relevance | path

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

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp586 auto immutableMemory = CopyToArray(modelMemory); in loadSoundModel() local
587 if (immutableMemory.first == nullptr) { in loadSoundModel()
592 (struct sound_trigger_sound_model*) immutableMemory.first.get(); in loadSoundModel()
603 immutableMemory.second < sound_model->data_offset || in loadSoundModel()
605 (immutableMemory.second - sound_model->data_offset)) { in loadSoundModel()
686 auto immutableMemory = CopyToArray(dataMemory); in startRecognition() local
687 if (immutableMemory.first == nullptr) { in startRecognition()
692 (struct sound_trigger_recognition_config*) immutableMemory.first.get(); in startRecognition()
696 immutableMemory.second < config->data_offset || in startRecognition()
698 (immutableMemory.second - config->data_offset)) { in startRecognition()