Commit Graph

4823 Commits

Author SHA1 Message Date
Lajos Molnar
6c2e08083a media: unhide codec levels
Bug: 28930361
Change-Id: Ic9c55389c75ef0b789722aa0a7bddd5f56b15049
2016-05-24 10:24:47 -07:00
Eric Laurent
b143e3de34 Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev 2016-05-24 17:15:11 +00:00
Lajos Molnar
2a4001ee62 media: add missing levels in CodecProfileLevel and fix limits
Bug: 28671284
Change-Id: Ie4a91f5639ce8f1c5ac825ec829ac82e695d18b5
2016-05-24 07:43:51 -07:00
Eric Laurent
219de73da2 Fix AudioTrack and AudioRecord documentation
Improve documentation for error codes returned by
AudioTrack.write() and AudioRecord.read() methods.
Fix native to JAVA error code conversion in JNI.

Bug: 28906466

Change-Id: I4d48b1d428834b7a39a14e2d81b6c164696817a8
2016-05-23 17:36:43 -07:00
Jean-Michel Trivi
f04fab160a Recording activity notification: return list of configuration
Use a list of configurations instead of an array

Bug 28819230

Change-Id: Ia4a3cdabf8337cfb98abe4d0055d497bcab8a5ee
2016-05-23 09:44:58 -07:00
Jae Seo
bd6c16908d MediaBrowserService: Add more explanation on getBrowserRootHints()
Bug: 28840985
Change-Id: If4dbcaaa23093b2e6d5ab6158db67b1248464fb8
2016-05-19 14:17:27 -07:00
Jae Seo
18c0cfb075 TIF: Throw a more appropriate runtime exception when building TvInputInfo
Bug: 28775591
Change-Id: I934c8d7fed3dda356cdc3bafe51a79f585918ed0
2016-05-17 10:06:36 -07:00
Jae Seo
a2a03aa026 TIF: Remove the uniqueness check for track ID from notifyTracksChanged
Requiring uniqueness of ID across all track types seems a little too
much demand for developers and they do want to use the same ID on
different track types. Also, this doesn't seem terribly useful.
Hence remove the check.

Bug: 28436618
Change-Id: I9040310c5ce31bcff522021d83f7508506cbd9d3
2016-05-11 14:32:08 -07:00
Jean-Michel Trivi
0316ed0766 Merge "Fix javadoc missing possible return value in AudioRecordingConfiguration" into nyc-dev 2016-05-11 00:07:47 +00:00
Jae Seo
0129c03357 TIF: Fix comments for program start/end times
Bug: 28681747
Change-Id: I28a7359121ca1740c043806e1532ce922c753cbc
2016-05-10 15:17:08 -07:00
TreeHugger Robot
cea42f6353 Merge "TIF: Handle possible memory leaks" into nyc-dev 2016-05-10 01:23:36 +00:00
Youngsang Cho
e2cd56cc8a TIF: Handle possible memory leaks
Bug: 28656236
Change-Id: I162bb8ebc59be90ac1b1eb824c1db5aa9169c247
2016-05-09 15:30:43 -07:00
Jae Seo
c3fc7d4038 Merge "MediaBrowser: Make support lib v23.x available in N release" into nyc-dev 2016-05-09 20:32:46 +00:00
Jae Seo
18687b7a27 MediaRouter: Add more logs for debugging
Bug: 28517884
Change-Id: I325b407983e79a78701acfbfd8f109657f006846
2016-05-07 14:12:55 -07:00
Sungsoo Lim
6b7bda0bc3 MediaBrowser: Make support lib v23.x available in N release
A workaround change for supporting support lib 23.x in N release.
This change should be reverted in some point before O release.

Bug: 28572934
Change-Id: I7e6afc0293688e425736bc93da0ea10233c07e9a
2016-05-07 17:45:40 +09:00
Glenn Kasten
9bef3417c9 Update MIDI package summary am: 15a9a35bee am: c1b551aba6
am: fad0efcdb9

* commit 'fad0efcdb96f87da9ded7474c4bfa67a6f221a88':
  Update MIDI package summary

Change-Id: Icb509b232ea816bb6305da6f38677d3cb6bea55e
2016-05-06 06:12:13 +00:00
Glenn Kasten
fad0efcdb9 Update MIDI package summary am: 15a9a35bee
am: c1b551aba6

* commit 'c1b551aba6f760ac41bcaf4391c1ff861803de27':
  Update MIDI package summary

Change-Id: Ic7a9920dc3f4a70f5f4eb718bc9f2dd00c1bbb7c
2016-05-06 06:07:28 +00:00
Glenn Kasten
15a9a35bee Update MIDI package summary
Bug: 28625060
Change-Id: If552ca8e1a0666d402b5f536699bf3fb09c1e324
(cherry picked from commit 9a279ef267)
2016-05-06 02:03:22 +00:00
Jean-Michel Trivi
3b11892856 Fix javadoc missing possible return value in AudioRecordingConfiguration
Bug 28623134

Change-Id: I342121cc82bbee3e9b3373db0d70a08eb781eedf
2016-05-05 18:12:00 -07:00
Dongwon Kang
b69b5b4a6d Merge "Revert "TIF: add signal detection feature for HW inputs"" into nyc-dev 2016-05-04 17:33:54 +00:00
Eric Laurent
29d499a2bd Merge "update doc with permissions needed for voice call capture." into nyc-dev 2016-05-04 00:12:15 +00:00
Dongwon Kang
4a3a601082 Revert "TIF: add signal detection feature for HW inputs"
This reverts commit 102d0b7b69.

Change-Id: I50a66d7bd1baaea134ddd6638c3cfe65860e681d
2016-05-03 16:52:55 -07:00
Eric Laurent
851a8797bd update doc with permissions needed for voice call capture.
Update documentation for VOICE_UPLINK, VOICE_DOWNKINK and
VOICE_CALL MediaRecorder audio sources to indicate those
sources are protected by the signature|privileged permission
CAPTURE_AUDIO_OUTPUT

This was missing in M SDK doc.

Bug: 28081587.
Change-Id: I24f6d9978069115a0f2c41e48038b935e4395124
2016-05-03 12:43:14 -07:00
Eino-Ville Talvala
ef1513b038 Merge "ImageReader/Writer: Only register 1 buffer for native allocation" into nyc-dev 2016-05-03 00:14:57 +00:00
Eino-Ville Talvala
04a935162c ImageReader/Writer: Only register 1 buffer for native allocation
Registering with the maximum potential memory made by visible by an
ImageReader/Writer can cause the VM to try to heavily garbage-collect
the rest of the application. This can have significant impact on camera
applications, since they often have large ImageReader/Writer queues.

Bug: 28454727
Change-Id: I2ba43635f93da66655be024165a15631b3b421d3
2016-05-02 15:20:31 -07:00
Glenn Kasten
2baa1e9ba1 Merge "Improve documentation for AudioTrack buffer sizes" into nyc-dev 2016-05-02 21:28:38 +00:00
Hangyu Kuang
66496d0d6d Merge "media: Add missing dobly-vision profile." into nyc-dev 2016-05-02 16:55:38 +00:00
Glenn Kasten
1d46276a62 Improve documentation for AudioTrack buffer sizes
Bug: 28321706
Change-Id: I18ecc5a88e97d8c425a8524f216cc2b02e2e4ca9
2016-05-02 09:22:09 -07:00
TreeHugger Robot
3c6736b078 Merge "VideoCapabilities: account for block size for getAchievableRates" into nyc-dev 2016-04-30 00:36:53 +00:00
TreeHugger Robot
017567ae1d Merge "media: document MediaFormat.KEY_FRAME_RATE better" into nyc-dev 2016-04-29 16:04:16 +00:00
Dongwon Kang
ddf44fc7ef Merge "TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN" into nyc-dev 2016-04-28 21:17:32 +00:00
Hangyu Kuang
f939e4adf1 media: Add missing dobly-vision profile.
Bug:28411120
Change-Id: I92eecd7436365fab2668e66b8759c68e7d7af298
2016-04-28 11:57:40 -07:00
Hangyu Kuang
9186c38fce media: Change VP9 ProfileLevel to start from 0x1.
Bug:28380207
Related to Bug: 25684127

Change-Id: I9f18358744e9406b34dc880e6eb533945eabe104
2016-04-26 17:51:59 -07:00
Lajos Molnar
7a2ab16b65 VideoCapabilities: account for block size for getAchievableRates
Bug: 25597057
Change-Id: I1a01e4b466e2b70cebf55179c83806fe269a31ee
2016-04-26 13:42:44 -07:00
Dongwon Kang
150923ac6a TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN
Bug: 28146354
Change-Id: Ida6525b77abf3cd8988fb948ce41645d6983fa95
2016-04-26 10:02:04 -07:00
TreeHugger Robot
af8be42b9f Merge "CodecCapabilities: handle legacy VP9 codecs with no profiles" into nyc-dev 2016-04-25 22:43:30 +00:00
Lajos Molnar
a477a6e288 clarify MediaCodec.setVideoScalingMode behavior
Bug: 28131249
Change-Id: I4fd3a5333cbdc0ebec683c9a43ce071478a79d90
2016-04-25 13:28:53 -07:00
Lajos Molnar
8acc164738 CodecCapabilities: handle legacy VP9 codecs with no profiles
Bug: 26935336
Change-Id: I1049b9da8e6c984f86e307990000401b66119693
2016-04-25 13:28:06 -07:00
Dongwon Kang
0751a83a99 Merge "TIF: Be consistent with argument name for startRecording" into nyc-dev 2016-04-25 20:16:22 +00:00
Dongwon Kang
0cb5244e52 TIF: Be consistent with argument name for startRecording
Change-Id: Icb0125049cc92c5664e0810cdb86f1cb0903405f
2016-04-25 13:15:18 -07:00
Sujith Ramakrishnan
b5b86c1100 Unbundle RemoteService on TV - part 3
- New service TVRemoteService triggered by SystemServer
- Provider service proxy and watcher for maintaining connections to unbundled
  services which have the BIND_TV_REMOTE_SERVICE permission.
- Shared library to facilitate connections between unbundled service and
  TVRemoteService.
- Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER
  permission to be fully functional.

b/23792608

Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb
2016-04-22 12:21:34 -07:00
Dongwon Kang
b0df08598c Merge "TIF: Address API review comments" into nyc-dev 2016-04-22 17:54:34 +00:00
Daichi Hirono
4dfde6079c Merge "Add throws definition to MtpDevice#readEvent." into nyc-dev 2016-04-22 00:00:33 +00:00
Daichi Hirono
b9c64cd2c0 Merge "Handle API review comments from the council." into nyc-dev 2016-04-22 00:00:33 +00:00
Eric Laurent
dc7ce84095 Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev 2016-04-21 18:22:59 +00:00
Eric Laurent
9656df2b2e AudioManager: fix isBluetoothA2dpOn()
Test all A2DP type variants when checking if an A2DP device is connected
in isBluetoothA2dpOn().

Bug: 28286051
Change-Id: I756d632b12d584d8a27cc1890e758d8accff7120
2016-04-20 16:42:28 -07:00
Phil Burk
01ab4d62d9 MidiDevice: do not open ports on closed device
Fix involves client side mIsDeviceClosed flag.

Bug: 24949216
Change-Id: I666284a787fbb9a710d2372fb424e8e54f6a2825
Signed-off-by: Phil Burk <philburk@google.com>
2016-04-20 12:30:42 -07:00
Daichi Hirono
60fa3615bc Add throws definition to MtpDevice#readEvent.
Previously MtpDevice#readEvent does not have throws IOException at its
definition, though internal JNI functions throws it.

BUG=28254719
Change-Id: I4e6cf8003d168b7e732c4b4eb2eafe52a12442c2
2016-04-20 14:48:23 +09:00
Dongwon Kang
ee564881d9 TIF: Address API review comments
- Remove TIS.updateTvInputInfo and unhide TIM.updateTvInputInfo
- Add more doc on RECORDING_ERROR_UNKNOWN

Bug: 28146354
Change-Id: I581ef17b60e0933f5c07df3f398d15b890b2e29d
2016-04-18 19:36:21 +00:00
Sungsoo Lim
bfa6d239b5 Merge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev 2016-04-18 17:21:59 +00:00