Home
last modified time | relevance | path

Searched refs:modelUuid (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java61 void addModel(UUID modelUuid, String state); in addModel() argument
62 void setModelState(UUID modelUuid, String state); in setModelState() argument
64 void handleDetection(UUID modelUuid); in handleDetection() argument
157 return modelInfo.modelUuid; in getModelUuidFromIntent()
203 Log.e(TAG, "Loop " + modelInfo.modelUuid); in stopAllRecognitionsAndUnload()
212 mSoundTriggerUtil.deleteSoundModel(modelInfo.modelUuid); in stopAllRecognitionsAndUnload()
225 public UUID modelUuid; field in SoundTriggerTestService.ModelInfo
236 return new GenericSoundModel(modelInfo.modelUuid, modelInfo.vendorUuid, in createNewSoundModel()
240 public synchronized void loadModel(UUID modelUuid) { in loadModel() argument
241 ModelInfo modelInfo = mModelInfoMap.get(modelUuid); in loadModel()
[all …]
DSoundTriggerTestActivity.java121 public void addModel(UUID modelUuid, String name) { in addModel() argument
131 mButtonModelUuidMap.put(button, modelUuid); in addModel()
132 mModelButtons.put(modelUuid, button); in addModel()
133 mModelNames.put(modelUuid, name); in addModel()
148 if (mSelectedModelUuid == null || mSelectedModelUuid.equals(modelUuid)) { in addModel()
155 public void setModelState(UUID modelUuid, String state) { in setModelState() argument
159 String newButtonText = mModelNames.get(modelUuid); in setModelState()
163 mModelButtons.get(modelUuid).setText(newButtonText); in setModelState()
189 public void handleDetection(UUID modelUuid) { in handleDetection() argument
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java61 UUID modelUuid = UUID.randomUUID(); in onEnrollButtonClicked() local
65 KeyphraseSoundModel soundModel = new KeyphraseSoundModel(modelUuid, null, data, in onEnrollButtonClicked()
70 this, "Successfully enrolled, model UUID=" + modelUuid, Toast.LENGTH_SHORT) in onEnrollButtonClicked()
73 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java131 Slog.e(TAG, "Database write failed " + record.modelUuid + ": " in onUpgrade()
135 Slog.e(TAG, "Failed to update V6 record " + record.modelUuid, e); in onUpgrade()
232 String modelUuid = c.getString( in getKeyphraseSoundModel() local
234 if (modelUuid == null) { in getKeyphraseSoundModel()
285 UUID.fromString(modelUuid), vendorUuid, data, keyphrases); in getKeyphraseSoundModel()
329 public final String modelUuid; field in DatabaseHelper.SoundModelRecord
340 modelUuid = c.getString(c.getColumnIndex(SoundModelContract.KEY_MODEL_UUID)); in SoundModelRecord()
392 values.put(SoundModelContract.KEY_MODEL_UUID, modelUuid); in writeToDatabase()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java78 for (UUID modelUuid : loadedModelUuids) { in tearDown()
79 soundTriggerService.deleteSoundModel(new ParcelUuid(modelUuid)); in tearDown()
88 UUID modelUuid = UUID.randomUUID(); in new_sound_model() local
90 return new GenericSoundModel(modelUuid, mVendorUuid, data); in new_sound_model()
204 UUID modelUuid = UUID.randomUUID(); in testFuzzGenericSoundModel() local
206 GenericSoundModel model = new GenericSoundModel(modelUuid, mVendorUuid, data); in testFuzzGenericSoundModel()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java168 public static Model create(UUID modelUuid, UUID vendorUuid, byte[] data) { in create() argument
169 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, in create()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java757 public RemoteSoundTriggerDetectionService(@NonNull UUID modelUuid, in RemoteSoundTriggerDetectionService() argument
760 mPuuid = new ParcelUuid(modelUuid); in RemoteSoundTriggerDetectionService()