8cf8f71644643601fe8c3e9538fd00412b1ae8b1 |
|
15-Sep-2014 |
Sandeep Siddhartha <sansid@google.com> |
Fix issues with multiple languages and multi-users For multi-user the issue was looking into the user ID of the current process instead of the active user. The current process was the system process and the call to UserManager was returning a user handle that wasn't of any use while trying to map sound models to a user. For language, the issue was that we were incorrectly just looking up the model based on the keyphrase id, however we should have also taken the enrolled model's locale into account. Explicitly document that for model management the string representation of locales is a BCP47 language tag. Remove debug logging. Bug: 16798166 Bug: 17462570 Bug: 17463511 Change-Id: Ieffb3e218de63f6e7f40af9705dced481a35b0ad
/frameworks/base/core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl
|
452a642430e3f8abfa053e48893dd0edfb12799b |
|
25-Jul-2014 |
Sandeep Siddhartha <sansid@google.com> |
Fix various bugs with model management - Tie the sound model and keyphrase for simplicity We won't support multiple keyphrases in a single model out of the box. The db schema will need to be changed by the OEM wishing to add multiple hotwords. This is because we currently have no way to test the flow and make sure that things work well with multiple keyphrases and also the framework only reads the metadata for one keyphrase. - Make the delete/update operations atomic - Make the flow of data from Enrollment -> VIMS; the large sound model doesn't cross the process boundary any other time. This is achieved by passing they key around, instead of the model themselves. - Add a specific delete operation in DatabaseHelper rather than relying on emptying the keyphrases to delete. Bug: 16555803 Bug: 16516353 Change-Id: I1e0cce137517502a669e431ca7e9f9f755598328
/frameworks/base/core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl
|
055897208d659e9734a82def88be4a806ff55448 |
|
18-Jul-2014 |
Sandeep Siddhartha <sansid@google.com> |
Move sound trigger calls to VoiceInteractionManagerService - This ensures that any data being loaded on the DSP comes from the framework Change-Id: Ie15f0994850ba8f298ca07c49fe0b89e066d9e2b
/frameworks/base/core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl
|
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/com/android/internal/app/IVoiceInteractionManagerService.aidl
|
c03c9167c2d9a1e22fb2b176b00a0524177fb037 |
|
02-May-2014 |
Dianne Hackborn <hackbod@google.com> |
Further work on voice interaction services. This makes VoiceInteractionSession a more first-class concept. Now the flow is that a VoiceInteractionService calls startSession() when it wants to begin a session. This will result in a new VoiceInteractionSession via the VoiceInteractionSessionService containing it, and the session at that point an decide what to do. It can now show UI, and it is what has access to the startVoiceActivity API. Change-Id: Ie2b85b3020ef1206d3f44b335b128d064e8f9935
/frameworks/base/core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl
|
18f0d357f9693fe787a3e3777d8fdf01357a6e3f |
|
26-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Rework some of the voice interaction APIs. On the app side, requests are now composed by subclassing from various types of Request objects. On the service side, starting a voice interaction session involves starting another service that will then manage the session. This leads the service design much more to what we want, where the long-running main service is very tiny and all the heavy-weight transient session work is elsewhere in another process. Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
/frameworks/base/core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl
|
91097de49b0f683b00e26a75dbc0ac6082344137 |
|
05-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Initial implementation of new voice interaction API. This gives a basic working implementation of a persist running service that can start a voice interaction when it wants, with the target activity(s) able to go through the protocol to interact with it. It may even work when the screen is off by putting the activity manager in the correct state to act like the screen is on. Includes a sample app that is a voice interation service and also has an activity it can launch. Now that I have this initial implementation, I think I want to rework some aspects of the API. Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
/frameworks/base/core/java/com/android/internal/app/IVoiceInteractionManagerService.aidl
|