History log of /frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a54cd533663b9836ec78735078ff11a6ca6a6db0 23-Aug-2014 Sandeep Siddhartha <sansid@google.com> Fix an issue with locale for managing intent

Bug: 17187528
Change-Id: I254d838b6b37934ce81dd1fcd5a047b50d593887
/frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java
dcf3068fcb55f101680e70a8a6f84f3b2c9cb1e3 23-Aug-2014 Sandeep Siddhartha <sansid@google.com> Fix the Locale story in the hotword API

Tighten the API by taking in a locale rather than a string tag.
Tighten the checks when reading the enrollment metadata, bail out if any
attribute is missing or invalid.
Add missing recycle call for a TypedArray

Stop recognition when sound model(s) change. This is needed during
un-enrollment/re-enrollment.

Bug: 17187528
Bug: 17205230
Change-Id: Idb00b51ef8c4ea0a8f8993decea582223181fa3d
/frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java
6df952ec2208714d3206c54987eb388aee799be6 09-Aug-2014 Sandeep Siddhartha <sansid@google.com> Add debugging info to VIS via dump()

Change-Id: I9e8f4536de309256db835b30d94765bfc27d4e80
/frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java
e6cd2476aa9d07df0de0a0081ab66d8401a7e228 11-Jul-2014 Sandeep Siddhartha <sansid@google.com> 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
/frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java
8ecaf5f5cfd18e0436db1a27ccf46a063e9aacd7 11-Jul-2014 Sandeep Siddhartha <sansid@google.com> Hook in startRecogniton call

Add required info to the sound model database: users & recognition modes

Change-Id: I6e12cbc6342a2767c0e3d8328c0a3be899ac9952
/frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java
d7018200312e4e4dc3f67cf33dc90bf7ce585844 11-Jul-2014 Sandeep <sansid@google.com> Always on hotword changes

Add model management API skeleton to VoiceInteractionManagerService
Add an "interactor" for all always-on APIs

- The VoiceInteractionService will get an interactor for the given
keyphrase and locale.
- It can then check the availability and call methods to start and
stop recognition on this interactor.

- Add a common class to deal with SoundTrigger APIs

- Cleanup the keyphrase representation:
We now have separate representations for the keyphrase metadata and
a keyphrase being used for recognition.
This'll also help us to handle custom keyphrases in the
future easily.
This also ensures that for use within the framework,
we rely on the ID of the KeyphraseInfo rather than comparing the
text everytime.

Add a callback for the AlwaysOnHotwordDetector

This callback should be passed in by the VoiceInteractionService and is used to notify it
of recognition events.

Change-Id: I26252298773024f53a10cdd2af4404a4e6d74aae
/frameworks/base/core/java/android/hardware/soundtrigger/KeyphraseEnrollmentInfo.java