summaryrefslogtreecommitdiffstats
path: root/tests/VoiceEnrollment
diff options
context:
space:
mode:
authorSandeep Siddhartha <sansid@google.com>2014-07-11 12:27:34 -0700
committerSandeep Siddhartha <sansid@google.com>2014-07-16 22:03:03 -0700
commite6cd2476aa9d07df0de0a0081ab66d8401a7e228 (patch)
treee341a89ae40e30626a55d6eb77b7c7cf638bd1b2 /tests/VoiceEnrollment
parent5134478151d8aa3d776f8d4f368dbcdbc501a92a (diff)
downloadframeworks_base-e6cd2476aa9d07df0de0a0081ab66d8401a7e228.zip
frameworks_base-e6cd2476aa9d07df0de0a0081ab66d8401a7e228.tar.gz
frameworks_base-e6cd2476aa9d07df0de0a0081ab66d8401a7e228.tar.bz2
Add recognition modes to the enrollment metadata
This will be used by the Voice interaction service to determine what type of recognition may be run on the DSP. e.g. If the DSP supports voice trigger only for the given keyphrase, the voice interaction service may want to perform user identification at its end. Also support keyphrase metadata for all keyphrases and locales. In case the enrollment app supports open-ended keyphrases, it can leave the keyphrase text to be empty similarly, if the enrollment app supports all locales, it can leave the supported locales attribute to be empty, Change-Id: I782a17a877fc79ed569fa7c3a81697641182590b
Diffstat (limited to 'tests/VoiceEnrollment')
-rw-r--r--tests/VoiceEnrollment/res/xml/enrollment_application.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/VoiceEnrollment/res/xml/enrollment_application.xml b/tests/VoiceEnrollment/res/xml/enrollment_application.xml
index 710a0ac..70a6e0c 100644
--- a/tests/VoiceEnrollment/res/xml/enrollment_application.xml
+++ b/tests/VoiceEnrollment/res/xml/enrollment_application.xml
@@ -20,4 +20,5 @@
<voice-enrollment-application xmlns:android="http://schemas.android.com/apk/res/android"
android:searchKeyphraseId="101"
android:searchKeyphrase="Hello There"
- android:searchKeyphraseSupportedLocales="en-US,en-GB,fr-FR,de-DE" />
+ android:searchKeyphraseSupportedLocales="en-US,en-GB,fr-FR,de-DE"
+ android:searchKeyphraseRecognitionFlags="voiceTrigger" />