/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestService.java | 61 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 …]
|
D | SoundTriggerTestActivity.java | 121 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/ |
D | TestEnrollmentActivity.java | 61 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/ |
D | DatabaseHelper.java | 131 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/ |
D | GenericSoundModelTest.java | 78 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/ |
D | SoundTriggerManager.java | 168 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/ |
D | SoundTriggerService.java | 757 public RemoteSoundTriggerDetectionService(@NonNull UUID modelUuid, in RemoteSoundTriggerDetectionService() argument 760 mPuuid = new ParcelUuid(modelUuid); in RemoteSoundTriggerDetectionService()
|