Searched refs:SoundModel (Results 1 – 12 of 12) sorted by relevance
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHalHidl.h | 120 class SoundModel : public RefBase { 122 SoundModel(sound_model_handle_t handle, sound_model_callback_t callback, in SoundModel() function 127 ~SoundModel() {} in ~SoundModel() 157 void convertSoundModelToHal(ISoundTriggerHw::SoundModel *halModel, 160 V2_1_ISoundTriggerHw::SoundModel *halModel, 197 sp<SoundModel> getModel(sound_model_handle_t handle); 198 sp<SoundModel> removeModel(sound_model_handle_t handle); 208 DefaultKeyedVector< sound_model_handle_t , sp<SoundModel> > mSoundModels;
|
D | SoundTriggerHalHidl.cpp | 159 sp<SoundModel> model = mSoundModels.valueFor(modelId); in loadSoundModel() 214 V2_2_ISoundTriggerHw::SoundModel halSoundModel; in loadSoundModel() 227 V2_1_ISoundTriggerHw::SoundModel halSoundModel; in loadSoundModel() 240 ISoundTriggerHw::SoundModel halSoundModel; in loadSoundModel() 255 sp<SoundModel> model = new SoundModel(*handle, callback, cookie, halHandle); in loadSoundModel() 273 sp<SoundModel> model = removeModel(handle); in unloadSoundModel() 303 sp<SoundModel> model = getModel(handle); in startRecognition() 359 sp<SoundModel> model = getModel(handle); in stopRecognition() 411 sp<SoundModel> model = getModel(handle); in getModelState() 468 sp<SoundTriggerHalHidl::SoundModel> SoundTriggerHalHidl::getModel(sound_model_handle_t handle) in getModel() [all …]
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerManager.java | 33 import android.hardware.soundtrigger.SoundTrigger.SoundModel; 243 public int loadSoundModel(SoundModel soundModel) { in loadSoundModel() 250 case SoundModel.TYPE_GENERIC_SOUND: in loadSoundModel() 253 case SoundModel.TYPE_KEYPHRASE: in loadSoundModel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 47 import android.hardware.soundtrigger.SoundTrigger.SoundModel; 101 private final TreeMap<UUID, SoundModel> mLoadedModels; 114 mLoadedModels = new TreeMap<UUID, SoundModel>(); in SoundTriggerService() 277 SoundModel oldModel = mLoadedModels.get(soundModel.uuid); in loadGenericSoundModel() 321 SoundModel oldModel = mLoadedModels.get(soundModel.uuid); in loadKeyphraseSoundModel() 358 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in startRecognitionForService() 382 case SoundModel.TYPE_GENERIC_SOUND: in startRecognitionForService() 422 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in stopRecognitionForService() 447 case SoundModel.TYPE_GENERIC_SOUND: in stopRecognitionForService() 486 SoundModel soundModel = mLoadedModels.get(soundModelId.getUuid()); in unloadSoundModel() [all …]
|
D | SoundTriggerHelper.java | 34 import android.hardware.soundtrigger.SoundTrigger.SoundModel; 239 int startRecognition(SoundModel soundModel, ModelData modelData, in startRecognition() 1247 private int mModelType = SoundModel.TYPE_UNKNOWN; 1257 private SoundModel mSoundModel = null; 1267 return new ModelData(modelId, SoundModel.TYPE_KEYPHRASE); in createKeyphraseModelData() 1271 return new ModelData(modelId, SoundModel.TYPE_GENERIC_SOUND); in createGenericModelData() 1277 return new ModelData(modelId, SoundModel.TYPE_UNKNOWN); in createModelDataOfUnknownType() 1353 synchronized void setSoundModel(SoundModel soundModel) { in setSoundModel() 1357 synchronized SoundModel getSoundModel() { in getSoundModel() 1366 return mModelType == SoundModel.TYPE_KEYPHRASE; in isKeyphraseModel() [all …]
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 220 public static class SoundModel { class in SoundTrigger 248 public SoundModel(UUID uuid, UUID vendorUuid, int type, byte[] data) { in SoundModel() method in SoundTrigger.SoundModel 272 if (!(obj instanceof SoundModel)) in equals() 274 SoundModel other = (SoundModel) obj; in equals() 428 public static class KeyphraseSoundModel extends SoundModel implements Parcelable { 518 public static class GenericSoundModel extends SoundModel implements Parcelable {
|
D | SoundTriggerModule.java | 83 public native int loadSoundModel(SoundTrigger.SoundModel model, int[] soundModelHandle); in loadSoundModel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 156 values.put(SoundModelContract.KEY_TYPE, SoundTrigger.SoundModel.TYPE_KEYPHRASE); in updateKeyphraseSoundModel() 225 if (type != SoundTrigger.SoundModel.TYPE_KEYPHRASE) { in getKeyphraseSoundModel()
|
/frameworks/base/config/ |
D | preloaded-classes | 1660 android.hardware.soundtrigger.SoundTrigger$SoundModel
|
D | hiddenapi-greylist-max-o.txt | 26717 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel; 26718 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;-><init>(Ljava/util/UUID;Ljava/util/UUID;I[B… 26719 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;->type:I 26720 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;->TYPE_GENERIC_SOUND:I 26721 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;->TYPE_KEYPHRASE:I 26722 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;->TYPE_UNKNOWN:I
|
D | boot-image-profile.txt | 7584 HPLandroid/hardware/soundtrigger/SoundTrigger$SoundModel;->equals(Ljava/lang/Object;)Z 33928 Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;
|
/frameworks/base/services/ |
D | art-profile | 13054 …undTriggerHelper$ModelData;->getSoundModel()Landroid/hardware/soundtrigger/SoundTrigger$SoundModel; 13066 …ndTriggerHelper$ModelData;->setSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;)V 13088 …rHelper;->startRecognition(Landroid/hardware/soundtrigger/SoundTrigger$SoundModel;Lcom/android/ser…
|