/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.h | 51 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()
|
D | SoundTriggerHw.cpp | 141 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/ |
D | SoundTriggerHalImpl.h | 83 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()
|
D | SoundTriggerHalImpl.cpp | 148 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.3/default/ |
D | SoundTriggerHw.h | 63 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; 89 Return<int32_t> startRecognition_2_3(int32_t modelHandle, 91 Return<int32_t> setParameter(V2_0::SoundModelHandle modelHandle, ModelParameter modelParam, 93 Return<void> getParameter(V2_0::SoundModelHandle modelHandle, ModelParameter modelParam, 95 Return<void> queryParameter(V2_0::SoundModelHandle modelHandle, ModelParameter modelParam,
|
D | SoundTriggerHw.cpp | 170 Return<int32_t> SoundTriggerHw::unloadSoundModel(int32_t modelHandle) { in unloadSoundModel() argument 181 client = mClients.valueFor(modelHandle); in unloadSoundModel() 190 mClients.removeItem(modelHandle); in unloadSoundModel() 197 int32_t modelHandle, const V2_0::ISoundTriggerHw::RecognitionConfig& config, in startRecognition() argument 210 client = mClients.valueFor(modelHandle); in startRecognition() 233 Return<int32_t> SoundTriggerHw::stopRecognition(int32_t modelHandle) { in stopRecognition() argument 243 client = mClients.valueFor(modelHandle); in stopRecognition() 700 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config, in startRecognition_2_1() argument 705 return result.first ? startRecognition(modelHandle, config_2_0, callback, cookie) in startRecognition_2_1() 750 Return<int32_t> SoundTriggerHw::getModelState(int32_t modelHandle) { in getModelState() argument [all …]
|
/hardware/interfaces/soundtrigger/2.3/ |
D | ISoundTriggerHw.hal | 51 * @param modelHandle the handle of the sound model to use for recognition 60 startRecognition_2_3(SoundModelHandle modelHandle, RecognitionConfig config) 70 * @param modelHandle The sound model handle indicating which model to modify parameters 80 setParameter(SoundModelHandle modelHandle, ModelParameter modelParam, int32_t value) 91 * @param modelHandle The sound model associated with given modelParam 102 getParameter(SoundModelHandle modelHandle, ModelParameter modelParam) 109 * modelHandle for use with getParameter and setParameter APIs. 111 * @param modelHandle The sound model handle indicating which model to query 122 queryParameter(SoundModelHandle modelHandle, ModelParameter modelParam)
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.h | 63 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;
|
D | SoundTriggerHw.cpp | 169 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/ |
D | ISoundTriggerHw.hal | 157 * @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.2/ |
D | ISoundTriggerHw.hal | 32 * @param modelHandle The handle of the sound model whose state is being 41 getModelState(SoundModelHandle modelHandle) generates (int32_t retval);
|
/hardware/interfaces/soundtrigger/2.1/ |
D | ISoundTriggerHw.hal | 92 * @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/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 257 std::vector<ndk::ScopedFileDescriptor> modelHandle, dataHandle, tmpHandle; in SetUp() local 258 createCacheFds(mModelCache, AccessMode::WRITE_ONLY, &modelHandle); in SetUp()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 257 hidl_vec<hidl_handle> modelHandle, dataHandle, tmpHandle; in SetUp() local 258 createCacheHandles(mModelCache, AccessMode::WRITE_ONLY, &modelHandle); in SetUp()
|