History log of /frameworks/av/media/mediaserver/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c47c97ecac581d66b6febafd156618247e86742 08-Feb-2017 Pawin Vongmasa <pawin@google.com> Enable full migration of OMX to Treble.

1. Toggling between Treble and non-Treble OMX will now be controlled by
two properties: "persist.hal.binderization" and
"persist.media.treble_omx". (Before this CL, this was controlled by
"debug.treble_omx".)
- If persist.media.treble_omx is not set, it will assume a default value
of -1.
- If persist.media.treble_omx is -1, persist.hal.binderization will be
used to determine whether OMX will be created as a Treble or non-Treble
service.
- If persist.media.treble_omx is 1, OMX will be created as a Treble
service.
- If persist.media.treble_omx has any other value, OMX will be created
as a non-Treble service.
- persist.media.treble_omx can be changed without rebooting, but it will
only take effect after media.codec and mediaserver processes are killed.

2. Remove all dependencies on non-Treble service. This was not done for
MediaCodec, MediaPlayerService::Client, MediaRecorderClient, stagefright
command, and omx_tests command. OMXClient and media.codec process will
now pick the right version of OMX based on properties mentioned above.
Before this CL, media.codec would always present the non-Treble version
of OMX regardless of the flag.

3. Provide workarounds for some HIDL issues.
- A sequence of nested binder and hwbinder calls require many threads to
handle. (b/35283480) The workaround is to increase the number of threads
in the thread pool of media.codec process.
- android.hidl.base@1.0::IBase::unlinkToDeath takes a strong pointer
instead of a weak pointer. (b/35233970) This causes an infinite
recursion in the destructor of ServiceDeathNotifier in
MediaPlayerService::Client and MediaRecorderClient. The workaround moves
calls to unlinkToDeath() outside of the destructor.

Test: Recorded and played videos with Camera app. Ran stagefright and
omx_tests commands.
Bug: 31399200

Change-Id: Id1940ed982838e10bf10fe8ed5b7bb912a5a2d3a
/frameworks/av/media/mediaserver/Android.mk
dbb1afd703c1435e0be5d5fd85248ab48dac2b02 01-Dec-2016 Marco Nelissen <marcone@google.com> Remove unneeded libcutils references

mediaserver, mediadrmserver, cameraserver don't actually use libcutils

Change-Id: Ieac17ec8bce73910672db4e3e239bc6cbe5f0be0
/frameworks/av/media/mediaserver/Android.mk
c661ae6165338fd5f0bca50a63058b4bcd6def4b 25-Oct-2016 Marco Nelissen <marcone@google.com> Remove unneeded links with dynamic libraries

Various media components were linking against dynamic libraries that weren't needed.

Test: built and booted

Change-Id: I7379506fd06d4e28e0eff0001fd073a2d3860f8e
/frameworks/av/media/mediaserver/Android.mk
b8c32f06401c8948a69fa896a9afd768528b299f 24-Sep-2016 Dimitry Ivanov <dimitry@google.com> Add missing liblog dependency

Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: Ic2e8a3d9e62d778d32863a4b794dc4c80b1b1b2b
/frameworks/av/media/mediaserver/Android.mk
d7c2909c90e462c45bb2fa9e69ecc82836f22629 30-Mar-2016 Glenn Kasten <gkasten@google.com> Revert "Revert "Make build warnings be errors""

This reverts commit 984b4f2db2f5969afff6420739f6d785f4a14bf3.

Change-Id: I4d0f420a063c611afe5b5c9fa809e34799f66ea1
/frameworks/av/media/mediaserver/Android.mk
984b4f2db2f5969afff6420739f6d785f4a14bf3 29-Mar-2016 Glenn Kasten <gkasten@google.com> Revert "Make build warnings be errors"

This reverts commit 20b89a97a8294c05b8da86f415b0b1bf65ac0fe0.

Change-Id: I8d840d89bb1eaaa33af64fa04dd422f56b4c2a58
/frameworks/av/media/mediaserver/Android.mk
20b89a97a8294c05b8da86f415b0b1bf65ac0fe0 22-Mar-2016 Glenn Kasten <gkasten@google.com> Make build warnings be errors

Change-Id: I207ec8e429bad1fe6bb3821892670af47f15b1d6
/frameworks/av/media/mediaserver/Android.mk
d56db1d2bee182d1851097a9c712712fc094d117 18-Dec-2015 Eino-Ville Talvala <etalvala@google.com> Camera: Switch camera2 to auto-gen C++ binder interfaces

- Move camera service AIDL files to frameworks/av
- Build C++ interface stubs with AIDL tools
- Add necessary native-side parcelables and update existing ones
- Remove manually-written stubs, rearrange remaining manual stubs
- Adjust implementations to work with auto-generated stubs
- Adjust method signatures for auto-gen differences
- Add rich error messages using binder::Status

Bug: 25091611
Change-Id: I6f69f34b9d1a3f8d1fb7db87357363f8fa8483ff
/frameworks/av/media/mediaserver/Android.mk
ae0cff1d48b2cd10aeff9627398faf684894eece 24-Feb-2016 Glenn Kasten <gkasten@google.com> Restore media.log service

Bug: 26306954
Change-Id: I00319f4869f46941e4c814a29b2f69a62e572743
/frameworks/av/media/mediaserver/Android.mk
e924b6729bd9c0ef3f043e1f150a1923ecc94999 18-Feb-2016 Marco Nelissen <marcone@google.com> mediaserver still needs icu

Bug: 26742500
Change-Id: I4c0a124b19c84debdbe6e458b975feb69f7a433f
/frameworks/av/media/mediaserver/Android.mk
dcb346b7dc5b88c3e85db8a70bbd6a2fee8192b9 09-Sep-2015 Marco Nelissen <marcone@google.com> Run audio services in audioserver instead of mediaserver

audioflinger, audiopolicy, (fm) radio, soundtrigger moved to audioserver.
medialog is removed from mediaserver.
audioserver has same permissions and rights as mediaserver.

mediaserver is allowed to specify client uid to audioserver.

Subsequent CL will add medialog to audioserver.

TBD: Pare down permissions.

Bug: 24511453
Change-Id: Iccaa08b874a502710d142e72f8abbb3d97c44cfa
/frameworks/av/media/mediaserver/Android.mk
dc6d89a52807fc216012467dcba6091c608dae56 21-Aug-2015 Tom Cherry <tomcherry@google.com> am 9abb6302: am f7ddd009: Merge "bundle init.rc contents with its service"

* commit '9abb6302e30ed276cf36904bbf09697ccc065a1f':
bundle init.rc contents with its service
c6dd768006362ced8ef7ae3606cac40312099fd7 14-Aug-2015 Tom Cherry <tomcherry@google.com> bundle init.rc contents with its service

Bug: 23186545
Change-Id: I18c6062f9e30d72e5a7ffd67c61b9eeec5c24e3b
/frameworks/av/media/mediaserver/Android.mk
6697ab9e63ef0b631a8a6c5d49f6413b91daaaef 10-Jun-2015 Neil Fuller <nfuller@google.com> Switch to using shared over local code for initializing ICU

A static library now exists in external/icu/android_utils.

Contains cherry-picks from commits:
4b60b068c27a40731bd4a0049cb632da18bf521d
2f3406517d1fd4486b8b90eb2635d784fad17a48

Bug: 21730722

Change-Id: Ibc264ed881465736ce74fa493deb83cc15f9fceb
/frameworks/av/media/mediaserver/Android.mk
4b60b068c27a40731bd4a0049cb632da18bf521d 10-Jun-2015 Neil Fuller <nfuller@google.com> Switch to using shared over local code for initializing ICU

A static library now exists in external/icu/android_utils.

Bug: 21730722
Change-Id: I8302b585d3c87fd1a975301ceca4ceebaccbcac9
/frameworks/av/media/mediaserver/Android.mk
2f3406517d1fd4486b8b90eb2635d784fad17a48 09-Jun-2015 Narayan Kamath <narayan@google.com> mediaserver : Initialize ICU on startup.

In change 2b29e461c in external/icu, we stopped hardcoding the ICU
data path at compile time to avoid two sets of mappings in zygote forked
processes. This means we'll have to tell ICU where its data is if the
process in question isn't forked from the zygote.

bug: 21705078
Change-Id: I829d9fa34fe8209aa8a6d55145ca26fdf0d934e8
/frameworks/av/media/mediaserver/Android.mk
f097cae65bfce7200938c5bd89e7e9b61cba78b3 13-Apr-2015 Ricardo Garcia <rago@google.com> TimestretchBufferProvider integration with Sonic Library

Using Sonic as backbone for time stretching algorithm.
Adding libsonic to needed makefiles.

bug: 19196501
Change-Id: I1ea9221d2f56e4e79fba8746ce0ad350b5079e82
/frameworks/av/media/mediaserver/Android.mk
2110e04cdfbf9ad85ce154ce5f778ee5ccfc95eb 24-Mar-2015 François Gaffie <francois.gaffie@intel.com> Split ManagerDefault into manager and engine

This patch defines an interface for a new component: policy engine.
The APIs found under this interface are the one we may want to customize
and to configure easily.
This patch also split the current manager code into manager and engine to
provide a default version of the policy engine.

Change-Id: I97cf59760b53d248fe9efe466ae5e73bd7e5cc06
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/media/mediaserver/Android.mk
98cc191247388132b6fd8a4ecd07abd6e4c5a0ed 18-Mar-2015 François Gaffie <francois.gaffie@intel.com> Split ManagerDefault into Manager and ManagerDefinitions

This patch splits the managerdefault into a manager and a manager
defintion library that contains all pillar elements of a policy manager.

It renames the file with the name of the main class they contains.

It splits the AudioPort into AudioPort and AudioPatch.

Change-Id: I992cf0b8aed895805cc003ba0980d2c9e92c985b
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/media/mediaserver/Android.mk
231c3d169ad029689f9d688b68179af7e96b8d78 11-Mar-2015 Ronghua Wu <ronghuawu@google.com> media: add ResourceManagerService

Bug: 19620911
Change-Id: Iea173d310d31781bc50effe3d9bd6553cb5139eb
/frameworks/av/media/mediaserver/Android.mk
4e09069a29fc18d0799808cc26f71e9b068e98ad 06-Mar-2015 Eric Laurent <elaurent@google.com> radio service initial implementation

First implementation of broadcast radio service.

This native service runs in mediaserver process and
controls broadcast radio hardware modules.
There is one ihardware module per broadcast radio class.
The service allows serveral clients to control tuners
on hardware modules and manages resource conflicts.

Change-Id: I21469a084c7ccd65042b8ac5f724d060044c45ab
/frameworks/av/media/mediaserver/Android.mk
c52fb038dc91712fc5159226006e03ce59b21b9a 03-Jan-2015 Glenn Kasten <gkasten@google.com> Cleanup annoying whitespace that causes red markers

Change-Id: I0b1be110b0e0a9606d272c4d023f40ff93522725
/frameworks/av/media/mediaserver/Android.mk
b7a11d83f749ad0200778c4815e907d011d4b5d3 19-Apr-2014 Eric Laurent <elaurent@google.com> add sound trigger native service

Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec
/frameworks/av/media/mediaserver/Android.mk
d83062287758be57d1d0908b30bb18aa9b367f38 22-May-2014 Eric Laurent <elaurent@google.com> Merge "audio policy: split audio policy library"
98c6be0e30fa28e752b13f3dd5986d41710bb7ae 21-May-2014 Eric Laurent <elaurent@google.com> audio policy: split audio policy library

Split audio policy library into a service part and a policy part.
This will allow OEMs to customize the policy part:
- libaudiopolicyservice for the service.
- libaudiopolicymanager for the policy.

Two build options can be defined in device make file to select
the policy library:
- USE_LEGACY_AUDIO_POLICY = 1: this will use the legacy policy
in hardware/libhardware_legacy implemented by AudioPolicyManagerBase class.
This policy is loaded as a harware module and exposes the audio policy HAL
defined in include/hardware/audio_policy.h and is in a library called
audio_policy.XXX.so (e.g audio_policy.default.so)

The legacy HAL will not be updated with new features.

If USE_LEGACY_AUDIO_POLICY is not defined, the policy is implemented by
a class named AudioPolicyManager exposing an interface defined in
AudioPolicyInterface.h.
The corresponding library is libaudiopolicymanager.so.

New features will be added only to AudioPolicyInterface.h

The default implementation is provided here in file AudioPolicyManager.cpp

OEMs wanting to cutomize the policy can implement the AudioPolicyManager class
and provide the libaudiopolicymanager.so library.
In this case the device make file should define:
- USE_CUSTOM_AUDIO_POLICY = 1

For now, USE_LEGACY_AUDIO_POLICY = 1 is forced in audio policy service make file.
This will be removed when the new audio policy is enabled.

Change-Id: I066799dacc9b182b468a43d48ff7798c9109a414
/frameworks/av/media/mediaserver/Android.mk
c56f3426099a3cf2d07ccff8886050c7fbce140f 22-Mar-2014 Glenn Kasten <gkasten@google.com> Pass stereo gains as packed minifloat

This will allow (eventually) a greater dynamic range for gains.
However there are still a few remaining places in effects and mixer
that will also need to be changed in order to get the full benefit.

Also fixes a minor bug: was not checking for NaN in AudioTrack C++.

Change-Id: I63bce9e82e0a61546d8ff475fb94bcb700d99c96
/frameworks/av/media/mediaserver/Android.mk
314869117d5e3365fc3e43fee01209d18515ca42 18-Mar-2014 Eric Laurent <elaurent@google.com> Merge "move audio policy service to a separate library"
758799cef41fc5495f59eeb6249d02ce9154cde8 14-Mar-2014 Glenn Kasten <gkasten@google.com> resolved conflicts for merge of 3c780188 to master

Change-Id: Ic579d346c27ff05ea6444faaa60fa6caaec86fbf
af783aa91f7a279153fb8bab8d0d6b9f737996e9 03-Mar-2014 Glenn Kasten <gkasten@android.com> mediaserver and associated services are 32-bit only

also 32-bit only command-line apps

Change-Id: I9ac557a8d02bbf6986a9b5c3cdce23d400b306a3
/frameworks/av/media/mediaserver/Android.mk
c7e5040aa8b8e4da86814bf560346c7571e48087 06-Mar-2014 Eric Laurent <elaurent@google.com> move audio policy service to a separate library

Change-Id: Ibc3ef07aa9860b7fd4f9aaff27b0dbe0dcbf1cbf
/frameworks/av/media/mediaserver/Android.mk
7226c059cda892ffa384b455ecfc49989e9bf6f0 17-Jan-2014 Ruben Brunk <rubenbrunk@google.com> Fix build. Missing vendor_tag header.
/frameworks/av/media/mediaserver/Android.mk
ecba7488c5cceaacef95836b1b476433451e7761 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
/frameworks/av/media/mediaserver/Android.mk
da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
/frameworks/av/media/mediaserver/Android.mk
8029ea41c8851c527ed5829e8c26fbf939661f34 21-Feb-2013 Glenn Kasten <gkasten@google.com> Permit conditional registry of mediaserver extensions

Change-Id: I94dc0d038e702dfe1779a50a1de0fae9bad15057
/frameworks/av/media/mediaserver/Android.mk
feb2179f15bde8241814c8c35f8dace13a923ee7 21-Feb-2013 Glenn Kasten <gkasten@google.com> Permit conditional registry of mediaserver extensions

Change-Id: I94dc0d038e702dfe1779a50a1de0fae9bad15057
/frameworks/av/media/mediaserver/Android.mk
fdf4e4f1859771b95585cbc87f8cd038ea2815c6 19-Jan-2013 Glenn Kasten <gkasten@google.com> Add media.log service based on NBLog

Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
/frameworks/av/media/mediaserver/Android.mk
6f1c1918d0dfece10f728711b055441e4d135c73 19-Jan-2013 Glenn Kasten <gkasten@google.com> Add media.log service based on NBLog

Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
/frameworks/av/media/mediaserver/Android.mk
7acd13defdb3f33b2e266f1ef8f3ac85285c5e27 19-Jan-2013 Glenn Kasten <gkasten@google.com> Remove obsolete audioflinger reference

Change-Id: I9ae754c908f3b0102c3828c71d6f542851a74341
/frameworks/av/media/mediaserver/Android.mk
2a330d6cbb25f0cdd6208aeee53b4a3b88dae3b0 19-Jan-2013 Glenn Kasten <gkasten@google.com> Remove obsolete audioflinger reference

Change-Id: I9ae754c908f3b0102c3828c71d6f542851a74341
/frameworks/av/media/mediaserver/Android.mk
559bf2836f5da25b75bfb229fec0d20d540ee426 28-Mar-2012 James Dong <jdong@google.com> AV Android make files changes

o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc
o remove some runtime dependencies to libandroid, libandroid_runtime, etc

Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
/frameworks/av/media/mediaserver/Android.mk
0e9350254736c4aea154a7a871dd212038050f70 14-Mar-2012 Glenn Kasten <gkasten@google.com> Prepare frameworks/native/services/audioflinger

Part of this change will be reverted after the move is complete.

Change-Id: Ie7f6355368258f2b1344f4ef754da9151a06e41d
/frameworks/av/media/mediaserver/Android.mk
65ab47156e1c7dfcd8cc4266253a5ff30219e7f0 15-Jul-2010 Mathias Agopian <mathias@google.com> move native services under services/

moved surfaceflinger, audioflinger, cameraservice

all native services should now reside in this location.

Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
/frameworks/av/media/mediaserver/Android.mk
615a9bfbd98b90e09d868c128db84836feb658e4 19-May-2009 Mathias Agopian <mathias@google.com> checkpoint: split libutils into libutils + libbinder
/frameworks/av/media/mediaserver/Android.mk
89fa4ad53f2f4d57adbc97ae1149fc00c9b6f3c5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/av/media/mediaserver/Android.mk
15f767b960b38059a74a42a33e16d8df2aec8bc1 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/av/media/mediaserver/Android.mk
2729ea9262ca60d93047e984739887cfc89e82eb 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/av/media/mediaserver/Android.mk