Home
last modified time | relevance | path

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

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DSoundTriggerTest.java21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
44 Keyphrase keyphrase = new Keyphrase(1, 0, in testKeyphraseParcelUnparcel_noUsers()
53 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 …]
DConversionUtilTest.java92 final var apiphrase = new SoundTrigger.Keyphrase(17 /** id **/, in testPhraseRoundTrip()
/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.java579 public static final class Keyphrase implements Parcelable { class in SoundTrigger
602 public Keyphrase(int id, @RecognitionModes int recognitionModes, @NonNull Locale locale, in Keyphrase() method in SoundTrigger.Keyphrase
650 public static final @NonNull Parcelable.Creator<Keyphrase> CREATOR =
651 new Parcelable.Creator<Keyphrase>() {
653 public Keyphrase createFromParcel(@NonNull Parcel in) {
654 return Keyphrase.readFromParcel(in);
658 public Keyphrase[] newArray(int size) {
659 return new Keyphrase[size];
667 public static Keyphrase readFromParcel(@NonNull Parcel in) { in readFromParcel()
678 return new Keyphrase(id, recognitionModes, locale, text, users); in readFromParcel()
[all …]
DSoundTrigger.aidl20 parcelable SoundTrigger.Keyphrase;
DConversionUtil.java137 public static Phrase api2aidlPhrase(SoundTrigger.Keyphrase apiPhrase) { in api2aidlPhrase()
147 public static SoundTrigger.Keyphrase aidl2apiPhrase(Phrase aidlPhrase) { in aidl2apiPhrase()
148 return new SoundTrigger.Keyphrase(aidlPhrase.id, in aidl2apiPhrase()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DIEnrolledModelDb.java19 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
DTestModelEnrollmentDatabase.java20 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
99 final Keyphrase keyphrase = soundModel.getKeyphrases()[0]; in updateKeyphraseSoundModel()
DDatabaseHelper.java25 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
311 Keyphrase[] keyphrases = new Keyphrase[1]; in getValidKeyphraseSoundModelForUser()
312 keyphrases[0] = new Keyphrase( in getValidKeyphraseSoundModelForUser()
DVoiceInteractionManagerService.java1810 for (SoundTrigger.Keyphrase phrase : model.getKeyphrases()) { in getEnrolledKeyphraseMetadata()
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java24 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerInstrumentation.java211 public @NonNull List<SoundTrigger.Keyphrase> getPhrases() { in getPhrases()
267 mPhrases = new SoundTrigger.Keyphrase[phrases.length]; in ModelSession()
290 private final SoundTrigger.Keyphrase[] mPhrases;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java30 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
/frameworks/base/core/api/
Dsystem-current.txt6682 public static final class SoundTrigger.Keyphrase implements android.os.Parcelable {
6683 …ctor public SoundTrigger.Keyphrase(int, int, @NonNull java.util.Locale, @NonNull String, @Nullable…
6690 …method @NonNull public static android.hardware.soundtrigger.SoundTrigger.Keyphrase readFromParcel(…
6692 … final android.os.Parcelable.Creator<android.hardware.soundtrigger.SoundTrigger.Keyphrase> CREATOR;
6705 …til.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[], int);
6706 …ava.util.UUID, @Nullable byte[], @Nullable android.hardware.soundtrigger.SoundTrigger.Keyphrase[]);
6708 method @NonNull public android.hardware.soundtrigger.SoundTrigger.Keyphrase[] getKeyphrases();
Dtest-current.txt2174 …method @NonNull public java.util.List<android.hardware.soundtrigger.SoundTrigger.Keyphrase> getPhr…
/frameworks/base/boot/
Dpreloaded-classes3342 android.hardware.soundtrigger.SoundTrigger$Keyphrase$1
3343 android.hardware.soundtrigger.SoundTrigger$Keyphrase
Dboot-image-profile.txt25729 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase$1;
25730 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;
/frameworks/base/config/
Dpreloaded-classes3346 android.hardware.soundtrigger.SoundTrigger$Keyphrase$1
3347 android.hardware.soundtrigger.SoundTrigger$Keyphrase
Dboot-image-profile.txt35863 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase$1;
35864 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22043 Landroid/hardware/soundtrigger/SoundTrigger$Keyphrase;->CREATOR:Landroid/os/Parcelable$Creator;
22044 …e/soundtrigger/SoundTrigger$Keyphrase;->fromParcel(Landroid/os/Parcel;)Landroid/hardware/soundtrig…