Searched refs:modelData (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 148 ModelData modelData = getOrCreateGenericModelDataLocked(modelId); in startGenericRecognition() local 149 if (modelData == null) { in startGenericRecognition() 153 return startRecognition(soundModel, modelData, callback, recognitionConfig, in startGenericRecognition() 211 private int cleanUpExistingKeyphraseModel(ModelData modelData) { in cleanUpExistingKeyphraseModel() argument 214 int status = tryStopAndUnloadLocked(modelData, true /* stop */, true /* unload */); in cleanUpExistingKeyphraseModel() 217 modelData.toString()); in cleanUpExistingKeyphraseModel() 235 int startRecognition(SoundModel soundModel, ModelData modelData, in startRecognition() argument 263 if (modelData.getSoundModel() != null) { in startRecognition() 266 if (modelData.getSoundModel().equals(soundModel) && modelData.isModelStarted()) { in startRecognition() 271 } else if (!modelData.getSoundModel().equals(soundModel)) { in startRecognition() [all …]
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | TestSoundTriggerActivity.java | 145 modelInfo.modelData = new byte[(int) modelDataFile.length()]; in createModelInfoAndWidget() 147 input.read(modelInfo.modelData, 0, modelInfo.modelData.length); in createModelInfoAndWidget() 149 modelInfo.modelData = new byte[1024]; in createModelInfoAndWidget() 150 mRandom.nextBytes(modelInfo.modelData); in createModelInfoAndWidget() 228 modelInfo.modelData); in createNewSoundModel() 357 public byte modelData[]; field in TestSoundTriggerActivity.ModelInfo
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 160 public boolean setModel(final byte[] modelData) { in setModel() argument 165 ByteArrayInputStream input = new ByteArrayInputStream(modelData); in setModel() 326 public boolean setModel(final byte[] modelData) { in setModel() argument 330 ByteArrayInputStream input = new ByteArrayInputStream(modelData); in setModel()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | Predictor.java | 162 public boolean setModel(final byte [] modelData) { in setModel() argument 163 return mPredictor.setModel(modelData); in setModel()
|
D | IBordeauxLearner.java | 31 public boolean setModel(final byte [] modelData); in setModel() argument
|
D | Learning_StochasticLinearRanker.java | 121 public boolean setModel(final byte [] modelData) { in setModel() argument 123 ByteArrayInputStream input = new ByteArrayInputStream(modelData); in setModel()
|
D | Learning_MulticlassPA.java | 56 public boolean setModel(final byte [] modelData) { in setModel() argument
|