Android system services Startup Process

Source: Internet
Author: User

Stenographer of the android System Service Startup Process

Init =>

Zygote service =>
Main () @ frameworks/base/cmds/app_process/app_main.cpp =>
Startsystemserver () @ zygoteinit. Java =>
Init1 () @ systemserver. Java =>
JNI =>
Android_server_systemserver_init1 () @ com_android_server_systemserver.cpp =>
System_init () @ system_init.cpp =>
(Start surfaceflinger, sensorservice, androidruntime)
Com. Android. server. systemserver. init2 () @ systemserver. Java =>
Serverthread. Run () @ systemserver. Java

Following services are started one after another:

EntropyService
ActivityManagerService
TelephonyRegistry
PackageManagerService
AccountManagerService
ActivityManagerService
LightsService
BatteryService
VibratorService
AlarmManagerService
WindowManagerService
BluetoothService
BluetoothA2dpService
InputMethodManagerService
AccessibilityManagerService
DevicePolicyManagerService
StatusBarManagerService
ClipboardService
NetworkManagementService
TextServicesManagerService
NetworkStatsService
NetworkPolicyManagerService
WifiP2pService
WifiService
ConnectivityService
ThrottleService
MountService
NotificationManagerService
DeviceStorageMonitorService
LocationManagerService
CountryDetectorService
SearchManagerService
DropBoxManagerService
WallpaperManagerService
AudioService
DockObserver
WiredAccessoryObserver
UsbService
UiModeManagerService
BackupManagerService
AppWidgetService
RecognitionManagerService
DiskStatsService
SamplingProfilerService
NetworkTimeUpdateService

...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.