/aosp12/frameworks/base/media/aidl/android/media/soundtrigger_middleware/ |
H A D | ISoundTriggerModule.aidl | 68 void unloadModel(int modelHandle); in unloadModel() 79 void startRecognition(int modelHandle, in RecognitionConfig config); in startRecognition() 86 void stopRecognition(int modelHandle); in stopRecognition() 99 void forceRecognitionEvent(int modelHandle); in forceRecognitionEvent() 113 void setModelParameter(int modelHandle, ModelParameter modelParam, int value); in setModelParameter() 128 int getModelParameter(int modelHandle, ModelParameter modelParam); in getModelParameter() 139 @nullable ModelParameterRange queryModelParameterSupport(int modelHandle, in queryModelParameterSupport()
|
H A D | ISoundTriggerCallback.aidl | 32 void onRecognition(int modelHandle, in RecognitionEvent event); in onRecognition() 38 void onPhraseRecognition(int modelHandle, in PhraseRecognitionEvent event); in onPhraseRecognition()
|
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
H A D | ISoundTriggerHw2.java | 82 void unloadSoundModel(int modelHandle); in unloadSoundModel() 87 void stopRecognition(int modelHandle); in stopRecognition() 99 void startRecognition(int modelHandle, in startRecognition() 106 void getModelState(int modelHandle); in getModelState() 112 int getModelParameter(int modelHandle, int param); in getModelParameter() 117 void setModelParameter(int modelHandle, int param, int value); in setModelParameter() 124 ModelParameterRange queryParameter(int modelHandle, int param); in queryParameter()
|
H A D | SoundTriggerHw2Enforcer.java | 93 public void unloadSoundModel(int modelHandle) { in unloadSoundModel() 105 public void stopRecognition(int modelHandle) { in stopRecognition() 131 public void startRecognition(int modelHandle, RecognitionConfig config, Callback callback, in startRecognition() 147 public void getModelState(int modelHandle) { in getModelState() 156 public int getModelParameter(int modelHandle, int param) { in getModelParameter() 165 public void setModelParameter(int modelHandle, int param, int value) { in setModelParameter() 174 public ModelParameterRange queryParameter(int modelHandle, int param) { in queryParameter()
|
H A D | SoundTriggerMiddlewarePermission.java | 250 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() 258 public void startRecognition(int modelHandle, @NonNull RecognitionConfig config) in startRecognition() 265 public void stopRecognition(int modelHandle) throws RemoteException { in stopRecognition() 272 public void forceRecognitionEvent(int modelHandle) throws RemoteException { in forceRecognitionEvent() 278 public void setModelParameter(int modelHandle, int modelParam, int value) in setModelParameter() 285 public int getModelParameter(int modelHandle, int modelParam) throws RemoteException { in getModelParameter() 292 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) in queryModelParameterSupport() 324 public void onRecognition(int modelHandle, RecognitionEvent event) in onRecognition() 331 public void onPhraseRecognition(int modelHandle, PhraseRecognitionEvent event) in onPhraseRecognition()
|
H A D | SoundTriggerHw2Watchdog.java | 71 public void unloadSoundModel(int modelHandle) { in unloadSoundModel() 78 public void stopRecognition(int modelHandle) { in stopRecognition() 92 public void startRecognition(int modelHandle, RecognitionConfig config, Callback callback, in startRecognition() 100 public void getModelState(int modelHandle) { in getModelState() 107 public int getModelParameter(int modelHandle, int param) { in getModelParameter() 114 public void setModelParameter(int modelHandle, int param, int value) { in setModelParameter() 121 public ModelParameterRange queryParameter(int modelHandle, int param) { in queryParameter()
|
H A D | SoundTriggerMiddlewareValidation.java | 462 public void unloadModel(int modelHandle) { in unloadModel() 491 public void startRecognition(int modelHandle, @NonNull RecognitionConfig config) { in startRecognition() 526 public void stopRecognition(int modelHandle) { in stopRecognition() 556 private void restartIfIntercepted(int modelHandle) { in restartIfIntercepted() 578 public void forceRecognitionEvent(int modelHandle) { in forceRecognitionEvent() 607 public void setModelParameter(int modelHandle, int modelParam, int value) { in setModelParameter() 633 public int getModelParameter(int modelHandle, int modelParam) { in getModelParameter() 660 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) { in queryModelParameterSupport() 767 public void onRecognition(int modelHandle, @NonNull RecognitionEvent event) { in onRecognition() 798 public void onPhraseRecognition(int modelHandle, @NonNull PhraseRecognitionEvent event) { in onPhraseRecognition()
|
H A D | SoundTriggerMiddlewareService.java | 166 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() 173 public void startRecognition(int modelHandle, RecognitionConfig config) in startRecognition() 181 public void stopRecognition(int modelHandle) throws RemoteException { in stopRecognition() 188 public void forceRecognitionEvent(int modelHandle) throws RemoteException { in forceRecognitionEvent() 195 public void setModelParameter(int modelHandle, int modelParam, int value) in setModelParameter() 203 public int getModelParameter(int modelHandle, int modelParam) throws RemoteException { in getModelParameter() 210 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) in queryModelParameterSupport()
|
H A D | SoundTriggerHw2Compat.java | 188 public void unloadSoundModel(int modelHandle) { in unloadSoundModel() 198 public void stopRecognition(int modelHandle) { in stopRecognition() 219 public void startRecognition(int modelHandle, in startRecognition() 236 public void getModelState(int modelHandle) { in getModelState() 248 public int getModelParameter(int modelHandle, int param) { in getModelParameter() 267 public void setModelParameter(int modelHandle, int param, int value) { in setModelParameter() 279 public android.hardware.soundtrigger.V2_3.ModelParameterRange queryParameter(int modelHandle, in queryParameter() 371 private void startRecognition_2_1(int modelHandle, in startRecognition_2_1() 390 private void startRecognition_2_0(int modelHandle, in startRecognition_2_0()
|
H A D | SoundTriggerMiddlewareLogging.java | 177 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() 188 public void startRecognition(int modelHandle, RecognitionConfig config) in startRecognition() 200 public void stopRecognition(int modelHandle) throws RemoteException { in stopRecognition() 211 public void forceRecognitionEvent(int modelHandle) throws RemoteException { in forceRecognitionEvent() 222 public void setModelParameter(int modelHandle, int modelParam, int value) in setModelParameter() 234 public int getModelParameter(int modelHandle, int modelParam) throws RemoteException { in getModelParameter() 246 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) in queryModelParameterSupport() 301 public void onRecognition(int modelHandle, RecognitionEvent event) in onRecognition() 313 public void onPhraseRecognition(int modelHandle, PhraseRecognitionEvent event) in onPhraseRecognition()
|
H A D | SoundTriggerModule.java | 339 public void unloadModel(int modelHandle) { in unloadModel() 353 public void startRecognition(int modelHandle, @NonNull RecognitionConfig config) { in startRecognition() 370 public void stopRecognition(int modelHandle) { in stopRecognition() 377 public void forceRecognitionEvent(int modelHandle) { in forceRecognitionEvent() 385 public void setModelParameter(int modelHandle, int modelParam, int value) { in setModelParameter() 393 public int getModelParameter(int modelHandle, int modelParam) { in getModelParameter() 402 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) { in queryModelParameterSupport()
|
/aosp12/hardware/interfaces/soundtrigger/2.3/default/ |
H A D | SoundTriggerHw.cpp | 170 Return<int32_t> SoundTriggerHw::unloadSoundModel(int32_t modelHandle) { in unloadSoundModel() 197 int32_t modelHandle, const V2_0::ISoundTriggerHw::RecognitionConfig& config, in startRecognition() 233 Return<int32_t> SoundTriggerHw::stopRecognition(int32_t modelHandle) { in stopRecognition() 700 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config, in startRecognition_2_1() 750 Return<int32_t> SoundTriggerHw::getModelState(int32_t modelHandle) { in getModelState() 792 Return<int32_t> SoundTriggerHw::startRecognition_2_3(int32_t modelHandle, in startRecognition_2_3() 827 Return<int32_t> SoundTriggerHw::setParameter(V2_0::SoundModelHandle modelHandle, in setParameter() 846 Return<void> SoundTriggerHw::getParameter(V2_0::SoundModelHandle modelHandle, in getParameter() 870 Return<void> SoundTriggerHw::queryParameter(V2_0::SoundModelHandle modelHandle, in queryParameter()
|
/aosp12/hardware/interfaces/soundtrigger/2.2/default/ |
H A D | SoundTriggerHw.cpp | 169 Return<int32_t> SoundTriggerHw::unloadSoundModel(int32_t modelHandle) { in unloadSoundModel() 196 int32_t modelHandle, const V2_0::ISoundTriggerHw::RecognitionConfig& config, in startRecognition() 232 Return<int32_t> SoundTriggerHw::stopRecognition(int32_t modelHandle) { in stopRecognition() 644 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config, in startRecognition_2_1() 693 Return<int32_t> SoundTriggerHw::getModelState(int32_t modelHandle) { in getModelState()
|
/aosp12/hardware/interfaces/soundtrigger/2.0/default/ |
H A D | SoundTriggerHalImpl.cpp | 148 Return<int32_t> SoundTriggerHalImpl::unloadSoundModel(SoundModelHandle modelHandle) { in unloadSoundModel() 175 SoundModelHandle modelHandle, const ISoundTriggerHw::RecognitionConfig& config) { in startRecognition() 209 Return<int32_t> SoundTriggerHalImpl::stopRecognition(SoundModelHandle modelHandle) { in stopRecognition()
|
/aosp12/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | ConversionUtil.java | 197 int modelHandle, RecognitionEvent aidlEvent) { in aidl2apiRecognitionEvent() 209 int modelHandle, in aidl2apiPhraseRecognitionEvent()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
H A D | SoundTriggerMiddlewareImplTest.java | 1287 int modelHandle = loadGenericModel(module, hwHandle).first; in testParameterSupported() local 1323 int modelHandle = loadGenericModel(module, hwHandle).first; in testParameterNotSupportedOld() local 1344 int modelHandle = loadGenericModel(module, hwHandle).first; in testParameterNotSupported() local 1377 int modelHandle = loadGenericModel(module, hwHandle).first; in testGetParameter() local 1409 int modelHandle = loadGenericModel(module, hwHandle).first; in testSetParameter() local
|
/aosp12/hardware/interfaces/soundtrigger/2.1/default/ |
H A D | SoundTriggerHw.cpp | 141 int32_t modelHandle, const V2_1::ISoundTriggerHw::RecognitionConfig& config) { in startRecognition_2_1()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestIntrospectionControl.cpp | 172 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in isSupportedOpListExpected() local 181 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in prepareForExecution() local 1430 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in TEST_F() local
|
/aosp12/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
H A D | SoundTriggerHelper.java | 1304 private ModelData getModelDataForLocked(int modelHandle) { in getModelDataForLocked()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
H A D | CompilationCachingTests.cpp | 257 std::vector<ndk::ScopedFileDescriptor> modelHandle, dataHandle, tmpHandle; in SetUp() local
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
H A D | CompilationCachingTests.cpp | 260 hidl_vec<hidl_handle> modelHandle, dataHandle, tmpHandle; in SetUp() local
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
H A D | CompilationCachingTests.cpp | 257 hidl_vec<hidl_handle> modelHandle, dataHandle, tmpHandle; in SetUp() local
|