10254 Commits

Author SHA1 Message Date
Hang Yin
a80bf36741 Merge "Camera2 framework stress test suite" 2016-01-30 00:45:00 +00:00
Jean-Michel Trivi
5bf536cf78 Merge "Fix dynamic audio policy rules" 2016-01-29 22:52:28 +00:00
Jean-Michel Trivi
32696d49e1 Fix dynamic audio policy rules
Always set the mix type when adding rules, even
 when adding from a parcel.

Bug 26798796

Change-Id: Ib10bfa9b9b7753b18d9b1b5a67e82677dcac2cbe
2016-01-29 13:50:20 -08:00
Dongwon Kang
f14a39398f Merge "TIF: Make RecordingCallback static" 2016-01-29 18:53:24 +00:00
Dongwon Kang
397b1447ab TIF: Make RecordingCallback static
Change-Id: I5138713fe21f49d43e9c70af8c2ba66318aa8342
2016-01-29 10:47:21 -08:00
Jae Seo
c7cbd7b21f Merge "TIF: Unhide TvInputCallback.onInputUpdated()" 2016-01-29 18:06:09 +00:00
Jae Seo
61e97e0e42 Merge "TIF: Add Hardware prefix to method/member names for better readability" 2016-01-29 18:05:47 +00:00
Sungsoo Lim
b8a74e5b41 Merge "MediaBrowser: Make support lib work properly" 2016-01-29 07:19:14 +00:00
Jae Seo
1abbbcd33e TIF: Add Hardware prefix to method/member names for better readability
Also removed the infix 'Tv' to make those names consistent with other
names (e.g. mHdmiInputIdMap, inputList, etc.)

Change-Id: I40eff18f8ca795c080edaf293f4906848caed0ca
2016-01-28 22:40:39 -08:00
Sungsoo Lim
d67933e271 MediaBrowser: Make support lib work properly
Do not change the methods signature and order of methods in
MediaBrowser related AIDL files. A change of the method signatures
or the order could break the support library.

Bug: 26841304
Change-Id: Id8c013eafc38c1a716df63dd86f446bc9c9ff21d
2016-01-29 15:21:07 +09:00
Jae Seo
631052954d TIF: Unhide TvInputCallback.onInputUpdated()
Needed to load proper resources when the TV input app is updated

Bug: 26851344
Change-Id: If3d143a254a9585e90ab1d91abcdb68bf39eaa9f
2016-01-29 05:34:23 +00:00
Jae Seo
808a91a0c6 Merge "TIF: Allow undefined reasons to be passed by notifyVideoUnavailable" 2016-01-29 05:04:30 +00:00
Jae Seo
8a151a0a21 TIF: Allow undefined reasons to be passed by notifyVideoUnavailable
Bug: 26819129
Change-Id: Ia3cbc8183b08e7431276795f74fcc6701de0a238
2016-01-28 21:02:06 -08:00
Andy Hung
d89cb1eb81 Merge "Add AudioRecord timestamps" 2016-01-29 03:23:19 +00:00
Jae Seo
03c75de39f Merge "TIF: Notify of a change to TvInputInfo regardless of service connection" 2016-01-29 02:15:56 +00:00
Jae Seo
c2a89510dd TIF: Notify of a change to TvInputInfo regardless of service connection
Also removed unnecessary input ID in various methods

Change-Id: I50a2da924e9442312ccf16278e9123f837ec8942
2016-01-28 17:54:26 -08:00
Andy Hung
0ad99c0597 Add AudioRecord timestamps
API change

Bug: 13569372
Bug: 22886739
Change-Id: Ic250fd0c39901f4e99c58281e371f27c241b6bed
2016-01-28 17:19:11 -08:00
Donghyun Cho
b3c06c2f50 Merge "MediaSession: Define an extra field for staying paused after play" 2016-01-29 01:15:36 +00:00
Wei Jia
f202143597 Merge "MediaDataSource: add getFlags()" 2016-01-28 19:22:28 +00:00
Jae Seo
a4ff399039 Merge "TIF: Refactor TvInputInfo" 2016-01-28 18:16:36 +00:00
Jae Seo
a21579ad8d TIF: Refactor TvInputInfo
Moved fields and methods that are used only for building TvInputInfo
into Builder.
Renamed some parameters for consistency.
Removed trivial comments for private methods.

Change-Id: I620c504d9b895d2572e1ebe2ea58ceaffd53ab43
2016-01-28 09:14:32 -08:00
Anton Daubert
8f7a8f1eba Fix the initialize of PreviewImageData to its default values.
Bug: 26762780, 26837999
Change-Id: Ifc268beb84903576b8c82681fddf2f51ffc4a2ec
2016-01-28 13:52:46 +01:00
Lajos Molnar
153d7ada2e Merge "MediaExtractor: add getDrmInitData API" 2016-01-28 05:55:07 +00:00
Daichi Hirono
376c5a8d34 Merge "Implement MtpDevice#getPartialObject64 in Java API." 2016-01-28 04:46:16 +00:00
Robert Shih
21b0008db6 MediaExtractor: add getDrmInitData API
Bug: 26070802
Change-Id: I32e256f5988e206188f43d1bef0ad2ffdce8caec
2016-01-27 20:42:27 -08:00
Jean-Michel Trivi
8af734b80a Merge "API to query recording format and device on AudioRecordConfiguration" 2016-01-28 04:23:04 +00:00
Arunesh Mishra
4666057155 Merge "SoundTrigger system API changes." 2016-01-28 04:10:38 +00:00
Jean-Michel Trivi
f730d87936 API to query recording format and device on AudioRecordConfiguration
Bug 22876530

Change-Id: I5d529cecbef91361afce64f20faca17f6ebb8ba9
2016-01-27 19:38:06 -08:00
Donghyun Cho
3de7c4146e MediaSession: Define an extra field for staying paused after play
Introduced a new constant EXTRA_PREPARE_ONLY, which allows
MediaController to ask MediaSession to stay paused right after play
requests are called. If this field is set to true in extra bundle and it
is passed during playFromMediaId, playFromSearch, and playFromUri
requests, MediaSession will prepare the given media, but not start
playing it.

Bug: 25841735
Change-Id: I2a2f71a251bd6f475698fe8a5bb696ac70003e2b
2016-01-28 12:22:58 +09:00
Daichi Hirono
c8718b57b7 Merge "Add varietions of MtpDevice's mehtods using long." 2016-01-28 02:56:34 +00:00
Daichi Hirono
e0e6654a31 Add varietions of MtpDevice's mehtods using long.
BUG=26525304

Change-Id: I0a0b187910cf498720d8e7b8fbe9b0590e67e65e
2016-01-28 11:54:57 +09:00
Jean-Michel Trivi
297489448b Merge "Dynamic audio policies by UID" 2016-01-28 02:48:00 +00:00
Daichi Hirono
038832b900 Implement MtpDevice#getPartialObject64 in Java API.
BUG=26703522

Change-Id: I08510e3a179b7dc8bf247a9e997dc8a160138fc2
2016-01-28 11:19:55 +09:00
Arunesh Mishra
6a8fd7935f 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
2016-01-27 18:04:30 -08:00
Hyungtae Tim Kim
6d8fd0a23f Camera2 framework stress test suite
Added a new Camera2 framework stress test to put stress in
the common use cases in exercising Camera2 APIs.

Note that this stress test differs from Camera CTS in that
it focus on ensuring stability rather than functionality.
It could also provide the flexibility to get integrated with
test tools if needed.

For the initial run, most test codes are taken from CTS package
except for test fixtures to handle arguments and results for
stress test. However test implementation could be differentiated
to meet needs in stress testing over time.

Change-Id: Ie36594de3904e41f6175b8d5072b91941975d091
2016-01-27 16:59:41 -08:00
Jaesung Chung
9f774342aa Merge "Fix GpsTimeStamp format string" 2016-01-28 00:53:34 +00:00
Lajos Molnar
58ec1b5a6e Merge "media: expose media format keys for color characteristics" 2016-01-28 00:31:43 +00:00
Phil Burk
dc5f027783 AudioTrack: make low latency APIs public
Allow apps to lower their Java audio latency.

Bug: 21019153
Change-Id: I1be9a083c46e9fcf7db2635e813cab13dbad810a
Signed-off-by: Phil Burk <philburk@google.com>
2016-01-27 23:24:20 +00:00
Lajos Molnar
6d9ef6419a media: expose media format keys for color characteristics
Bug:  25684127
Change-Id: Ib4aa7487d1bca27eff5f31cd736e935f5bb7e8f0
2016-01-27 14:39:09 -08:00
Wei Jia
fbc164ba3c MediaDataSource: add getFlags()
Bug: 26533748
Change-Id: I980b833da47b54d94ecc5fedbd75ce69e59925fb
2016-01-27 14:26:03 -08:00
Phil Burk
4ddbc0e377 AudioFormat: add ENCODING_IEC61937
Allows applications to wrap compressed audio in a PCM
stream and pass through directly to HDMI output.

Bug: 24541671
Bug: 20891646
Bug: 26373761
Change-Id: I67a25672a3b5066b5747380d013c26e60c14c272
Signed-off-by: Phil Burk <philburk@google.com>
2016-01-27 22:08:42 +00:00
Ronghua Wu
7d8501d06c Merge "media: define vp9 profile and level" 2016-01-27 21:37:59 +00:00
Arunesh Mishra
a772e5fc06 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
2016-01-27 12:49:20 -08:00
Ronghua Wu
f37f9ba8c8 media: define vp9 profile and level
Bug: 25684127
Change-Id: I806f87847e0c75c3a39cea0c5ffcc3df28d60a75
2016-01-27 12:21:00 -08:00
Hangyu Kuang
8e498db77a Merge "media: Add interface to query and set intra refresh for encoder." 2016-01-27 18:06:25 +00:00
Wonsik Kim
6e0d12ccb8 Merge "media: unhide MediaRecorder.pause()/resume()" 2016-01-27 18:01:28 +00:00
Hangyu Kuang
e9618e810a media: Add interface to query and set intra refresh for encoder.
Bug:26587630
Change-Id: I913a56b4888e2c46ad30ba0e9c3130da7101f7a4
2016-01-27 16:37:04 +00:00
Jaesung Chung
04e18bb2fa Fix GpsTimeStamp format string
Bug: 26816278
Change-Id: If3694ec44f5a5d6109c1895eac305d0a1a7e1ca2
2016-01-28 01:31:18 +09:00
Jaesung Chung
18b6618f92 Merge "Fix build" 2016-01-27 16:28:31 +00:00
Jaesung Chung
d4c505c9b4 Fix build
Change-Id: I91e10406da341e226180b14dd2446cadbdab5684
2016-01-28 01:16:56 +09:00