Home
last modified time | relevance | path

Searched refs:GenericSoundModel (Results 1 – 14 of 14) 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.java43 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
263 GenericSoundModel model = getSoundModel(parcelUuid); in startRecognition()
301 public SoundTrigger.GenericSoundModel getSoundModel(ParcelUuid soundModelId) { in getSoundModel()
310 SoundTrigger.GenericSoundModel model = mDbHelper.getGenericSoundModel( in getSoundModel()
316 public void updateSoundModel(SoundTrigger.GenericSoundModel soundModel) { in updateSoundModel()
347 public int loadGenericSoundModel(GenericSoundModel soundModel) { in loadGenericSoundModel()
473 (GenericSoundModel) soundModel, callback, config); in startRecognitionForService()
DSoundTriggerHelper.java26 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
142 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/core/java/com/android/internal/app/
DISoundTriggerService.aidl32 SoundTrigger.GenericSoundModel getSoundModel(in ParcelUuid soundModelId); in getSoundModel()
34 void updateSoundModel(in SoundTrigger.GenericSoundModel soundModel); in updateSoundModel()
43 int loadGenericSoundModel(in SoundTrigger.GenericSoundModel soundModel); in loadGenericSoundModel()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java30 import android.hardware.soundtrigger.SoundTrigger.GenericSoundModel;
155 private SoundTrigger.GenericSoundModel mGenericSoundModel;
160 Model(SoundTrigger.GenericSoundModel soundTriggerModel) { in Model()
169 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, in create()
188 SoundTrigger.GenericSoundModel getGenericSoundModel() { in getGenericSoundModel()
252 (GenericSoundModel) soundModel); in loadSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java519 public static class GenericSoundModel extends SoundModel implements Parcelable { class in SoundTrigger
521 … public static final @android.annotation.NonNull Parcelable.Creator<GenericSoundModel> CREATOR
522 = new Parcelable.Creator<GenericSoundModel>() {
523 public GenericSoundModel createFromParcel(Parcel in) {
524 return GenericSoundModel.fromParcel(in);
527 public GenericSoundModel[] newArray(int size) {
528 return new GenericSoundModel[size];
533 public GenericSoundModel(UUID uuid, UUID vendorUuid, byte[] data) { in GenericSoundModel() method in SoundTrigger.GenericSoundModel
542 private static GenericSoundModel fromParcel(Parcel in) { in fromParcel()
550 return new GenericSoundModel(uuid, vendorUuid, data); in fromParcel()
DSoundTrigger.aidl26 parcelable SoundTrigger.GenericSoundModel;
/frameworks/base/config/
Dpreloaded-classes1644 android.hardware.soundtrigger.SoundTrigger$GenericSoundModel$1
1645 android.hardware.soundtrigger.SoundTrigger$GenericSoundModel
Dboot-image-profile.txt7556 HSPLandroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel$1;-><init>()V
7557 …er/SoundTrigger$GenericSoundModel$1;->createFromParcel(Landroid/os/Parcel;)Landroid/hardware/sound…
7558 HPLandroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel$1;->createFromParcel(Landroid/os/Pa…
7559 …rigger/SoundTrigger$GenericSoundModel;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…
33911 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel$1;
33912 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
Dhiddenapi-greylist-max-o.txt24928 Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;->CREATOR:Landroid/os/Parcelable$Crea…
24929 …rigger/SoundTrigger$GenericSoundModel;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…
40626 …SoundTriggerManager$Model;-><init>(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)V
40627 …anager$Model;->getGenericSoundModel()Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
40628 …erManager$Model;->mGenericSoundModel:Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
87054 …etSoundModel(Landroid/os/ParcelUuid;)Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
87056 …Stub$Proxy;->loadGenericSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)I
87065 …vice$Stub$Proxy;->updateSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)V
87082 …etSoundModel(Landroid/os/ParcelUuid;)Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
87084 …gerService;->loadGenericSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)I
[all …]
/frameworks/base/services/
Dart-profile13047 …etGenericSoundModel(Ljava/util/UUID;)Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;
13086 …gnition(Ljava/util/UUID;Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;Landroid/har…
13129 …erviceStub;->loadGenericSoundModel(Landroid/hardware/soundtrigger/SoundTrigger$GenericSoundModel;)I