【Android源码 栏目提醒】:本文主要为网学会员提供“android系统启动 - 产品手册”,希望对需要android系统启动 - 产品手册网友有所帮助,学习一下!
RayerLink Confidential ProprietaryAndroid系统启动过 RayzerLink Ltd. 2010-04-10 RayerLink Confidential Proprietary 计划1. 内 介绍1. 内 介绍 介绍 介绍2. 启动过2. 启动过3.3. 动 动 RayerLink Confidential Proprietary 内 介绍介绍系统启动过 ,动态 看android系统结构. RayerLink Confidential Proprietary户态 RayerLink Confidential Proprietary Init启动 护进Init启动Linux…u护 , 过Init.rcAinit.hardware.rc_q RayerLink Confidential Proprietary Init启动zygote进程它将 个Dalvik VM实转载classes、 处 启动VMD 请求 过Fork÷y 管 为 进 创建VM实Copy-on-write÷y/ GWA 优 启动 RayerLink Confidential ProprietaryZygote进程启动System Server RayerLink Confidential ProprietaryInit启动native media server RayerLink Confidential ProprietaryMediaServer三个Service注册 RayerLink Confidential Proprietary System Server启动的服务System Server启动Android managed servicesSurfaceFlinger通过JNI调用被启动 RayerLink Confidential Proprietary System Server中服务注册SurfaceFlinger通过native层接口注册其他通过Java层接口注册 RayerLink Confidential Proprietary 当前系统状况USER PID PPID VSIZE RSS WCHAN PC NAMEroot 1 0 296 204 c008de04 0000c74c S /initroot 548 1 740 312 c0141bb0 afe0c1bc S /system/bin/shsystem 549 1 808 264 c01654b4 afe0c45c S /system/bin/servicemanagerroot 550 1 848 392 c008e3f4 afe0c584 S /system/bin/voldroot 551 1 668 264 c0192c20 afe0cdec S /system/bin/debuggerdradio 552 1 5392 684 ffffffff afe0cacc S /system/bin/rildroot 553 1 72432 20836 c008e3f4 afe0c584 S zygotemedia 555 1 17720 3496 ffffffff afe0c45c S /system/bin/mediaserverroot 557 1 800 300 c01f3b04 afe0c1bc S /system/bin/installdroot 560 1 840 356 c00ae7b0 afe0d1dc S /system/bin/qemudroot 563 1 3332 152 ffffffff 0000e8c4 S /sbin/adbdsystem 579 553 177828 24732 ffffffff afe0c45c S system_server RayerLink Confidential Proprietary Activity Manager启动Phone appPhone是Persistent Application,包含telephonyframeworkradio 623 553 105820 17384 ffffffff afe0d3e4 S com.android.phone RayerLink Confidential Proprietary Activity Manager启动Launcher第一个Activity被 ActivityManagerService 发出的Intent.CATEGORY_HOME启动 ,即Home程序app_3 625 553 114276 21100 ffffffff afe0d3e4 S android.process.acore RayerLink Confidential Proprietary 被boot completed事件唤起的进程下图只画出MMS DAEMON SYSTEM INIT ZYGOTE PHONE android.p MMS PROCESSES SERVER rocess.ac ore Activity Manager Package Manager Window Manager ... phone Launcher Mms Dalvik Dalvik Dalvik Dalvik VM VM VM VM Surface Flinger Init daemons daemons Zygote RayerLink Confidential Proprietary 系统启动完毕时状态USER PID PPID VSIZE RSS WCHAN PC NAMEroot 1 0 296 204 c008de04 0000c74c S /initroot 548 1 740 312 c0141bb0 afe0c1bc S /system/bin/shsystem 549 1 808 264 c01654b4 afe0c45c S /system/bin/servicemanagerroot 550 1 848 392 c008e3f4 afe0c584 S /system/bin/voldroot 551 1 668 264 c0192c20 afe0cdec S /system/bin/debuggerdradio 552 1 5392 684 ffffffff afe0cacc S /system/bin/rildroot 553 1 72432 20836 c008e3f4 afe0c584 S zygotemedia 555 1 17720 3496 ffffffff afe0c45c S /system/bin/mediaserverroot 557 1 800 300 c01f3b04 afe0c1bc S /system/bin/installdroot 560 1 840 356 c00ae7b0 afe0d1dc S /system/bin/qemudroot 563 1 3332 152 ffffffff 0000e8c4 S /sbin/adbdsystem 579 553 177828 24732 ffffffff afe0c45c S system_serverradio 623 553 105820 17384 ffffffff afe0d3e4 S com.android.phoneapp_3 625 553 114276 21100 ffffffff afe0d3e4 S android.process.acoreapp_15 649 553 95532 13228 ffffffff afe0d3e4 S com.android.mmsapp_0 662 553 94292 12620 ffffffff afe0d3e4 S com.android.alarmclockapp_4 673 553 94380 13528 ffffffff afe0d3e4 S android.process.media RayerLink Confidential Proprietarytideyingmail.com