Searched refs:Keyphrase (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase; 41 Keyphrase keyphrase = new Keyphrase(1, 0, "en-US", "hello", null); in testKeyphraseParcelUnparcel_noUsers() 49 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_noUsers() 60 Keyphrase keyphrase = new Keyphrase(1, 0, "en-US", "hello", new int[0]); in testKeyphraseParcelUnparcel_zeroUsers() 68 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_zeroUsers() 79 Keyphrase keyphrase = new Keyphrase(1, 0, "en-US", "hello", new int[] {1, 2, 3, 4, 5}); in testKeyphraseParcelUnparcel_pos() 87 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_pos() 98 Keyphrase[] keyphrases = new Keyphrase[2]; in testKeyphraseSoundModelParcelUnparcel_noData() 99 keyphrases[0] = new Keyphrase(1, 0, "en-US", "hello", new int[] {0}); in testKeyphraseSoundModelParcelUnparcel_noData() 100 keyphrases[1] = new Keyphrase(2, 0, "fr-FR", "there", new int[] {1, 2}); in testKeyphraseSoundModelParcelUnparcel_noData() [all …]
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 24 import android.hardware.soundtrigger.SoundTrigger.Keyphrase; 59 Keyphrase kp = new Keyphrase(KEYPHRASE_ID, RECOGNITION_MODES, BCP47_LOCALE, TEXT, in onEnrollButtonClicked() 66 new Keyphrase[] { kp }); in onEnrollButtonClicked()
|
D | EnrollmentUtil.java | 23 import android.hardware.soundtrigger.SoundTrigger.Keyphrase; 174 Keyphrase keyphrase = soundModel.keyphrases[0]; in verifyKeyphraseSoundModel()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 265 public static class Keyphrase implements Parcelable { class in SoundTrigger 282 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { in Keyphrase() method in SoundTrigger.Keyphrase 290 public static final Parcelable.Creator<Keyphrase> CREATOR 291 = new Parcelable.Creator<Keyphrase>() { 292 public Keyphrase createFromParcel(Parcel in) { 293 return Keyphrase.fromParcel(in); 296 public Keyphrase[] newArray(int size) { 297 return new Keyphrase[size]; 301 private static Keyphrase fromParcel(Parcel in) { in fromParcel() 312 return new Keyphrase(id, recognitionModes, locale, text, users); in fromParcel() [all …]
|
D | SoundTrigger.aidl | 20 parcelable SoundTrigger.Keyphrase;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 25 import android.hardware.soundtrigger.SoundTrigger.Keyphrase; 277 Keyphrase[] keyphrases = new Keyphrase[1]; in getKeyphraseSoundModel() 278 keyphrases[0] = new Keyphrase( in getKeyphraseSoundModel()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerInternal.java | 21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
|
D | SoundTriggerHelper.java | 27 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
|
/frameworks/base/ |
D | preloaded-classes | 97 [Landroid.hardware.soundtrigger.SoundTrigger$Keyphrase; 1283 android.hardware.soundtrigger.SoundTrigger$Keyphrase 1284 android.hardware.soundtrigger.SoundTrigger$Keyphrase$1
|
D | compiled-classes-phone | 1861 android.hardware.soundtrigger.SoundTrigger$Keyphrase 1862 android.hardware.soundtrigger.SoundTrigger$Keyphrase$1
|
/frameworks/base/services/ |
D | profile-classes | 1065 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase; 1066 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase$1;
|