diff options
author | Eric Laurent <elaurent@google.com> | 2015-03-05 15:12:40 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-03-10 18:20:33 -0700 |
commit | 4e09069a29fc18d0799808cc26f71e9b068e98ad (patch) | |
tree | c546f0130241ac0fea083fca8ec2582e22785aaa /media/mediaserver | |
parent | dedc86dcb6d63e93518c8974c077e50912d15e9c (diff) | |
download | frameworks_av-4e09069a29fc18d0799808cc26f71e9b068e98ad.zip frameworks_av-4e09069a29fc18d0799808cc26f71e9b068e98ad.tar.gz frameworks_av-4e09069a29fc18d0799808cc26f71e9b068e98ad.tar.bz2 |
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
Diffstat (limited to 'media/mediaserver')
-rw-r--r-- | media/mediaserver/Android.mk | 6 | ||||
-rw-r--r-- | media/mediaserver/main_mediaserver.cpp | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/media/mediaserver/Android.mk b/media/mediaserver/Android.mk index f1b84ad..0ad0bf3 100644 --- a/media/mediaserver/Android.mk +++ b/media/mediaserver/Android.mk @@ -26,7 +26,8 @@ LOCAL_SHARED_LIBRARIES := \ libutils \ liblog \ libbinder \ - libsoundtriggerservice + libsoundtriggerservice \ + libradioservice LOCAL_STATIC_LIBRARIES := \ libregistermsext @@ -38,7 +39,8 @@ LOCAL_C_INCLUDES := \ frameworks/av/services/audiopolicy \ frameworks/av/services/camera/libcameraservice \ $(call include-path-for, audio-utils) \ - frameworks/av/services/soundtrigger + frameworks/av/services/soundtrigger \ + frameworks/av/services/radio LOCAL_MODULE:= mediaserver LOCAL_32_BIT_ONLY := true diff --git a/media/mediaserver/main_mediaserver.cpp b/media/mediaserver/main_mediaserver.cpp index 263dd32..99572f8 100644 --- a/media/mediaserver/main_mediaserver.cpp +++ b/media/mediaserver/main_mediaserver.cpp @@ -35,6 +35,7 @@ #include "MediaPlayerService.h" #include "service/AudioPolicyService.h" #include "SoundTriggerHwService.h" +#include "RadioService.h" using namespace android; @@ -130,6 +131,7 @@ int main(int argc __unused, char** argv) CameraService::instantiate(); AudioPolicyService::instantiate(); SoundTriggerHwService::instantiate(); + RadioService::instantiate(); registerExtensions(); ProcessState::self()->startThreadPool(); IPCThreadState::self()->joinThreadPool(); |