1de1186d28f0ca7c0b6298edfa8ae497e651ba87 |
|
15-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #22403908: Enable assistant to refuse context sharing New APIs allow the voice interaction service to set/retrieve a filter for which of the show flags are allowed. Change-Id: I588cbe55afee0548ad3afa22d3a7d3bc43cb54a6
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
593334ab70a8341c7d24d71a377ab5617e3f4ab7 |
|
30-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #22124996: VI: Command Request not Active Just forgot to add the request to the active set. Also eradicate a bunch of old cruft that has been replaced by the final APIs, and improve voice interaction test to sit fully on top of the final APIs and have a test for command request. Change-Id: Ieff7a6165ebf2a4c5fb80c1ebd020511a2ae63ee
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
2ee5c368f844bc0f6ce55ff6d5cf3d5604cad5d8 |
|
30-May-2015 |
Dianne Hackborn <hackbod@google.com> |
Update VoiceInteractionService from API review. This may even manage to retain compatibility with existing binaries! (For now.) Change-Id: I3b1386287a6b9b20b57ac2e2444fd6f458837277
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
38a499edf5542fbd0948a02b77ecd84c0d62a846 |
|
19-May-2015 |
Dianne Hackborn <hackbod@google.com> |
Remove screenshot APIs. Change-Id: I1efdb7945bd52f5f43c7103480be3d7dac60018b
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
e70d6535237d2e6f03adcd0bdc11e45ea714dc97 |
|
25-Apr-2015 |
Selim Cinek <cinek@google.com> |
The voice assist may now be launched above the lockscreen A possibility was introduced to launch voice assist over the lockscreen using the left keyguard affordance. Change-Id: Ic4618d24256b65441a50d77d0ef59b0ec99b6ead
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
0b68ff45125e449dd0b4120f530240093aa6253e |
|
02-Apr-2015 |
Jorim Jaggi <jjaggi@google.com> |
Add flag to voice interactor for supporting assist gesture Add an additional flag to the voice-interaction-service declaration so it can indicate whether it is able to handle the assist gesture. Use that information in SystemUI so it only starts the voice interaction session if the service is able to support it. Change-Id: I62b035ce4f4cf06ee6e7eb0ddc4bf5edbc0e6737
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
25e12abc5b8a4aa83cfa150094fd145b777e6e03 |
|
02-Apr-2015 |
Jorim Jaggi <jjaggi@google.com> |
Add ability to start voice interaction session directly Add internal API's for SystemUI to start a voice interaction session directly, without using an intent. Make the assist gesture use that ability, if available. Change-Id: I88ce3c7514714eb45666884847193585a07417a9
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
27eac1d58fe0b7ca3a2e27f5ed64eff232745f45 |
|
17-Mar-2015 |
Dianne Hackborn <hackbod@google.com> |
Add ability to get a screenshot for assist. New flag you pass in to startSession() to say you want it, new callback on VoiceInteractionSession to receive it. Change-Id: I61fdcfdee41a60d46036a2ef16681a9b4181115a
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
ffeecb1bfb9b71f4b62c9ef1fbf7b58a7a63f655 |
|
25-Feb-2015 |
Dianne Hackborn <hackbod@google.com> |
Rework voice interaction session lifecycle. We now have a formal concept of the session being shown and hidden, with it being able to continue running while hidden as long as there is enough RAM. This changes the flow that a VoiceInteractionSession will see: onCreate() is when it is first created, onCreateContentView() is when its UI first needs to be built, onShow() is called each time it needs to be shown and has the arguments given when the show request was made (which has been renamed from startSession to showSession), and then onHide() will be called when the UI is no longer shown. The methods show() and hide() now allow a VoiceInteractionSession subclass to control when it is shown and hidden, working with the shown state being maintained by the system. Change-Id: Ic4a430ec7e8bf76a5441fd0425e2932806170fcc
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
ae6688b09649447e57468b3e7935691bc09ec9b9 |
|
12-Feb-2015 |
Dianne Hackborn <hackbod@google.com> |
Update voice interaction layer for new UI design. Can switch from a pure overlay at the top of the screen, to interactive mode with the voice UI drawing at the bottom and pushing its target activity up like an IME. Add mechanism to get assist data to the voice interaction UI. Add some basic visualization of the assist data, outlining where on the screen we have text. Add a test ACTION_ASSIST handler, which can propagate the assist data it gets to the voice interaction session so you can see what kind of data we are getting from different apps. Change-Id: I18312fe1601d7926d1fb96a817638d60f6263771
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
4e106cedfecd1f6026a79870c2e427853cba7491 |
|
15-Jan-2015 |
Dianne Hackborn <hackbod@google.com> |
Bring back voice interaction APIs. Change-Id: I6039d7c0b188ac342441c56f7d19994b9a80ba17
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
d7c0395d26694c594c3e64b16ab647c971aeb422 |
|
30-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Hide the interaction part of VoiceInteractionService. Also the ability to start voice activities is turned off, though for testing purposes it can be turned back on with a system property. Change-Id: I867704d32c53beeb851ceea9b45c28bf5c01ef61
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
07b4a6f42d75909785f4362181619983e21894eb |
|
23-Aug-2014 |
Sandeep Siddhartha <sansid@google.com> |
Remove the old API for creating hotword detector To be submitted only when the prebuilts have been updated Change-Id: I7136b6a492610e4673f005b2d1682ce90ddb43a5
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
fb30d6936a4793a3369fbf8bf51fa526b8a77272 |
|
24-Aug-2014 |
Sandeep Siddhartha <sansid@google.com> |
Fix conversion of locale from BCP47 language tag Bug: 17187528 Change-Id: Ifcf707c9be736885f3fc79f3c36087ecf9092971
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.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/service/voice/VoiceInteractionService.java
|
e2c020a449cf1de10230d2ac31a083f342aa75c8 |
|
12-Aug-2014 |
Barnaby James <bjames@google.com> |
Fix VoiceInteractionService.isActiveService(). Change-Id: Ifda467bfae0d15fe4ea0fd15ffc0e9612401b218
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.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/service/voice/VoiceInteractionService.java
|
5e33fb057c20b84418d96574abe861e9d05956eb |
|
02-Aug-2014 |
Sandeep Siddhartha <sansid@google.com> |
Stop recognition when shutting down VIS Bug: 16629417 Change-Id: I9c98d7e6d487d3eaff604df401c320f8554589f9
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
f63bc523eadbe01ce0a5ad52868a5dccb3d5f6dd |
|
22-Jul-2014 |
Sandeep Siddhartha <sansid@google.com> |
Make hotword availability a callback This helps us make the list sound models operation an async one, it also helps us with the case where a detector is invalidated, so the client doesn't have to keep checking the state. Synchronize DatabaseHelper methods on its instance so that other VoiceInteractionManagerService calls aren't blocked on db writes/reads. It's still possible for the list operation to be blocked on update and vice-versa Change-Id: Ib8ec4ac5056b62d443038560ce31d0641b4627b0
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
6daae9622672e0b38fc2efed29f68061d749cacc |
|
21-Jul-2014 |
Sandeep Siddhartha <sansid@google.com> |
AlwaysOnHotwordDetector needs to reflect enrollment changes Add a callback for when any sound model change happens. This helps the VIS to re-check the availability and either enroll the user, or start/stop recognition. Also shut down any active recognition when VIS dies, or a different hotword detector instance is obtained from VIS. Change-Id: I03f94e78c6ee307afe822a84aebc7e74c64de7b4
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
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/android/service/voice/VoiceInteractionService.java
|
fee756ff91ab4d8f0e09ddb050d22d88ebb66ae7 |
|
17-Jul-2014 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #16330060: Inform ActivityManager about WebView... ...state changes. Add a new API to tell the activity manager about a new dependency one process has on another package. Start using it already for when apps is Context.createPackageContext() to load code from another app. Also do some work on getting the monitoring of proc/uid states in shape so it can be used by unundled code, along with an AppImportanceMonitor class for doing so. Some small fixes and additions to VoiceInteractionService. Improve handling of unaccounted/overcounted battery use so that they aren't shown to the user unless they are significant. Change-Id: I22dd79a73f4e70103d3f8964494aebc8a31f971c
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.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/service/voice/VoiceInteractionService.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/service/voice/VoiceInteractionService.java
|
f7a13df899c30ddddbbf63274bc28174f6391f29 |
|
11-Jun-2014 |
Sandeep Siddhartha <sansid@google.com> |
Add SoundTriggerManager to handle calls to SoundTrigger - We are abstracting out the nitty-gritty details of the code that talks to the SoundTrigger APIs as the VoiceInteractionService is mostly interested in the "voice" related aspects of the sound trigger APIs Change-Id: I4a450033040280f2e67d06785d2b05a0e5cdc192
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
22968950b814e66a6aa119ea92ae648884cbe0d9 |
|
10-Jun-2014 |
Sandeep Siddhartha <sansid@google.com> |
Activity for enrollment - Make the enrollment attrs public - Add a dummy activity for enrollment - Manually tested that the meta-data is correctly read by the VoiceInteractionService when the enrollment application is under /system/priv-app Change-Id: I36676ed8ffc919109031c26bac047d0c51a77e13
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
e912ac012e7146e9b0e8589bd9d88790e55372e3 |
|
04-Jun-2014 |
Sandeep Siddhartha <sansid@google.com> |
Add capability APIs to VoiceInteractionService The only API we currently need is one that tells us whether the system is capable of running hotword detection for a given keyphrase+locale on the hardware. Also adds support in the KeyphraseEnrollmentInfo to provide an intent for enrollment. Change-Id: Iec102a4a94e7b161087b8d19785d761346e927c2
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
e5706787599f8397e19e66afa70753ba350cc91b |
|
30-May-2014 |
Sandeep Siddhartha <sansid@google.com> |
Initial support for reading the enrollment metadata - Defines schema for enrollment apps to publish metadata for the search keyphrase. This metadata consists of an ID, a user visible keyphrase, and the target package to handle the keyphrase, when it triggers. - Reads the metadata and populates the KeyphraseInfo object for access via the VoiceInteractionService - Adds permission and intent action for the enrollment app. The enrollment app needs to be a system app protected with the MANAGE_VOICE_KEYPHRASES permission and the activity performing the enrollment needs to handle the ACTION_MANAGE_VOICE_KEYPHRASES - The keyphrase info currently stores an ID - that's for internal bookkeeping only, a keyphrase text - that's used by the public APIs, and a list of supported locales, which isn't exposed but is used while indicating if hardware hotword is available for a particular keyphrase in a language or not. Change-Id: Ibe6c52a5a3eecfd74c4a8382713a35eb88d38df9
/frameworks/base/core/java/android/service/voice/VoiceInteractionService.java
|
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/android/service/voice/VoiceInteractionService.java
|
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/android/service/voice/VoiceInteractionService.java
|
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/android/service/voice/VoiceInteractionService.java
|