Home
last modified time | relevance | path

Searched refs:Keyphrase (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java21 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/
DTestEnrollmentActivity.java24 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()
DEnrollmentUtil.java23 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
174 Keyphrase keyphrase = soundModel.keyphrases[0]; in verifyKeyphraseSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java300 public static class Keyphrase implements Parcelable { class in SoundTrigger
323 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { in Keyphrase() method in SoundTrigger.Keyphrase
331 public static final @android.annotation.NonNull Parcelable.Creator<Keyphrase> CREATOR
332 = new Parcelable.Creator<Keyphrase>() {
333 public Keyphrase createFromParcel(Parcel in) {
334 return Keyphrase.fromParcel(in);
337 public Keyphrase[] newArray(int size) {
338 return new Keyphrase[size];
342 private static Keyphrase fromParcel(Parcel in) { in fromParcel()
353 return new Keyphrase(id, recognitionModes, locale, text, users); in fromParcel()
[all …]
DSoundTrigger.aidl20 parcelable SoundTrigger.Keyphrase;
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java25 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/
DSoundTriggerInternal.java21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
DSoundTriggerHelper.java27 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
/frameworks/base/config/
Dpreloaded-classes1646 android.hardware.soundtrigger.SoundTrigger$Keyphrase$1
1647 android.hardware.soundtrigger.SoundTrigger$Keyphrase
Dboot-image-profile.txt7560 HSPLandroid/hardware/soundtrigger/SoundTrigger$Keyphrase$1;-><init>()V
7561 HPLandroid/hardware/soundtrigger/SoundTrigger$Keyphrase;->equals(Ljava/lang/Object;)Z
33913 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase$1;
33914 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;
Dhiddenapi-greylist-max-o.txt24930 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;->CREATOR:Landroid/os/Parcelable$Creator;
24931 …e/soundtrigger/SoundTrigger$Keyphrase;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…