Home
last modified time | relevance | path

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

/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.h43 Return<void> loadSoundModel_2_1(const V2_1::ISoundTriggerHw::SoundModel& soundModel,
48 const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel,
62 Return<void> loadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel()
65 return mImpl->loadSoundModel(soundModel, callback, cookie, _hidl_cb); in loadSoundModel()
67 Return<void> loadPhraseSoundModel(const V2_0::ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel()
71 return mImpl->loadPhraseSoundModel(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel()
88 Return<void> loadSoundModel_2_1(const V2_1::ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel_2_1()
91 return mImpl->loadSoundModel_2_1(soundModel, callback, cookie, _hidl_cb); in loadSoundModel_2_1()
94 const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel_2_1()
97 return mImpl->loadPhraseSoundModel_2_1(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel_2_1()
DSoundTriggerHw.cpp101 const V2_1::ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel_2_1() argument
105 V2_0::ISoundTriggerHw::SoundModel soundModel_2_0(soundModel.header); in loadSoundModel_2_1()
106 auto result = memoryAsVector(soundModel.data, &soundModel_2_0.data); in loadSoundModel_2_1()
118 const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel_2_1() argument
123 soundModel_2_0.common = soundModel.common.header; in loadPhraseSoundModel_2_1()
126 const_cast<V2_0::ISoundTriggerHw::Phrase*>(soundModel.phrases.data()), in loadPhraseSoundModel_2_1()
127 soundModel.phrases.size()); in loadPhraseSoundModel_2_1()
128 auto result = memoryAsVector(soundModel.common.data, &soundModel_2_0.common.data); in loadPhraseSoundModel_2_1()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp109 int SoundTriggerHw::doLoadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel, in doLoadSoundModel() argument
114 ALOGV("doLoadSoundModel() data size %zu", soundModel.data.size()); in doLoadSoundModel()
121 halSoundModel = convertSoundModelToHal(&soundModel); in doLoadSoundModel()
147 Return<void> SoundTriggerHw::loadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel() argument
153 _hidl_cb(doLoadSoundModel(soundModel, client), client->getId()); in loadSoundModel()
158 const V2_0::ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel() argument
164 _hidl_cb(doLoadSoundModel((const V2_0::ISoundTriggerHw::SoundModel&)soundModel, client), in loadPhraseSoundModel()
372 const V2_0::ISoundTriggerHw::SoundModel* soundModel) { in convertSoundModelToHal() argument
374 if (soundModel->type == V2_0::SoundModelType::KEYPHRASE) { in convertSoundModelToHal()
376 sizeof(struct sound_trigger_phrase_sound_model) + soundModel->data.size(); in convertSoundModelToHal()
[all …]
DSoundTriggerHw.h57 Return<void> loadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel,
60 Return<void> loadPhraseSoundModel(const V2_0::ISoundTriggerHw::PhraseSoundModel& soundModel,
72 Return<void> loadSoundModel_2_1(const V2_1::ISoundTriggerHw::SoundModel& soundModel,
75 Return<void> loadPhraseSoundModel_2_1(const V2_1::ISoundTriggerHw::PhraseSoundModel& soundModel,
122 int doLoadSoundModel(const V2_0::ISoundTriggerHw::SoundModel& soundModel,
150 const V2_0::ISoundTriggerHw::SoundModel* soundModel);
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.h75 Return<void> loadSoundModel(const ISoundTriggerHw::SoundModel& soundModel,
79 Return<void> loadPhraseSoundModel(const ISoundTriggerHw::PhraseSoundModel& soundModel,
90 int doLoadSoundModel(const ISoundTriggerHw::SoundModel& soundModel,
104 Return<void> loadSoundModel(const ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel()
108 return mImpl->loadSoundModel(soundModel, callback, cookie, _hidl_cb); in loadSoundModel()
110 Return<void> loadPhraseSoundModel(const ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel()
114 return mImpl->loadPhraseSoundModel(soundModel, callback, cookie, _hidl_cb); in loadPhraseSoundModel()
155 const ISoundTriggerHw::SoundModel* soundModel);
DSoundTriggerHalImpl.cpp91 int SoundTriggerHalImpl::doLoadSoundModel(const ISoundTriggerHw::SoundModel& soundModel, in doLoadSoundModel() argument
96 ALOGV("doLoadSoundModel() data size %zu", soundModel.data.size()); in doLoadSoundModel()
103 halSoundModel = convertSoundModelToHal(&soundModel); in doLoadSoundModel()
129 Return<void> SoundTriggerHalImpl::loadSoundModel(const ISoundTriggerHw::SoundModel& soundModel, in loadSoundModel() argument
134 _hidl_cb(doLoadSoundModel(soundModel, client), client->getId()); in loadSoundModel()
139 const ISoundTriggerHw::PhraseSoundModel& soundModel, in loadPhraseSoundModel() argument
143 _hidl_cb(doLoadSoundModel((const ISoundTriggerHw::SoundModel&)soundModel, client), in loadPhraseSoundModel()
350 const ISoundTriggerHw::SoundModel* soundModel) { in convertSoundModelToHal() argument
352 if (soundModel->type == SoundModelType::KEYPHRASE) { in convertSoundModelToHal()
354 sizeof(struct sound_trigger_phrase_sound_model) + soundModel->data.size(); in convertSoundModelToHal()
[all …]
/hardware/interfaces/soundtrigger/2.1/
DISoundTriggerHw.hal79 * @param soundModel A SoundModel structure describing the sound model
96 loadSoundModel_2_1(SoundModel soundModel,
113 * @param soundModel A PhraseSoundModel structure describing the sound model
130 loadPhraseSoundModel_2_1(PhraseSoundModel soundModel,
/hardware/interfaces/soundtrigger/2.0/
DISoundTriggerHw.hal144 * @param soundModel A SoundModel structure describing the sound model to
160 loadSoundModel(SoundModel soundModel,
172 * @param soundModel A PhraseSoundModel structure describing the sound model
188 loadPhraseSoundModel(PhraseSoundModel soundModel,