Home
last modified time | relevance | path

Searched refs:GenericSoundModel (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java27 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
83 GenericSoundModel new_sound_model() { in new_sound_model()
89 return new GenericSoundModel(modelUuid, mVendorUuid, data); in new_sound_model()
94 GenericSoundModel model = new_sound_model(); in testUpdateGenericSoundModel()
101 GenericSoundModel returnedModel = in testUpdateGenericSoundModel()
108 GenericSoundModel model = new_sound_model(); in testDeleteGenericSoundModel()
119 GenericSoundModel returnedModel = in testDeleteGenericSoundModel()
126 GenericSoundModel model = new_sound_model(); in testStartStopGenericSoundModel()
150 GenericSoundModel model = new_sound_model(); in testTriggerGenericSoundModel()
188 GenericSoundModel model; in testFuzzGenericSoundModel()
[all …]
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerUtil.java21 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
58 public boolean addOrUpdateSoundModel(GenericSoundModel soundModel) { in addOrUpdateSoundModel()
80 public GenericSoundModel getSoundModel(UUID modelId) { in getSoundModel()
81 GenericSoundModel model = null; in getSoundModel()
DSoundTriggerTestService.java26 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
235 private GenericSoundModel createNewSoundModel(ModelInfo modelInfo) { in createNewSoundModel()
236 return new GenericSoundModel(modelInfo.modelUuid, modelInfo.vendorUuid, in createNewSoundModel()
249 GenericSoundModel soundModel = createNewSoundModel(modelInfo); in loadModel()
272 GenericSoundModel soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in unloadModel()
297 GenericSoundModel soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in reloadModel()
302 GenericSoundModel updated = createNewSoundModel(modelInfo); in reloadModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java24 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
85 public boolean updateGenericSoundModel(GenericSoundModel soundModel) { in updateGenericSoundModel()
105 public GenericSoundModel getGenericSoundModel(UUID model_uuid) { in getGenericSoundModel()
123 return new GenericSoundModel(model_uuid, UUID.fromString(vendor_uuid), in getGenericSoundModel()
137 GenericSoundModel soundModel = getGenericSoundModel(model_uuid); in deleteGenericSoundModel()
DSoundTriggerService.java47 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
274 GenericSoundModel model = getSoundModel(parcelUuid); in startRecognition()
312 public SoundTrigger.GenericSoundModel getSoundModel(ParcelUuid soundModelId) { in getSoundModel()
321 SoundTrigger.GenericSoundModel model = mDbHelper.getGenericSoundModel( in getSoundModel()
327 public void updateSoundModel(SoundTrigger.GenericSoundModel soundModel) { in updateSoundModel()
361 public int loadGenericSoundModel(GenericSoundModel soundModel) { in loadGenericSoundModel()
490 (GenericSoundModel) soundModel, callback, config); in startRecognitionForService()
DSoundTriggerHelper.java29 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
181 int startGenericRecognition(UUID modelId, GenericSoundModel soundModel, in startGenericRecognition()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java31 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
104 GenericSoundModel model = in getModel()
166 private SoundTrigger.GenericSoundModel mGenericSoundModel;
171 Model(SoundTrigger.GenericSoundModel soundTriggerModel) { in Model()
189 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, vendorUuid, data, in create()
249 SoundTrigger.GenericSoundModel getGenericSoundModel() { in getGenericSoundModel()
313 (GenericSoundModel) soundModel); in loadSoundModel()
/frameworks/base/core/java/com/android/internal/app/
DISoundTriggerService.aidl33 SoundTrigger.GenericSoundModel getSoundModel(in ParcelUuid soundModelId); in getSoundModel()
35 void updateSoundModel(in SoundTrigger.GenericSoundModel soundModel); in updateSoundModel()
44 int loadGenericSoundModel(in SoundTrigger.GenericSoundModel soundModel); in loadGenericSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.aidl26 parcelable SoundTrigger.GenericSoundModel;
DSoundTrigger.java860 public static class GenericSoundModel extends SoundModel implements Parcelable { class in SoundTrigger
862 … public static final @android.annotation.NonNull Parcelable.Creator<GenericSoundModel> CREATOR
863 = new Parcelable.Creator<GenericSoundModel>() {
864 public GenericSoundModel createFromParcel(Parcel in) {
865 return GenericSoundModel.fromParcel(in);
868 public GenericSoundModel[] newArray(int size) {
869 return new GenericSoundModel[size];
873 public GenericSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in GenericSoundModel() method in SoundTrigger.GenericSoundModel
879 public GenericSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in GenericSoundModel() method in SoundTrigger.GenericSoundModel
889 private static GenericSoundModel fromParcel(Parcel in) { in fromParcel()
[all …]
DSoundTriggerModule.java104 if (model instanceof SoundTrigger.GenericSoundModel) { in loadSoundModel()
106 (SoundTrigger.GenericSoundModel) model); in loadSoundModel()
DConversionUtil.java103 public static SoundModel api2aidlGenericSoundModel(SoundTrigger.GenericSoundModel apiModel) { in api2aidlGenericSoundModel()
/frameworks/base/config/
Dpreloaded-classes2774 android.hardware.soundtrigger.SoundTrigger$GenericSoundModel$1
2775 android.hardware.soundtrigger.SoundTrigger$GenericSoundModel
Dboot-image-profile.txt10007 HSPLandroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;-><init>(Ljava/util/UUID;Ljava/uti…
42921 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel$1;
42922 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
/frameworks/base/services/
Dart-profile30131 …etGenericSoundModel(Ljava/util/UUID;)Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
30133 …DbHelper;->updateGenericSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)Z
30204 …gnition(Ljava/util/UUID;Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;Landroid/har…
30282 …etSoundModel(Landroid/os/ParcelUuid;)Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
30284 …erviceStub;->loadGenericSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)I
30289 …ggerServiceStub;->updateSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)V