Commit Graph

5780 Commits

Author SHA1 Message Date
Jean-Michel Trivi
5c77eaffd0 Merge "Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""" into oc-dev am: ac7f215124
am: 17d5e9a028

Change-Id: I55e393d1abf4b2302f90945783791208e658c632
2017-04-20 17:41:51 +00:00
Jean-Michel Trivi
ac7f215124 Merge "Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""" into oc-dev 2017-04-20 15:45:11 +00:00
Jean-Michel Trivi
fa97222e87 Revert "Revert "AudioAttributes: remove static getVolumeControlStream method""
This reverts commit e4a9911b68.

Change-Id: Id260024dbf926a1defc1c5302a86b694e3c7f8c9

Bug: 36724262
2017-04-19 18:37:27 +00:00
Hassan Shojania
0ac8b6684b Merge "MediaPlayer/ModularDrm API review" into oc-dev am: 62a5d29f2d
am: 8f0dce63ce

Change-Id: I96297302eadab2d6a183da98c652b2d84f299bb1
2017-04-18 18:56:40 +00:00
Hassan Shojania
62a5d29f2d Merge "MediaPlayer/ModularDrm API review" into oc-dev 2017-04-18 18:41:29 +00:00
Sungsoo Lim
8c1ac15318 Merge "Revert "MediaSession: Add methods for setting shuffle and repeat modes"" into oc-dev am: ab16ea9094
am: 0432fd9aa5

Change-Id: I22da246b549f88b982c69eaa383747bf747dc3b6
2017-04-18 02:29:39 +00:00
Sungsoo Lim
4729d38876 Merge "Revert "MediaSession: Add methods for queue managements"" into oc-dev am: a44d7cd25b
am: a8647cb547

Change-Id: I3c9d9d7b959173a68cff2bb0468cad7d888c0ccf
2017-04-18 02:23:44 +00:00
Sungsoo Lim
78403edb8c Merge "MediaBrowser: Revert Search API" into oc-dev am: 51d91bff17
am: 09c3bdd1db

Change-Id: I7a5ad65672f473995a4be902a26b926210d2f4e5
2017-04-18 02:19:56 +00:00
jiabin
025d49098c Merge "TIF: Add preview parameter to filter only preview or non-preview channels." into oc-dev am: 4fba6e62a1
am: 02b100c62b

Change-Id: I470c233f8ebe88b0f47e669d534820e0f6e88bbd
2017-04-18 02:04:51 +00:00
Sungsoo Lim
ab16ea9094 Merge "Revert "MediaSession: Add methods for setting shuffle and repeat modes"" into oc-dev 2017-04-18 00:32:58 +00:00
Sungsoo Lim
a44d7cd25b Merge "Revert "MediaSession: Add methods for queue managements"" into oc-dev 2017-04-18 00:31:35 +00:00
Sungsoo Lim
51d91bff17 Merge "MediaBrowser: Revert Search API" into oc-dev 2017-04-18 00:26:26 +00:00
TreeHugger Robot
4fba6e62a1 Merge "TIF: Add preview parameter to filter only preview or non-preview channels." into oc-dev 2017-04-17 23:25:26 +00:00
Hangyu Kuang
f3276baa03 Merge "media: Address API review comments" into oc-dev am: ab312729ce
am: bde6da6f18

Change-Id: Ic22500200177a43874dbbd5a4fb327a8c9a7d25f
2017-04-17 17:20:20 +00:00
Hangyu Kuang
ab312729ce Merge "media: Address API review comments" into oc-dev 2017-04-17 17:04:28 +00:00
Hassan Shojania
f9d3bb7735 MediaPlayer/ModularDrm API review
Bug:  36790516
Bug:  36790220
Bug:  36788024
Bug:  36790117
Test: GTS tests
Change-Id: Id813459ae6b94e25a31736a5dec6a4c0744c4696
2017-04-15 14:26:44 -07:00
Ray Essick
697580cc56 Merge "Rework getMetrics() api per API council" into oc-dev am: abbea1df6b
am: b3934d9043

Change-Id: I0f463f2d04da9a5ecd8ddcad965ce8821b0ee116
2017-04-15 19:08:10 +00:00
Ray Essick
10353e3601 Rework getMetrics() api per API council
Reworking the media metrics getMetrics() calls (currently in MediaCodec,
MediaExtractor, MediaPlayer, and MediaRecorder) to fit new direction
from the API Council.

Drop the MediaMetricsSet that we had in the first round; go back
to a PersistableBundle as the return type. Moves the key definitions
from MediaMetricsSet.MediaCodec to MediaCodec.MetricsConstants

Bug: 37083862
Test: ran the corresponding CTS tests
Change-Id: I7905959ad2109887dd8fd16f0eb2831247abab2a
2017-04-14 17:24:42 -07:00
Hangyu Kuang
5ba5e9182c media: Address API review comments
Change setNextOutputFile to accept File instead of String. Also add new version
of setOutputFile to accept File.

Bug: 36791064
Test: CTS test.
Change-Id: I1a3d574e7cf36acbf181407131bc9dbf114d30de
2017-04-14 13:41:01 -07:00
Dongwon Kang
625df43c5c Merge "TIF: add ASPECT_RATIO_4_3 for Preview/WatchNextPrograms" into oc-dev am: 0cdc7c8874
am: 294176e988

Change-Id: I7332f731883c94f49477258357b3b392b4e21961
2017-04-14 18:27:05 +00:00
Dongwon Kang
0cdc7c8874 Merge "TIF: add ASPECT_RATIO_4_3 for Preview/WatchNextPrograms" into oc-dev 2017-04-14 17:05:31 +00:00
Jeff Tinker
835a765a3a Merge "Deprecate MediaDrm's EVENT_KEY_EXPIRED method" into oc-dev am: 92fc8bdd51
am: a29ecc1a1c

Change-Id: I6cb7def4e72bb154227cba3b50ea09ec7f6b5003
2017-04-14 16:46:07 +00:00
jiabin
cc6759b193 Merge "Add TvProvider methods to block or unblock package, get blocked packages" into oc-dev am: 2ec7decaa5
am: 4f499a0a17

Change-Id: I0622c0f58c5ba2560b5c17c52a613cadcdb24ecc
2017-04-14 16:36:01 +00:00
Dongwon Kang
08b24d1507 Merge "TIF: add helper methods for making a channel browsable." into oc-dev am: b2eb818a7d
am: 3d9ecc264d

Change-Id: I321131835e44d67bb5fab085bc7f36a838dd40e3
2017-04-14 16:12:49 +00:00
TreeHugger Robot
92fc8bdd51 Merge "Deprecate MediaDrm's EVENT_KEY_EXPIRED method" into oc-dev 2017-04-14 00:09:42 +00:00
TreeHugger Robot
2ec7decaa5 Merge "Add TvProvider methods to block or unblock package, get blocked packages" into oc-dev 2017-04-13 23:39:13 +00:00
Dongwon Kang
2566af67e5 TIF: add ASPECT_RATIO_4_3 for Preview/WatchNextPrograms
Test: build
Bug: 37288064
Change-Id: I4750547a2550ef058c5fbdeca344fe5a94fc3fc9
2017-04-13 14:58:45 -07:00
TreeHugger Robot
b2eb818a7d Merge "TIF: add helper methods for making a channel browsable." into oc-dev 2017-04-13 21:23:48 +00:00
jiabin
0b8df1dedb Add TvProvider methods to block or unblock package, get blocked packages
Test: gts-tradefed run gts -m GtsTvTestCases
Bug: 36697660
Change-Id: I6464542820a4b56e3145eecdf28ebd422a567040
2017-04-13 11:35:28 -07:00
jiabin
b899425773 TIF: Add preview parameter to filter only preview or non-preview channels.
Test: runtest --path packages/providers/TvProvider/tests
Bug: 36699790
Change-Id: Idc65ed0e2c21027fbe3033a9abb139c3f7320f54
2017-04-13 10:27:55 -07:00
Chong Zhang
5ad4b40999 Merge changes from topic 'api-review' into oc-dev am: fd89a95f35
am: 847beba350

Change-Id: I7abb72fe43b565e3fb4b31418192418b686100f9
2017-04-13 06:45:04 +00:00
Chong Zhang
35af7a8948 MediaCas: address comments for API reviews am: addc39ec27
am: e0c465fefa

Change-Id: If87e2cd96df1a14b7b0c9d753af35fb779c2fbae
2017-04-13 06:43:36 +00:00
Chong Zhang
e0c465fefa MediaCas: address comments for API reviews
am: addc39ec27

Change-Id: Ib4bb32cc09d9352bdbc4913dfdfdf1e92c11487f
2017-04-13 06:32:28 +00:00
TreeHugger Robot
fd89a95f35 Merge changes from topic 'api-review' into oc-dev
* changes:
  MediaCas: combine openSession methods
  MediaCas: address comments for API reviews
2017-04-13 06:23:51 +00:00
Dongwon Kang
2e7f5ce709 TIF: add helper methods for making a channel browsable.
Test: build and manually tested with a local app.
Bug: 36395259, Bug: 36097352
Change-Id: I512ed6f4da21af01445fdbcd2f200a681c5dde19
2017-04-12 20:55:22 -07:00
Sungsoo
3e5a34ea8e Revert "MediaSession: Add methods for setting shuffle and repeat modes"
This reverts commit ba11085635.

Bug: 36844917, Bug: 36525228, Bug: 36525325
Test: Pass MediaSessionTest and MediaControllerTest
Change-Id: I4805ea58107b5fab8c9f5f0fcaffd1e0e4882ed8
2017-04-13 09:43:23 +09:00
Sungsoo
7066c9e446 Revert "MediaSession: Add methods for queue managements"
This reverts commit 99c1f9f453.

Bug: 36844917, Bug: 36524925
Test: Pass MediaControllerTest
Change-Id: I39425fd5f301e7825d6eab7c01ba94be2185ad01
2017-04-13 09:43:04 +09:00
Sungsoo
10993ea5a3 MediaBrowser: Revert Search API
Bug: 36844917, Bug: 36524926, Bug: 36525667
Test: Pass MediaBrowserTest and MediaBrowserServiceTest
Change-Id: I07db20cc5ea30e8b68faa1dd6fc955a2a2153259
2017-04-13 09:38:59 +09:00
Jeff Tinker
112b98b578 Deprecate MediaDrm's EVENT_KEY_EXPIRED method
It has been replaced by onKeyStatusChange

Test: make offline-sdk-docs

bug: 21661111
Change-Id: I18e6604e9d3db7fb05209ad053b07546e7dd2bbd
2017-04-12 17:26:57 -07:00
Dongwon Kang
02f7b9a1e3 Merge "TIF: add review rating columns to programs" into oc-dev am: bf02434e79
am: 648e007501

Change-Id: Iab298377ad614291e6c194d056a3f070be470ce8
2017-04-12 17:40:44 +00:00
Dongwon Kang
bf02434e79 Merge "TIF: add review rating columns to programs" into oc-dev 2017-04-12 17:12:23 +00:00
Jean-Michel Trivi
ea65fc90f3 Merge "VolumeShaper: update API, use "Millis" instead of "Ms"" into oc-dev am: 170e3e242b
am: 163cdf2fb5

Change-Id: If40faebdb11c9ffe6648b22b43bede52ee6bfeec
2017-04-12 16:00:45 +00:00
Jean-Michel Trivi
170e3e242b Merge "VolumeShaper: update API, use "Millis" instead of "Ms"" into oc-dev 2017-04-12 15:45:58 +00:00
Paul Mclean
72bd4e2c52 Merge "Optimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations." into oc-dev am: e0e55f535a
am: ffec10fcd5

Change-Id: Ie914337e190ba49d7ce4f0b3a3e485a14a4dd3d2
2017-04-12 15:37:54 +00:00
Paul Mclean
e0e55f535a Merge "Optimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations." into oc-dev 2017-04-12 15:16:22 +00:00
Jean-Michel Trivi
0dfbd1569d VolumeShaper: update API, use "Millis" instead of "Ms"
Test: make
Bug: 36785428
Change-Id: Ib77ff448bb8454453b1bd39f1491b0189b4ff15b
2017-04-11 19:05:26 -07:00
Conrad Chen
46e47cbecc Merge "TIF: add TvInputManager methods to notify apps" into oc-dev am: 307bec8572
am: 081db81a99

Change-Id: I267fe4c5723ffa66c0555bba862b1618aebae5fd
2017-04-12 01:30:33 +00:00
Conrad Chen
307bec8572 Merge "TIF: add TvInputManager methods to notify apps" into oc-dev 2017-04-12 00:25:37 +00:00
Chong Zhang
625e180454 MediaCas: combine openSession methods
Combine the two openSession methods into one that doesn't take
any arguments. This gives the client more flexibility in creating
sessions, they can better control how to share sessions across
different elementary streams.

bug: 22804304

Change-Id: I95ce75476b19e9ca851c40f873f46d5c7fa583ef
2017-04-11 13:13:28 -07:00
Chong Zhang
addc39ec27 MediaCas: address comments for API reviews
- Wrap session id byte array in Session object

- Move session operations from MediaCas to Session

- Remove position prarameters on descramble() method

- Retrieve cas info for a track by getCasInfo() instead
  of getDrmInitData().

bug: 22804304
bug: 36791613
bug: 36783335

Change-Id: Ib3ad8d6a2f679c0e60d2bb025ac5999339722306
2017-04-11 13:13:22 -07:00