# Repos/Android is source code of Android
cd Repos/Android/system;
for file in `find . -name *.rc -print`
do
grep -e "^service" $file;
done

The output is :
service bluetoothtbd /system/bin/bluetoothtbd
service vold /system/bin/vold \
service defaultcrypto /system/bin/vdc --wait cryptfs mountdefaultencrypted
service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default 
noui
service webservd /system/bin/webservd
service webservd_tclient /system/bin/webservd_test_client
service netd /system/bin/netd
service firewalld /system/bin/firewalld
service apmanager /system/bin/apmanager
service shill /system/bin/shill --device-black-list=sit0,dummy0,p2p0
service keystore /system/bin/keystore /data/misc/keystore
service logd /system/bin/logd
service logd-reinit /system/bin/logd --reinit
service debuggerd /system/bin/debuggerd
service debuggerd64 /system/bin/debuggerd64
service crash_reporter /system/bin/crash_reporter --init
service crash_sender /system/bin/periodic_scheduler 3600 14400 crash_sender 
\
service adbd /sbin/adbd --root_seclabel=u:r:su:s0
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote 
--start-system-server
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote 
--start-system-server --socket-name=zygote
service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin 
--zygote --socket-name=zygote_secondary
service zygote /system/bin/app_process -Xzygote /system/bin --zygote 
--start-system-server
service ueventd /sbin/ueventd
service healthd /sbin/healthd
service console /system/bin/sh
service flash_recovery /system/bin/install-recovery.sh
service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote 
--start-system-server --socket-name=zygote
service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin 
--zygote --socket-name=zygote_secondary
service gatekeeperd /system/bin/gatekeeperd /data/misc/gatekeeper
service logcatd /system/bin/logcat -b all -v threadtime -v usec -v 
printable -D -f /data/misc/logd/logcat -r 1024 -n 256
service metricsd /system/bin/metricsd --foreground --logtosyslog
service metricscollector /system/bin/metrics_collector --foreground 
--logtosyslog
service lmkd /system/bin/lmkd
service perfprofd /system/xbin/perfprofd
service weaved /system/bin/weaved
service update_engine /system/bin/update_engine --logtostderr --foreground

Are those?

在 2016年1月16日星期六 UTC+8下午4:50:19,慕冬亮写道:
>
> I have seen this Anatomy-Physiology-of-an-Android.pdf and have a little 
> understanding about the architecture of Android.
> I want to ask a question, how many native daemons are started by init 
> process, which is started by the kernel?
> I have a small set.
> [ServiceManager, adbd, vold, netd, debuggerd, rild, zygote, mediaserver, 
> bootanimation, dbus-daemon, bluetoothd, installd, keystore]
>
> And which daemon is for both Linux Distro(like Ubuntu, Debian) and 
> Android? like bluetoothd.
> Which is for Android only? like keystore.
>
> Does anyone tell me more information about native daemons started by init?
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/5a93dd98-b0e1-4274-8fa8-37186e2acd38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to