History log of /frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d2d21e3a9f76466cec38ceaa70165947b54caf4a 05-Jun-2017 Sungsoo <sungsoo@google.com> Build fix: MediaSessionCompatTest

Test: ./gradlew support-media-compat:connectedCheck
Change-Id: Ibb7fee7ba9002fb416a785dc0edd49d5dd4dedf5
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
ff6758a6714fe3a981461881517f9a895f9c0ff0 05-Jun-2017 Sungsoo Lim <sungsoo@google.com> Merge "MediaSessionCompat: Do not reset callback if it is already set" into oc-support-26.0-dev
be3bec76ad7ad0248c35549a89e2a3cf27348f65 01-Jun-2017 Sungsoo <sungsoo@google.com> MediaSessionCompat: Do not reset callback if it is already set

Bug: 38300682
Test: ./gradlew support-media-compat:connectedCheck
Change-Id: I71f0288b4a32aef948f7f702df0ef68a8b1e6145
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
cb260957c9d1ae952a799ef0965567395f26468e 25-May-2017 Jaewan Kim <jaewan@google.com> Ensure that the play/pause key double tap is only handled once

When the short-press and then long-press of play/pause happens within
the double tap timeout, the callback is called twice. (Initial down of
the long-press triggers onSkipToNext() and further down events will
call onPlay()/onPause().)

Bug: 36575213
Test: Run MediaSessionCompat test and manual test (The issue doesn't
happen any more.)
Change-Id: I3569623f0149d1120c0360522f69bfb9ea4543f9
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
659590d808ad9dad32de016c24a93b9916beb5d4 22-May-2017 Jaewan Kim <jaewan@google.com> Consider double tap of the play/pause as the next track

See following docucument for the details
https://source.android.com/devices/accessories/headset/usb-headset-spec#control-function-mapping

Bug: 36575213
Test: Run test (./gradlew :support-media-compat:connectedCheck),
and manual tests with the Support4Demos. (Tried double tap, single
short-press, and long-press)
Change-Id: Ic84cf206324866a773d75035e247076f6adb23c1
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
3e56add914cabbd57eec8c714f5e125ed35b3e22 12-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add setShuffleMode and deprecate setShuffleModeEnabled" into oc-dev
74198cdcc6e4f53c7c6586d99ff727886de2441a 28-Mar-2017 Hyundo Moon <hdmoon@google.com> Add setShuffleMode and deprecate setShuffleModeEnabled

To support multiple shuffle modes, this CL deprecates existing
shuffle-related methods and adds new methods which uses primitive
int as the type of shuffle modes.

Bug: 36525228
Test: Run MediaSession/ControllerCompatTest in API 19-24, Android O
Change-Id: Ib76b3dfd3de84090f6f0d3a6ed2a583c33b5a78b
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
7792ab6765c39e38bf003c32f282ba5edfd6936d 18-Apr-2017 Donghyun Cho <donghyun@google.com> MediaSessionCompat: Clone artwork bitmaps only for RemoteControlClient

Previous implementation deep-copies artwork bitmaps and sent them to
both MediaControllerCompat and RemoteController. However, if
MediaControllerCompat tries to keep the reference of the copied bitmap,
the bitmap will be recycled by RemoteControlClient during the next
setMetadata(). This change sends copied bitmaps only to RemoteController
to prevent the controller's bitmap from being recycled.

Bug: 34332724
Test: ./support-media-compat:connectedCheck on API 18, 22, and O
Change-Id: I981f2725417ab738960528274597fd704170767b
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
b8c715529628c581fbf78aa46f41c595d7af1889 13-Mar-2017 Donghyun Cho <donghyun@google.com> Merge "MediaSessionCompat: Add caption related APIs" into nyc-support-25.4-dev
am: 1c5762b835

Change-Id: Ife36a32263a49a73e56fbe4ac29df3e159731fc8
e90c068c82ce62a0069c4e88f6b26e92468231d6 28-Feb-2017 Donghyun Cho <donghyun@google.com> MediaSessionCompat: Add caption related APIs

Bug: 34088154
Test: ./gradlew support-media-compat:connectedCheck
Change-Id: I0e1d3c11af5059e85b60995f99e6c535414fed2f
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
b8adc9a8c558abc70c3ec0694c88c7e7ab4a9d86 20-Feb-2017 Sungsoo <sungsoo@google.com> MediaSessionCompat: Add extra binder into Token

We added an extra binder to support newly added methods after API
level 21. However this requires some time to get the extra binder,
so some methods could failed if they are called before getting the
extra binder. By sharing the extra binder via Token, this CL removes
such time delay.

Bug: 31248021
Test: Passed MediaSessionCompatTest and MediaControllerCompatTest
Change-Id: I8bfeb8585d6f43d6aed55f5dda4f894a7c69193f
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
165261b30365e1186c7a754d946b87ca65e52b83 20-Feb-2017 Sungsoo <sungsoo@google.com> MediaSessionCompat: Add extra binder into Token

We added an extra binder to support newly added methods after API
level 21. However this requires some time to get the extra binder,
so some methods could failed if they are called before getting the
extra binder. By sharing the extra binder via Token, this CL removes
such time delay.

Bug: 31248021
Test: Passed MediaSessionCompatTest and MediaControllerCompatTest
Change-Id: I8bfeb8585d6f43d6aed55f5dda4f894a7c69193f
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
7f1aee842e14fc620b812f91b7bd2993a5cc6723 22-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Suppress failing MediaSessionCompat tests""
0bc8421d5d3add77a707f655d8aaad90ff5a8fb1 22-Feb-2017 Alan Viverette <alanv@google.com> Revert "Suppress failing MediaSessionCompat tests"

This reverts commit 7f4bf092fc9458c7bae09d92ff46cff42dd060df.

Change-Id: I83ff0045a9f637287c90a1628e83bd83090f2644
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
57f31731177aeddd411013d70a9b37f535873f10 21-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Suppress failing MediaSessionCompat tests"
7f4bf092fc9458c7bae09d92ff46cff42dd060df 21-Feb-2017 Alan Viverette <alanv@google.com> Suppress failing MediaSessionCompat tests

Bug: 35620019
Test: n/a
Change-Id: I685281a06c8b4cd81aba8ad9cb6b2c4c3bd71cef
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
ff8946204bba8b347e57606933e1b6801eb3dd7f 17-Feb-2017 Donghyun Cho <donghyun@google.com> MediaSessionCompat: Check extra binder is ready only on API 21+

Test: Run a test on API 19 device
Change-Id: If27f1c29c1e5284ec1bdb142ceaa3505c0aacf8e
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
772725582ff149f2f66d362150cc2651d6fc5db2 16-Feb-2017 Donghyun Cho <donghyun@google.com> MediaSessionCompat: Refactor test code

Test: ./gradlew support-media-compat:connectedCheck
Change-Id: I92947b74615b79ccdf1ffce937d9458f2e73c3fc
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
a627c31cf8b6e99db03842dfc6864133bedd0f88 08-Feb-2017 Donghyun Cho <donghyun@google.com> MediaSessionCompat: Use extra binder for setPlaybackState() on API 22+

This change fixes the bug that the error code information disappears after
setting MediaSessionCompat#setPlaybackState() on API 22 and higher devices.
Also, it adds more tests for error code support.

Bug: 34090305
Test: Run PlaybackStateCompatTest with ./gradlew support-media-compat:connectedCheck
Change-Id: I29833b8c49e652fb4a5190fdfdb3a9523ab08c62
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
182e4c394eb936f191cd4f615d6cbadeef6e902d 06-Jan-2017 Hyundo Moon <hdmoon@google.com> Add tests for MediaSession/Controller/PlaybackStateCompat

Bug: 34118311
Test: Tested on API 18~25 devices
Change-Id: Iaea05e59b222721fda9909b7019995fbd9e74c52
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
297c8940c58e9feccdde0f89853a8f5661220c46 02-Jan-2017 Hyundo Moon <hdmoon@google.com> Land CTS tests for MediaBrowser/Service to MediaBrowser/ServiceCompat

Commented out failing tests.

Bug: 34035975
Test: Tested on API 19~25 devices
Change-Id: I98df3e26b0fbae1b1569564203fed97c55cf10ea
(cherry picked from commit b159a0873407cbcc836677a8bf052d09bf1a2dc4)
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java
412e735039236f361a4e5a4f1f078c0cd77db069 16-Dec-2016 Sungsoo <sungsoo@google.com> MediaSessionCompat: Test for checking NPE in setCallback

Bug: 33620353
Change-Id: I87a304e953b879fcac400404f9880e99ec3d77ff
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/MediaSessionCompatTest.java