17 Commits

Author SHA1 Message Date
Suren Baghdasaryan
9c9b025715 Replace hardcoded cgroup paths
Replace hardcoded cgroup paths with new processgroup library API calls,
include required headers. Add required dependencies.

Bug: 111307099
Test: builds, boots

Change-Id: Ic2dc2a94328cf1927fafaa9506537aeb213df413
Merged-In: Ic2dc2a94328cf1927fafaa9506537aeb213df413
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:03:41 +00:00
Chih-Hung Hsieh
e8abd06776 Allow implicit-fallthrough warnings locally.
It will be a global error by default.

Test: make checkbuild
Bug: 112564944
Change-Id: I26616fd50ccf3639fa7c01d850a14d079273ede7
Exempt-From-Owner-Approval: do not block on new warnings
2018-10-22 09:56:12 -07:00
Steven Moreland
9f590ad031 libmedia2_jni: use libbinder as shared library
In order to prevent prebuilts from freezing the libbinder
internal API (the wire protocol), it is being made a
shared-only library.

Bug: 111454508
Test: m only
Change-Id: If7f8bd931dae5310eda6c230f20179418c2efa43
(cherry picked from commit a192e0e31400ac5a2b9d69788c7a60a89fb6c6ed)
Merged-In: If7f8bd931dae5310eda6c230f20179418c2efa43
2018-07-18 17:20:44 +00:00
Dongwon Kang
56a807dba8 Remove unnecessary static libraries in libmedia2_jni
Test: build
Bug: 63934228
Change-Id: I146ee62e78cf2d3348e624f61a1c3328820bd763
2018-03-15 21:19:17 +00:00
Mathias Agopian
3e88ed82e5 NEW API: Add Image.getHardwareBuffer()
This mirror the corresponding NDK API. For some
reason this was missing from the java version
of Image.

Bug: 73784759
Test: manual
Change-Id: Iafa6dedda809fe38ea4453d9873d1ba886f88481
2018-02-28 22:23:54 +00:00
Chong Zhang
f98fc1c54a MediaCas: use HidlMemory to avoid handle leaks
bug: 67710751
test: CTS MediaCasTest, ClearKeySystemTest; VTS VtsHalCasV1_0Target
Change-Id: I379ba416e72328f8e18849ded42dedb24e34210b
2018-02-23 01:42:34 +00:00
Wei Jia
c3c31a5382 MediaPlayer2: move MediaPlayer2 native code to libmediaplayer2
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: Ie674b01b6e839d5ca0af76d8b712c395da64b57a
2018-02-05 16:18:27 -08:00
Marco Nelissen
4045a06d21 MetaData now lives in libmediaextractor
Bug: 67908544
Test: build, boot
Change-Id: Ied00ea8f51ad7adad7a4384d416508d22ec9a31c
2018-01-29 11:29:09 -08:00
TreeHugger Robot
839c570b20 Merge "MediaPlayer2: remove unused methods" 2018-01-25 22:58:15 +00:00
Wei Jia
04a6e93ef7 MediaPlayer2: remove unused methods
Also use shared lib of libutils.
Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: I6f4f4e927cccd11a0e43c84347bcdc4e3a3b88de
2018-01-25 12:29:10 -08:00
Ray Essick
510225b5ef add getMetrics() apis for AudioTrack and AudioRecord
add getMetrics() method to access media.metrics for AudioTrack and
AudioRecord. Includes the code paths and the sdk documentation
for the keys and what they return.

Moves the media metrics JNI support routines from media to core
to support these audiotrack/record operations being there; still
accessible to the existing operations in the media libraries.

Bug: 72179020
Bug: 72178968
Test: enhanced CTS
Change-Id: I3f05beba31aacb9b96854f8a774cb8f669ee1625
2018-01-25 08:05:14 -08:00
Wei Jia
0a8a8f0b26 add MediaPlayer2
Forked from 9070e295864b83deca9020ca8bdd9ff790e631a9
Test: plays local files, callback source and streaming.
Bug: 63934228
Change-Id: I692007c07eb2819f8ad1d843e4e2b1fc96fbecca
2018-01-24 11:03:37 -08:00
Jae Shin
a0f51ba484 Remove libmedia_omx_defaults from libmedia
libmedia_omx_defaults includes source files and this default was
used in both libmedia.so and libmedia_omx.so. This is an issue because
libmedia_omx and libmedia are both loaded in the framework process
through dependency chains such as libstagefright ->
libstagefright_omx_utils -> libmedia_omx.

To fix the issue, libmedia_omx_defaults is removed from libmedia and
libmedia now depends on libmedia_omx. Other modules/libs that originally
depended on libmedia and need access to libmedia_omx_defaults' source
files, now depend on libmedia_omx as well.

Bug: 67871061
Test: mma -j and boot test
Change-Id: I096d58d1e3338b70d5dae9d0f9919b908070d071
2017-11-07 02:53:16 +00:00
Derek Sollenberger
d938e5a2e2 Reduce overhead by combining libskia and libhwui into a single library.
This is a multiproject change as we need to both the libraries
themselves as well as those that had dependencies on libskia.so

Bug: 31971097
Test: compile only
Change-Id: Ie6ff1f4682d03289205f4d6048cde9f95c61a90f
2017-07-24 09:42:07 -04:00
Chong Zhang
2659c2f16c cas: convert MediaCas to HIDL
- Replace AIDL interfaces with corresponding HIDL ones.

bug: 22804304
Change-Id: I8c552ce6fc3766715cd1bc0ea05c0988d56f590e
2017-06-23 16:18:55 -07:00
Colin Cross
98c127f8cc Convert libsoundpool to Android.bp
See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: If0b7cb1e2c86ff1be41c00d98fd9ddec31287a53
2017-05-16 13:08:19 -07:00
Colin Cross
76de4f6b4d Convert libmedia_jni to Android.bp
See build/soong/README.md for more information.

Test: m -j checkbuild
Change-Id: I1817c75ee45537ca0d5fc40a035f94a3dfeccc11
2017-05-16 13:07:57 -07:00