最終更新:2017-04-04 (火) 15:22:36 (2724d)
Android/init/サービス?mediaserver
Top / mediaserver
コマンド
ソースコード
起動の指定
- AOSP/system/core/rootdir/init.rc
- Android/init.rc
service media /system/bin/mediaserver
起動するサービス
Android 7.0から
Android 6.0まで
- MediaLogService?::instantiate();
- AudioFlinger::instantiate();
- MediaPlayerService?::instantiate();
- ResourceManagerService?::instantiate();
- CameraService::instantiate();
- AudioPolicyService?::instantiate();
- SoundTriggerHwService?::instantiate();
- RadioService?::instantiate();
サーバの分割
- To improve device security, Android 7.0 breaks up the monolithic mediaserver process into multiple processes with permissions and capabilities restricted to only those required by each process.
- https://source.android.com/devices/media/framework-hardening.html
cameraserver - media.camera
- CameraService::instantiate();
audioserver
- MediaLogService?::instantiate();
- AudioFlinger::instantiate();
- AudioPolicyService?::instantiate();
- RadioService?::instantiate();
- SoundTriggerHwService?::instantiate();
mediacodec?
- MediaCodecService?
drmserver?
mediadrmserver?
- MediaDrmServer?
mediaextractor?
- ExtractorService?