Home
last modified time | relevance | path

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

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java28 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
84 GenericSoundModel new_sound_model() { in new_sound_model()
90 return new GenericSoundModel(modelUuid, mVendorUuid, data); in new_sound_model()
95 GenericSoundModel model = new_sound_model(); in testUpdateGenericSoundModel()
102 GenericSoundModel returnedModel = in testUpdateGenericSoundModel()
109 GenericSoundModel model = new_sound_model(); in testDeleteGenericSoundModel()
120 GenericSoundModel returnedModel = in testDeleteGenericSoundModel()
127 GenericSoundModel model = new_sound_model(); in testStartStopGenericSoundModel()
151 GenericSoundModel model = new_sound_model(); in testTriggerGenericSoundModel()
189 GenericSoundModel model; in testFuzzGenericSoundModel()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java25 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
82 public boolean updateGenericSoundModel(GenericSoundModel soundModel) { in updateGenericSoundModel()
100 public GenericSoundModel getGenericSoundModel(UUID model_uuid) { in getGenericSoundModel()
116 return new GenericSoundModel(model_uuid, UUID.fromString(vendor_uuid), in getGenericSoundModel()
130 GenericSoundModel soundModel = getGenericSoundModel(model_uuid); in deleteGenericSoundModel()
DSoundTriggerService.java25 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
130 GenericSoundModel model = getSoundModel(parcelUuid); in startRecognition()
151 public SoundTrigger.GenericSoundModel getSoundModel(ParcelUuid soundModelId) { in getSoundModel()
156 SoundTrigger.GenericSoundModel model = mDbHelper.getGenericSoundModel( in getSoundModel()
162 public void updateSoundModel(SoundTrigger.GenericSoundModel soundModel) { in updateSoundModel()
DSoundTriggerHelper.java26 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
140 int startGenericRecognition(UUID modelId, GenericSoundModel soundModel, in startGenericRecognition()
/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()
270 GenericSoundModel soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in unloadModel()
294 GenericSoundModel soundModel = mSoundTriggerUtil.getSoundModel(modelUuid); in reloadModel()
299 GenericSoundModel updated = createNewSoundModel(modelInfo); in reloadModel()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java144 private SoundTrigger.GenericSoundModel mGenericSoundModel;
149 Model(SoundTrigger.GenericSoundModel soundTriggerModel) { in Model()
158 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, in create()
177 SoundTrigger.GenericSoundModel getGenericSoundModel() { in getGenericSoundModel()
/frameworks/base/core/java/com/android/internal/app/
DISoundTriggerService.aidl30 SoundTrigger.GenericSoundModel getSoundModel(in ParcelUuid soundModelId); in getSoundModel()
32 void updateSoundModel(in SoundTrigger.GenericSoundModel soundModel); in updateSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java472 public static class GenericSoundModel extends SoundModel implements Parcelable { class in SoundTrigger
474 public static final Parcelable.Creator<GenericSoundModel> CREATOR
475 = new Parcelable.Creator<GenericSoundModel>() {
476 public GenericSoundModel createFromParcel(Parcel in) {
477 return GenericSoundModel.fromParcel(in);
480 public GenericSoundModel[] newArray(int size) {
481 return new GenericSoundModel[size];
485 public GenericSoundModel(UUID uuid, UUID vendorUuid, byte[] data) { in GenericSoundModel() method in SoundTrigger.GenericSoundModel
494 private static GenericSoundModel fromParcel(Parcel in) { in fromParcel()
502 return new GenericSoundModel(uuid, vendorUuid, data); in fromParcel()
DSoundTrigger.aidl26 parcelable SoundTrigger.GenericSoundModel;
/frameworks/base/
Dpreloaded-classes1282 android.hardware.soundtrigger.SoundTrigger$GenericSoundModel
Dcompiled-classes-phone1860 android.hardware.soundtrigger.SoundTrigger$GenericSoundModel
/frameworks/base/services/
Dprofile-classes1064 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;