03fce072cac092923e10a6b5f09fcde333375f9e |
|
24-Sep-2014 |
RoboErik <epastern@google.com> |
Allow null queues to be set in MediaSession Also add some test code for it to OneMedia. bug:17593962 Change-Id: I074e2bb0329d9a97f623e4309bb7dada157b8324
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
b135d06cb83db03b1328b7a82f064de7868fb16f |
|
20-Aug-2014 |
Jeff Brown <jeffbrown@google.com> |
Remove incomplete media router API. (DO NOT MERGE) Change-Id: I310fadafb5a6b8190a32e5d87f3e1823c87bcef7
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
45f7ee8201efbda59b57b1fe637a1b9ffef25bb6 |
|
05-Jun-2014 |
Daniel Sandler <dsandler@android.com> |
Add metadata and notifications to OneMedia This wires up a notification and some basic metadata for testing in OneMedia. Change-Id: I0f2e922536c85caa63f66dae7deb55ffe94fe231
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
477d1197c3c25c01ace7ea4494437c23720a2eb3 |
|
06-Aug-2014 |
RoboErik <epastern@google.com> |
Combine MediaSession Callback and TransportControlsCallback This combines them into a single Callback class and adds default handling to media buttons to check the available actions and call one of the other methods if appropriate. Change-Id: If9897d8cf6d8d8046aa85a646c22382f1db1461b
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
8b4bffcac996b4083e720310a09d315ca1c4a000 |
|
10-Jul-2014 |
RoboErik <epastern@google.com> |
Make MediaSession and MediaController constructors public This makes the MediaSession/Controller constructors public and registers with the system behind the scenes. This also adds a bit about needing to call setActive(true) to start receiving commands in MediaSession's docs. Change-Id: If882d229b54c36bf0831aca0255052dda667a2bc
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
c785a78fb483fe54012175c53d3758b2412de7b9 |
|
14-Jul-2014 |
RoboErik <epastern@google.com> |
Make PlaybackState immutable with a builder bug:15862252 Change-Id: I51f2e466bd2c41bbe80d20aa9785126a7ac6ab3f
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
ff0215dd64e5fd4ff366930747e7943fcc40c4ab |
|
14-Jul-2014 |
Jeff Brown <jeffbrown@google.com> |
Update media session test application for new media router. Change-Id: I3c19e008d211099b4d7320e3f195850cfb4dd927
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
b2e93efcac593f5f27722219b274bd0fa5c1b0fe |
|
11-Jul-2014 |
Erik Pasternak <roboerik@android.com> |
Revert "Make PlaybackState immutable with a builder" Will resubmit tomorrow for Build Breakage Friday as this change needs new SDK prebuilts for unbundled app branches. This reverts commit aa746b27610680a2c0fbdf7d81a6455c4597f05e. Change-Id: I28ba7e1b09234a5eb1b725aed043b9de98e1bc16
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
5a4e01114361b7dad4fc5465b4da00fd444fc098 |
|
09-Jul-2014 |
RoboErik <epastern@google.com> |
Make PlaybackState immutable with a builder bug:15862252 Change-Id: I8944b7753cd6a36a74b0091f71a386f77040c4ab
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
dba34ba35cd2042d9a8fecfda56e2abe7a680bad |
|
25-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Make MediaSessionToken an inner class of MediaSession. Also add some missing AIDLs to the framework makefile to ensure they are included in the SDK. Change-Id: If85a3091c7591e0b3bbe6cc4bb74aba2284b4f42
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
b69ffd4dc2c8fa85e0064151141ebeee90de471e |
|
30-May-2014 |
RoboErik <epastern@google.com> |
Minimum work to make volume handling work with sessions This is the minimum change to make adjusting volume work with MediaSessions. This only affects adjusting the volume and adjusting the volume with a suggested stream. Adjusting a specific stream or setting a specific stream will still use the same code. This does not fix existing remote volume handling in RCC, which will require a separate change to MediaController. Change-Id: I5b957ff4bece1ee11e2364e1f216e1c08343c983
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
c47fa84b0a6bda48c38ba8822481ce613bafd019 |
|
29-May-2014 |
RoboErik <epastern@google.com> |
Refactor transport controls APIs This merges TransportPerformer into MediaSession + a TransportControlsCallback and makes TransportController into an inner class on MediaController called TransportControls. Also makes the PlaybackState and Metadata part of the session APIs instead of transport controls. Change-Id: I16ad392e6d318abe3119ad5d89656d253af25e16
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
79fa4630bbca7c6c251eea99fe8997e4b45becee |
|
28-May-2014 |
RoboErik <epastern@google.com> |
API changes to sessions Changes requested by API Council review. A second CL will refactor TransportController and TransportPerformer based on feedback. Change-Id: Ie26a7d01d7021232a66c2edf1eb58120437fdfde
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
42ea7eecd149161ed192d3029f0d77d1d08a4aa5 |
|
17-May-2014 |
RoboErik <epastern@google.com> |
Rename session classes to have media prefix, hide routes This renames several of the core session classes to be prefixed with Media. It also adds @hide to all route references for now. Change-Id: Idb42897d490cf24626e4e93ca975b2cb93ec054c
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
a8f951462791a16f47e8c07e552232f31dcefac5 |
|
05-May-2014 |
RoboErik <epastern@google.com> |
Add a class for managing Session priority Priority is given first to the system priorty session, then to active local sessions, then to active remote sessions, then to the rest of the sessions. Ordering within categories is by whoever last performed an action we associate with the user. The stack has methods for getting filtered sets of this priority. This also: -Changes publish to setActive(boolean) -Adds a flag for handling media buttons. -Adds a flag for transport controls instead of enabling once. -Unhides the setFlags API. -Updates the legacy helper to use the flags. Change-Id: I6ebeb27410de1b24149fd6e1785613ac444f0774
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
f1372428f2df781c71c71caa2f6a4db6f847cf10 |
|
23-Apr-2014 |
RoboErik <epastern@google.com> |
Add Session API calls to RCC and AudioManager This makes RCC and MediaButtonReceiver (via AudioManager) also use the new Session APIs in parallel to their existing code. This will allow us to bring up the Session compatibility pieces without disrupting the old behavior and then switch everything over to just using the new APIs when ready. Change-Id: I33ce0a044dea3ec763f2302b91a5e415be27d4a4
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
07c7077c54717dbbf2c401ea32d00fa6df6d77c6 |
|
20-Mar-2014 |
RoboErik <epastern@google.com> |
Add RouteProviders to the new Media APIs Compiles and works with OneMedia. This currently is a rough test of the system for finding, connecting to, and sending messages to routes. This will just connect to the first route it finds when a request to open the route picker is made (and disconnect when another request is made). Change-Id: I5de5521a079471b9e02664be4654c0591dfd9a6d
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
8ae0f34db936a649ddaf9cdd086c224f6514efeb |
|
25-Feb-2014 |
RoboErik <epastern@google.com> |
Adds a TransportController and TransportPerformer to session This makes transport controls a primitive interface on sessions with a way to create the performer, register callbacks, and send commands and updates between controllers and performers. This still needs some cleanup but has been tested with OneMedia. Change-Id: I373d35f7ccc383b8421bd14044457467d80425f3
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
2f5b057da7d05d5d699a272aa24fd7c97cdda820 |
|
21-Feb-2014 |
RoboErik <epastern@google.com> |
Move Session apis to android.media.session This is to make it easier to distinguish the new apis from the old ones. Change-Id: Ic5eaf65e8bd054a844f87b9118c4bb18f30ac8a7
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|
bfa153b64b4e8c2faa39a15e87fc9f0300335f20 |
|
13-Feb-2014 |
RoboErik <epastern@google.com> |
Initial commit for MediaSession test app This app creates a service and UI in separate processes and uses the new MediaSession APIs. This is still a rough work in progress. Change-Id: I9692c95bf2fdbee7255da86dff59044c893e3a1f
/frameworks/base/tests/OneMedia/src/com/android/onemedia/PlayerSession.java
|