Searched refs:KeyphraseSoundModel (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 24 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/ |
D | TestEnrollmentActivity.java | 25 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()
|
D | EnrollmentUtil.java | 24 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/ |
D | DatabaseHelper.java | 26 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()
|
D | SoundTriggerHelper.java | 28 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel; 80 private KeyphraseSoundModel mCurrentSoundModel = null; 119 KeyphraseSoundModel soundModel, in startRecognition()
|
D | VoiceInteractionManagerService.java | 35 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/ |
D | SoundTrigger.java | 378 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 …]
|
D | SoundTrigger.aidl | 23 parcelable SoundTrigger.KeyphraseSoundModel;
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractionManagerService.aidl | 51 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/ |
D | AlwaysOnHotwordDetector.java | 31 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
|
/frameworks/base/ |
D | preloaded-classes | 973 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel 974 android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel$1
|