ba08b7945a66434a76840062b2dac1275adc4844 |
|
09-Jun-2017 |
Chris Thornton <thorntonc@google.com> |
Add SoundTriggerManager APIs to use a PendingIntent to get callbacks. Test: APIs exercised using a special test app not in this CL. Change-Id: I99425d1e67a778513e6c75e7d595c072032aa2ab
/frameworks/base/media/java/android/media/soundtrigger/SoundTriggerManager.java
|
d86b8fea43ebb6e5c31691b44d8ceb0d8d3c9072 |
|
03-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Annotate @SystemApi with required permissions. Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
/frameworks/base/media/java/android/media/soundtrigger/SoundTriggerManager.java
|
c53962d4ede82a03b62f0c8bb86bd0da090a15eb |
|
02-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
When system server goes down, crash apps more. Apps making calls into the system server may end up persisting internal state or making security decisions based on the perceived success or failure of a call, or the default values returned. The reality is that if the system process just died, init will be along shortly to kill all running apps, so we should have no problem rethrowing the RemoteException as a RuntimeException. Bug: 27364859 Change-Id: Ife0bcb079636c88d54c44d17eb580409fd79028b
/frameworks/base/media/java/android/media/soundtrigger/SoundTriggerManager.java
|
6a8fd7935fdc67b1cd43a11dc65abd4f8e4152ce |
|
28-Jan-2016 |
Arunesh Mishra <arunesh@google.com> |
SoundTrigger system API changes. This CL exposes the SoundTriggerManager and SoundTriggerDetector as a system/privileged API. The API is protected by a system/priv permission and also via SEpolicy rules. Bug: 22860713 Change-Id: I07ee3548ef0d5c584570004645267f5021dfa84c
/frameworks/base/media/java/android/media/soundtrigger/SoundTriggerManager.java
|
a772e5fc062c8de48cb9c1d61755110f6b2e189b |
|
25-Jan-2016 |
Arunesh Mishra <arunesh@google.com> |
SoundTrigger API improvements. This CL implements the SoundTrigger API improvements as given in b/22860713. Only the java-level parts are implemented in this CL. Key changes include: * Addition of a SoundTriggerManager/SoundTriggerDetector system API to manage the sound-trigger based sound models. * Addition of a SoundTriggerService service that manages all sound models including voice (keyphrase) and sound-trigger based models. * Includes logic to write sound-trigger based models to the database. * VoiceInteractionManager service now uses SoundTriggerService instead of SoundTriggerHelper. Bug: 22860713 Change-Id: I7b5c0ed80702527c4460372efeb5e542d3693a69
/frameworks/base/media/java/android/media/soundtrigger/SoundTriggerManager.java
|