Home
last modified time | relevance | path

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

/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.h51 Return<int32_t> startRecognition_2_1(int32_t modelHandle,
73 Return<int32_t> unloadSoundModel(V2_0::SoundModelHandle modelHandle) override { in unloadSoundModel()
74 return mImpl->unloadSoundModel(modelHandle); in unloadSoundModel()
76 Return<int32_t> startRecognition(int32_t modelHandle, in startRecognition()
80 return mImpl->startRecognition(modelHandle, config); in startRecognition()
82 Return<int32_t> stopRecognition(V2_0::SoundModelHandle modelHandle) override { in stopRecognition()
83 return mImpl->stopRecognition(modelHandle); in stopRecognition()
99 Return<int32_t> startRecognition_2_1(int32_t modelHandle, in startRecognition_2_1()
103 return mImpl->startRecognition_2_1(modelHandle, config); in startRecognition_2_1()
DSoundTriggerHw.cpp141 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config) { in startRecognition_2_1() argument
145 return result.first ? startRecognition(modelHandle, config_2_0) : Return<int32_t>(-ENOMEM); in startRecognition_2_1()
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.h83 Return<int32_t> unloadSoundModel(SoundModelHandle modelHandle);
84 Return<int32_t> startRecognition(SoundModelHandle modelHandle,
86 Return<int32_t> stopRecognition(SoundModelHandle modelHandle);
116 Return<int32_t> unloadSoundModel(SoundModelHandle modelHandle) override { in unloadSoundModel()
117 return mImpl->unloadSoundModel(modelHandle); in unloadSoundModel()
120 SoundModelHandle modelHandle, const ISoundTriggerHw::RecognitionConfig& config, in startRecognition()
123 return mImpl->startRecognition(modelHandle, config); in startRecognition()
125 Return<int32_t> stopRecognition(SoundModelHandle modelHandle) override { in stopRecognition()
126 return mImpl->stopRecognition(modelHandle); in stopRecognition()
DSoundTriggerHalImpl.cpp148 Return<int32_t> SoundTriggerHalImpl::unloadSoundModel(SoundModelHandle modelHandle) { in unloadSoundModel() argument
159 client = mClients.valueFor(modelHandle); in unloadSoundModel()
168 mClients.removeItem(modelHandle); in unloadSoundModel()
175 SoundModelHandle modelHandle, const ISoundTriggerHw::RecognitionConfig& config) { in startRecognition() argument
187 client = mClients.valueFor(modelHandle); in startRecognition()
209 Return<int32_t> SoundTriggerHalImpl::stopRecognition(SoundModelHandle modelHandle) { in stopRecognition() argument
219 client = mClients.valueFor(modelHandle); in stopRecognition()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.h63 Return<int32_t> unloadSoundModel(int32_t modelHandle) override;
64 Return<int32_t> startRecognition(int32_t modelHandle,
68 Return<int32_t> stopRecognition(int32_t modelHandle) override;
79 Return<int32_t> startRecognition_2_1(int32_t modelHandle,
85 Return<int32_t> getModelState(int32_t modelHandle) override;
DSoundTriggerHw.cpp169 Return<int32_t> SoundTriggerHw::unloadSoundModel(int32_t modelHandle) { in unloadSoundModel() argument
180 client = mClients.valueFor(modelHandle); in unloadSoundModel()
189 mClients.removeItem(modelHandle); in unloadSoundModel()
196 int32_t modelHandle, const V2_0::ISoundTriggerHw::RecognitionConfig& config, in startRecognition() argument
209 client = mClients.valueFor(modelHandle); in startRecognition()
232 Return<int32_t> SoundTriggerHw::stopRecognition(int32_t modelHandle) { in stopRecognition() argument
242 client = mClients.valueFor(modelHandle); in stopRecognition()
644 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config, in startRecognition_2_1() argument
649 return result.first ? startRecognition(modelHandle, config_2_0, callback, cookie) in startRecognition_2_1()
693 Return<int32_t> SoundTriggerHw::getModelState(int32_t modelHandle) { in getModelState() argument
[all …]
/hardware/interfaces/soundtrigger/2.0/
DISoundTriggerHw.hal157 * @return modelHandle A unique handle assigned by the HAL for use by the
163 generates (int32_t retval, SoundModelHandle modelHandle);
185 * @return modelHandle A unique handle assigned by the HAL for use by the
191 generates (int32_t retval, SoundModelHandle modelHandle);
196 * @param modelHandle the handle of the sound model to unload
201 unloadSoundModel(SoundModelHandle modelHandle)
208 * @param modelHandle the handle of the sound model to use for recognition
222 startRecognition(SoundModelHandle modelHandle,
232 * @param modelHandle The handle of the sound model to use for recognition
237 stopRecognition(SoundModelHandle modelHandle)
/hardware/interfaces/soundtrigger/2.1/
DISoundTriggerHw.hal92 * @return modelHandle A unique handle assigned by the HAL for use by the
99 generates (int32_t retval, SoundModelHandle modelHandle);
126 * @return modelHandle A unique handle assigned by the HAL for use by the
133 generates (int32_t retval, SoundModelHandle modelHandle);
144 * @param modelHandle the handle of the sound model to use for recognition
159 startRecognition_2_1(SoundModelHandle modelHandle,
/hardware/interfaces/soundtrigger/2.2/
DISoundTriggerHw.hal32 * @param modelHandle The handle of the sound model whose state is being
41 getModelState(SoundModelHandle modelHandle) generates (int32_t retval);
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp292 hidl_vec<hidl_handle> modelHandle, dataHandle, tmpHandle; in SetUp() local
293 createCacheHandles(mModelCache, AccessMode::WRITE_ONLY, &modelHandle); in SetUp()