Home
last modified time | relevance | path

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

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
101 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noData()
110 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_noData()
124 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData()
133 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_zeroData()
146 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
155 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
168 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
177 KeyphraseSoundModel unparceled = KeyphraseSoundModel.CREATOR.createFromParcel(parcel); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
193 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_largeData()
[all …]
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java25 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
65 KeyphraseSoundModel soundModel = new KeyphraseSoundModel(modelUuid, null, data, in onEnrollButtonClicked()
82 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onUnEnrollButtonClicked()
102 KeyphraseSoundModel soundModel = mEnrollmentUtil.getSoundModel(KEYPHRASE_ID, BCP47_LOCALE); in onReEnrollButtonClicked()
110 KeyphraseSoundModel updated = new KeyphraseSoundModel(soundModel.uuid, in onReEnrollButtonClicked()
DEnrollmentUtil.java24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
89 public boolean addOrUpdateSoundModel(KeyphraseSoundModel soundModel) { in addOrUpdateSoundModel()
115 public KeyphraseSoundModel getSoundModel(int keyphraseId, String bcp47Locale) { in getSoundModel()
121 KeyphraseSoundModel model = null; in getSoundModel()
157 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in verifyKeyphraseSoundModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerInternal.java24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
56 public abstract int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
DSoundTriggerService.java26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
195 public int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
DSoundTriggerHelper.java30 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
169 int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startKeyphraseRecognition()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
148 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
185 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel()
209 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
284 KeyphraseSoundModel model = new KeyphraseSoundModel( in getKeyphraseSoundModel()
DVoiceInteractionManagerService.java36 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
769 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel()
786 public int updateKeyphraseSoundModel(KeyphraseSoundModel model) { in updateKeyphraseSoundModel()
862 KeyphraseSoundModel model = in isEnrolledForKeyphrase()
909 KeyphraseSoundModel soundModel = in startRecognition()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java386 public static class KeyphraseSoundModel extends SoundModel implements Parcelable { class in SoundTrigger
390 public KeyphraseSoundModel( in KeyphraseSoundModel() method in SoundTrigger.KeyphraseSoundModel
396 public static final Parcelable.Creator<KeyphraseSoundModel> CREATOR
397 = new Parcelable.Creator<KeyphraseSoundModel>() {
398 public KeyphraseSoundModel createFromParcel(Parcel in) {
399 return KeyphraseSoundModel.fromParcel(in);
402 public KeyphraseSoundModel[] newArray(int size) {
403 return new KeyphraseSoundModel[size];
407 private static KeyphraseSoundModel fromParcel(Parcel in) { in fromParcel()
416 return new KeyphraseSoundModel(uuid, vendorUuid, data, keyphrases); in fromParcel()
[all …]
DSoundTrigger.aidl25 parcelable SoundTrigger.KeyphraseSoundModel;
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl53 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel()
57 int updateKeyphraseSoundModel(in SoundTrigger.KeyphraseSoundModel model); in updateKeyphraseSoundModel()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java31 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
/frameworks/base/
Dpreloaded-classes1289 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel
1290 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel$1
Dcompiled-classes-phone1867 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel
1868 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel$1
/frameworks/base/services/
Dprofile-classes1071 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel;
1072 Landroid/hardware/soundtrigger/SoundTrigger$KeyphraseSoundModel$1;