/frameworks/base/media/java/android/media/soundtrigger_middleware/ |
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()
|
D | ISoundTriggerCallback.aidl | 32 void onRecognition(int modelHandle, in RecognitionEvent event); in onRecognition() 38 void onPhraseRecognition(int modelHandle, in PhraseRecognitionEvent event); in onPhraseRecognition()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
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()
|
D | SoundTriggerMiddlewareService.java | 120 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() 125 public void startRecognition(int modelHandle, RecognitionConfig config) in startRecognition() 131 public void stopRecognition(int modelHandle) throws RemoteException { in stopRecognition() 136 public void forceRecognitionEvent(int modelHandle) throws RemoteException { in forceRecognitionEvent() 141 public void setModelParameter(int modelHandle, int modelParam, int value) in setModelParameter() 147 public int getModelParameter(int modelHandle, int modelParam) throws RemoteException { in getModelParameter() 152 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) in queryModelParameterSupport()
|
D | SoundTriggerHw2Enforcer.java | 91 public void unloadSoundModel(int modelHandle) { in unloadSoundModel() 103 public void stopRecognition(int modelHandle) { in stopRecognition() 129 public void startRecognition(int modelHandle, RecognitionConfig config, Callback callback, in startRecognition() 143 public void getModelState(int modelHandle) { in getModelState() 152 public int getModelParameter(int modelHandle, int param) { in getModelParameter() 161 public void setModelParameter(int modelHandle, int param, int value) { in setModelParameter() 170 public ModelParameterRange queryParameter(int modelHandle, int param) { in queryParameter()
|
D | SoundTriggerMiddlewareValidation.java | 481 public void unloadModel(int modelHandle) { in unloadModel() 512 public void startRecognition(int modelHandle, @NonNull RecognitionConfig config) { in startRecognition() 549 public void stopRecognition(int modelHandle) { in stopRecognition() 577 public void forceRecognitionEvent(int modelHandle) { in forceRecognitionEvent() 604 public void setModelParameter(int modelHandle, int modelParam, int value) { in setModelParameter() 632 public int getModelParameter(int modelHandle, int modelParam) { in getModelParameter() 661 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) { in queryModelParameterSupport() 754 public void onRecognition(int modelHandle, @NonNull RecognitionEvent event) { in onRecognition() 778 public void onPhraseRecognition(int modelHandle, @NonNull PhraseRecognitionEvent event) { in onPhraseRecognition()
|
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()
|
D | SoundTriggerMiddlewareLogging.java | 140 public void onRecognition(int modelHandle, RecognitionEvent event) throws RemoteException { in onRecognition() 151 public void onPhraseRecognition(int modelHandle, PhraseRecognitionEvent event) in onPhraseRecognition() 236 public void unloadModel(int modelHandle) throws RemoteException { in unloadModel() 247 public void startRecognition(int modelHandle, RecognitionConfig config) in startRecognition() 259 public void stopRecognition(int modelHandle) throws RemoteException { in stopRecognition() 270 public void forceRecognitionEvent(int modelHandle) throws RemoteException { in forceRecognitionEvent() 281 public void setModelParameter(int modelHandle, int modelParam, int value) in setModelParameter() 293 public int getModelParameter(int modelHandle, int modelParam) throws RemoteException { in getModelParameter() 305 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) in queryModelParameterSupport()
|
D | SoundTriggerModule.java | 328 public void unloadModel(int modelHandle) { in unloadModel() 342 public void startRecognition(int modelHandle, @NonNull RecognitionConfig config) { in startRecognition() 359 public void stopRecognition(int modelHandle) { in stopRecognition() 366 public void forceRecognitionEvent(int modelHandle) { in forceRecognitionEvent() 374 public void setModelParameter(int modelHandle, int modelParam, int value) { in setModelParameter() 382 public int getModelParameter(int modelHandle, int modelParam) { in getModelParameter() 391 public ModelParameterRange queryModelParameterSupport(int modelHandle, int modelParam) { in queryModelParameterSupport()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | ConversionUtil.java | 197 int modelHandle, RecognitionEvent aidlEvent) { in aidl2apiRecognitionEvent() 209 int modelHandle, in aidl2apiPhraseRecognitionEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImplTest.java | 1286 int modelHandle = loadGenericModel(module, hwHandle).first; in testParameterSupported() local 1322 int modelHandle = loadGenericModel(module, hwHandle).first; in testParameterNotSupportedOld() local 1343 int modelHandle = loadGenericModel(module, hwHandle).first; in testParameterNotSupported() local 1376 int modelHandle = loadGenericModel(module, hwHandle).first; in testGetParameter() local 1408 int modelHandle = loadGenericModel(module, hwHandle).first; in testSetParameter() local
|
/frameworks/ml/nn/runtime/test/ |
D | TestIntrospectionControl.cpp | 167 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in isSupportedOpListExpected() local 176 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in prepareForExecution() local 1229 ANeuralNetworksModel* modelHandle = mModel.getHandle(); in TEST_F() local
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 1251 private ModelData getModelDataForLocked(int modelHandle) { in getModelDataForLocked()
|