Home
last modified time | relevance | path

Searched refs:KeyphraseSoundModel (Results 1 – 11 of 11) 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()
158 private boolean verifyKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in verifyKeyphraseSoundModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java26 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
91 public boolean updateKeyphraseSoundModel(KeyphraseSoundModel soundModel) { in updateKeyphraseSoundModel()
125 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle, in deleteKeyphraseSoundModel()
149 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
215 KeyphraseSoundModel model = new KeyphraseSoundModel( in getKeyphraseSoundModel()
DSoundTriggerHelper.java28 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
80 private KeyphraseSoundModel mCurrentSoundModel = null;
119 KeyphraseSoundModel soundModel, in startRecognition()
DVoiceInteractionManagerService.java35 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
629 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel()
646 public int updateKeyphraseSoundModel(KeyphraseSoundModel model) { in updateKeyphraseSoundModel()
717 KeyphraseSoundModel model = in isEnrolledForKeyphrase()
764 KeyphraseSoundModel soundModel = in startRecognition()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java378 public static class KeyphraseSoundModel extends SoundModel implements Parcelable { class in SoundTrigger
382 public KeyphraseSoundModel( in KeyphraseSoundModel() method in SoundTrigger.KeyphraseSoundModel
388 public static final Parcelable.Creator<KeyphraseSoundModel> CREATOR
389 = new Parcelable.Creator<KeyphraseSoundModel>() {
390 public KeyphraseSoundModel createFromParcel(Parcel in) {
391 return KeyphraseSoundModel.fromParcel(in);
394 public KeyphraseSoundModel[] newArray(int size) {
395 return new KeyphraseSoundModel[size];
399 private static KeyphraseSoundModel fromParcel(Parcel in) { in fromParcel()
408 return new KeyphraseSoundModel(uuid, vendorUuid, data, keyphrases); in fromParcel()
[all …]
DSoundTrigger.aidl23 parcelable SoundTrigger.KeyphraseSoundModel;
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl51 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel()
55 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-classes973 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel
974 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel$1