Where Are The Android System Services Started?
In the book Embedded Android, it says In init.rc, only an action results in the execution of commands. Service declarations only serve to describe services, they do not actually
Solution 1:
I found the answer.
The statement "Service declarations only serve to describe services, they do not actually start anything" is correct. The native daemons are actually started in init.rc by following lines: (lines 371-372 in https://android.googlesource.com/platform/system/core/+/master/rootdir/init.rc)
- class_start core
- class_start main
where all daemons that belong to class core and class main are started respectively.
Post a Comment for "Where Are The Android System Services Started?"