Searched refs:soundModelId (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerManager.java | 96 public Model getModel(UUID soundModelId) { in getModel() argument 99 new ParcelUuid(soundModelId))); in getModel() 109 public void deleteModel(UUID soundModelId) { in deleteModel() argument 111 mSoundTriggerService.deleteSoundModel(new ParcelUuid(soundModelId)); in deleteModel() 131 public SoundTriggerDetector createSoundTriggerDetector(UUID soundModelId, in createSoundTriggerDetector() argument 133 if (soundModelId == null) { in createSoundTriggerDetector() 137 SoundTriggerDetector oldInstance = mReceiverInstanceMap.get(soundModelId); in createSoundTriggerDetector() 142 soundModelId, callback, handler); in createSoundTriggerDetector() 143 mReceiverInstanceMap.put(soundModelId, newInstance); in createSoundTriggerDetector() 286 public int startRecognition(@NonNull UUID soundModelId, @Nullable Bundle params, in startRecognition() argument [all …]
|
D | SoundTriggerDetector.java | 242 SoundTriggerDetector(ISoundTriggerService soundTriggerService, UUID soundModelId, in SoundTriggerDetector() argument 245 mSoundModelId = soundModelId; in SoundTriggerDetector()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ISoundTriggerService.aidl | 32 SoundTrigger.GenericSoundModel getSoundModel(in ParcelUuid soundModelId); in getSoundModel() argument 36 void deleteSoundModel(in ParcelUuid soundModelId); in deleteSoundModel() argument 38 int startRecognition(in ParcelUuid soundModelId, in IRecognitionStatusCallback callback, in startRecognition() argument 41 int stopRecognition(in ParcelUuid soundModelId, in IRecognitionStatusCallback callback); in stopRecognition() argument 46 int startRecognitionForService(in ParcelUuid soundModelId, in Bundle params, in startRecognitionForService() argument 49 int stopRecognitionForService(in ParcelUuid soundModelId); in stopRecognitionForService() argument 51 int unloadSoundModel(in ParcelUuid soundModelId); in unloadSoundModel() argument 56 int getModelState(in ParcelUuid soundModelId); in getModelState() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 301 public SoundTrigger.GenericSoundModel getSoundModel(ParcelUuid soundModelId) { in getSoundModel() argument 304 Slog.i(TAG, "getSoundModel(): id = " + soundModelId); in getSoundModel() 308 + soundModelId)); in getSoundModel() 311 soundModelId.getUuid()); in getSoundModel() 329 public void deleteSoundModel(ParcelUuid soundModelId) { in deleteSoundModel() argument 332 Slog.i(TAG, "deleteSoundModel(): id = " + soundModelId); in deleteSoundModel() 336 + soundModelId)); in deleteSoundModel() 339 mSoundTriggerHelper.unloadGenericSoundModel(soundModelId.getUuid()); in deleteSoundModel() 340 mDbHelper.deleteGenericSoundModel(soundModelId.getUuid()); in deleteSoundModel() 343 mSoundModelStatTracker.onStop(soundModelId.getUuid()); in deleteSoundModel() [all …]
|