Home
last modified time | relevance | path

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

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java20 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
41 Keyphrase keyphrase = new Keyphrase(1, 0, in testKeyphraseParcelUnparcel_noUsers()
50 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_noUsers()
61 Keyphrase keyphrase = new Keyphrase(1, 0, in testKeyphraseParcelUnparcel_zeroUsers()
70 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_zeroUsers()
81 Keyphrase keyphrase = new Keyphrase(1, 0, in testKeyphraseParcelUnparcel_pos()
90 Keyphrase unparceled = Keyphrase.CREATOR.createFromParcel(parcel); in testKeyphraseParcelUnparcel_pos()
101 Keyphrase[] keyphrases = new Keyphrase[2]; in testKeyphraseSoundModelParcelUnparcel_noData()
102 keyphrases[0] = new Keyphrase(1, 0, Locale.forLanguageTag("en-US"), in testKeyphraseSoundModelParcelUnparcel_noData()
104 keyphrases[1] = new Keyphrase(2, 0, Locale.forLanguageTag("fr-FR"), in testKeyphraseSoundModelParcelUnparcel_noData()
[all …]
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
63 Keyphrase kp = new Keyphrase(KEYPHRASE_ID, RECOGNITION_MODES, in onEnrollButtonClicked()
71 new Keyphrase[] { kp }); in onEnrollButtonClicked()
DEnrollmentUtil.java23 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
174 Keyphrase keyphrase = soundModel.getKeyphrases()[0]; in verifyKeyphraseSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java559 public static final class Keyphrase implements Parcelable { class in SoundTrigger
582 public Keyphrase(int id, @RecognitionModes int recognitionModes, @NonNull Locale locale, in Keyphrase() method in SoundTrigger.Keyphrase
630 public static final @NonNull Parcelable.Creator<Keyphrase> CREATOR =
631 new Parcelable.Creator<Keyphrase>() {
633 public Keyphrase createFromParcel(@NonNull Parcel in) {
634 return Keyphrase.readFromParcel(in);
638 public Keyphrase[] newArray(int size) {
639 return new Keyphrase[size];
647 public static Keyphrase readFromParcel(@NonNull Parcel in) { in readFromParcel()
658 return new Keyphrase(id, recognitionModes, locale, text, users); in readFromParcel()
[all …]
DSoundTrigger.aidl20 parcelable SoundTrigger.Keyphrase;
DConversionUtil.java132 public static Phrase api2aidlPhrase(SoundTrigger.Keyphrase apiPhrase) { in api2aidlPhrase()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java25 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
327 Keyphrase[] keyphrases = new Keyphrase[1]; in getValidKeyphraseSoundModelForUser()
328 keyphrases[0] = new Keyphrase( in getValidKeyphraseSoundModelForUser()
DVoiceInteractionManagerService.java1079 for (SoundTrigger.Keyphrase phrase : model.getKeyphrases()) { in getEnrolledKeyphraseMetadata()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerInternal.java23 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
DSoundTriggerHelper.java30 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
/frameworks/base/api/
Dtest-current.txt1504 public static final class SoundTrigger.Keyphrase implements android.os.Parcelable {
1505 …ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable…
1511 …method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(…
1513 … final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR;
1517 …til.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int);
1518 …ava.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]);
1519 method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();
Dsystem-current.txt3585 public static final class SoundTrigger.Keyphrase implements android.os.Parcelable {
3586 …ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable…
3592 …method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(…
3594 … final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR;
3598 …til.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int);
3599 …ava.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]);
3600 method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();
/frameworks/base/non-updatable-api/
Dsystem-current.txt3533 public static final class SoundTrigger.Keyphrase implements android.os.Parcelable {
3534 …ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable…
3540 …method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(…
3542 … final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR;
3546 …til.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int);
3547 …ava.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]);
3548 method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();
/frameworks/base/config/
Dpreloaded-classes2776 android.hardware.soundtrigger.SoundTrigger$Keyphrase$1
2777 android.hardware.soundtrigger.SoundTrigger$Keyphrase
Dboot-image-profile.txt10008 HSPLandroid/hardware/soundtrigger/SoundTrigger$Keyphrase;-><init>(IILjava/util/Locale;Ljava/lang/St…
42923 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase$1;
42924 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;