HomeSort by relevance Sort by last modified time
    Searched refs:keyphrases (Results 1 - 7 of 7) sorted by null

  /frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
SoundTriggerTest.java 98 Keyphrase[] keyphrases = new Keyphrase[2]; local
99 keyphrases[0] = new Keyphrase(1, 0, "en-US", "hello", new int[] {0});
100 keyphrases[1] = new Keyphrase(2, 0, "fr-FR", "there", new int[] {1, 2});
102 null, keyphrases);
116 assertTrue(Arrays.equals(keyphrases, unparceled.keyphrases));
121 Keyphrase[] keyphrases = new Keyphrase[2]; local
122 keyphrases[0] = new Keyphrase(1, 0, "en-US", "hello", new int[] {0});
123 keyphrases[1] = new Keyphrase(2, 0, "fr-FR", "there", new int[] {1, 2});
125 new byte[0], keyphrases);
188 Keyphrase[] keyphrases = new Keyphrase[2]; local
    [all...]
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DatabaseHelper.java 99 if (soundModel.keyphrases != null && soundModel.keyphrases.length == 1) {
100 values.put(SoundModelContract.KEY_KEYPHRASE_ID, soundModel.keyphrases[0].id);
102 soundModel.keyphrases[0].recognitionModes);
104 getCommaSeparatedString(soundModel.keyphrases[0].users));
105 values.put(SoundModelContract.KEY_LOCALE, soundModel.keyphrases[0].locale);
106 values.put(SoundModelContract.KEY_HINT_TEXT, soundModel.keyphrases[0].text);
119 * Deletes the sound model and associated keyphrases.
189 // Only add keyphrases meant for the current user.
212 Keyphrase[] keyphrases = new Keyphrase[1] local
    [all...]
VoiceInteractionManagerService.java     [all...]
  /frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
EnrollmentUtil.java 39 * Activity Action: Show activity for managing the keyphrases for hotword detection.
171 if (soundModel.keyphrases == null || soundModel.keyphrases.length != 1) {
175 Keyphrase keyphrase = soundModel.keyphrases[0];
TestEnrollmentActivity.java 111 soundModel.vendorUuid, data, soundModel.keyphrases);
  /frameworks/base/core/java/android/hardware/soundtrigger/
SoundTrigger.java 380 public final Keyphrase[] keyphrases; // keyword phrases in model field in class:SoundTrigger.KeyphraseSoundModel
383 UUID uuid, UUID vendorUuid, byte[] data, Keyphrase[] keyphrases) {
385 this.keyphrases = keyphrases;
407 Keyphrase[] keyphrases = in.createTypedArray(Keyphrase.CREATOR); local
408 return new KeyphraseSoundModel(uuid, vendorUuid, data, keyphrases);
426 dest.writeTypedArray(keyphrases, flags);
431 return "KeyphraseSoundModel [keyphrases=" + Arrays.toString(keyphrases)
440 result = prime * result + Arrays.hashCode(keyphrases);
669 public final KeyphraseRecognitionExtra keyphrases[]; field in class:SoundTrigger.RecognitionConfig
696 KeyphraseRecognitionExtra[] keyphrases = local
    [all...]
  /frameworks/base/core/jni/
android_hardware_SoundTrigger.cpp 86 jfieldID keyphrases; member in struct:__anon22516
94 jfieldID keyphrases; member in struct:__anon22517
589 (jobjectArray)env->GetObjectField(jSoundModel, gKeyphraseSoundModelFields.keyphrases);
719 (jobjectArray)env->GetObjectField(jConfig, gRecognitionConfigFields.keyphrases);
    [all...]

Completed in 98 milliseconds