android SystemServer

Copyright notice: reproduced please specify blog address https://blog.csdn.net/jinron10/article/details/88533363

In this paper, for the service SystemServer.java called when the system startup will be explained

android/frameworks/base/services/java/com/android/server/SystemServer.java

SystemServer start the init process, please refer to:

Zygote process [3] - the birth of SystemServer

The following are mainly involved when starting the service and the role of SystemServer

SystemProperties.getBoolean 获取 /system/build.prop 中属性
SystemProperties.get("persist.support.securetest").equals("1"))

1.AccountManagerService
Android account services to provide centralized management of accounts, passwords, authorization.
2.AccessibilityManagerService
assist management program intercepts all user input, and based on these inputs give the user some additional feedback, play a secondary effect, View of clicks, the focus of events such as distribution management service.
3.ActivityManagerService
Android Framework framework of core services to manage the entire task framework, process management, Intent to resolve other core implementation, management set up four of the life cycle.
4.AlarmManagerService
provide alarm and timer functions.
5.AppWidgetService
Android Widget provides management and related services
6.AssetAtlasService
responsible for assembly into the pre-loaded bitmap texture mapping, texture maps generated can be used across processes used to reduce memory.
7.AudioService
AudioFlinger upper management package, primarily volume, audio, ring tones and channel management.
8.BackupManagerService
backup service.
9.BatteryService
responsible for monitoring the battery state of charge, battery level, voltage, temperature and other information, when the battery information changes occur broadcasting service notification process and other relationships battery information.
10.BluetoothManagerService
responsible for back office and Bluetooth services.
11.ClipboardService
clipboard service.
12.CommonTimeManagementService
configuration management of local common service time, when the network configuration changes reconfiguring local services.
13.ConnectivityService
network connection status service.
14.ContentService
content services, mainly to provide services such as database solutions.
15.ConsumerIrService
remote control, device control around the infrared, etc. (eg TV)
16.CountryDetectorService
detect Country
17.DevicePolicyManagerService
provide some system-level settings and properties
18.DiskStatsService
disk statistics service for dumpsys use
19.DisplayManagerService
for global display lifecycle management, configuration logic determine how the physical display devices are connected, and notifies the system and application state changes.
20.DreamManagerService
screen saver.
21.DropBoxManagerService
used to store logs on the management system is running.
22.IdleMaintenanceService
For observation equipment status, maintenance tasks when the device is idle. It will be executed when the device is idle into some of the more time-consuming task relatively high costs, thus ensuring the user experience.
23.InputManagerService
previously WindowManagerService, the now independent out, the user event processing distribution.
24.InputMethodManagerService
input method service, open and close the input method.
25.LightsService
light-sensitive sensor services.
26.LocationManagerService
location services, GPS, positioning and so on.
27.LockSettingsService
and lock screen interface to enter a password, gestures and other security related functions. You can save the relevant information for each user's lock screen.
28.WallpaperManagerService
wallpaper management services.
29.MountService
disk loading service program, and are generally a linux daemon program, such as vold / mountd and other cooperation work, mainly responsible for monitoring and broadcasting device's mount / unmount / badremoval events and so on.
30.NetworkManagementService
Network management services. ANDROID system network connection and service management system consists of four service ConnectivityService, NetworkPolicyManagerService, NetworkManagementService, NetworkStatsService together with the completion of network connectivity and management capabilities. ConnectivityService, NetworkPolicyManagerService, NetworkStatsService three services are accessed via INetworkManagementService NetworkManagementService service interfaces across process, read the information and interact with the network interface.
31.NetworkPolicyManagerService
maintenance of network usage policies.
32.NetworkStatsService
statistics related networks.
33.NetworkTimeUpdateService
monitoring network time, update the local time when the network time.
34.NotificationManagerService
notification service.
35.NsdService
network service search
36.PackageManagerService
Android Framework framework of core services, for parsing the APK, rights verification, installation and so on.
37.PrintManagerService
print services.
38.PowerManagerService
power management services.
39.RecognitionManagerService
identity-related.
40.SamplingProfilerService
for time-consuming statistics.
41.SearchManagerService
search service.
42.SchedulingPolicyService
scheduling policy.
43.SerialService
of serial devices to operate
44.StatusBarManagerService
status bar.
45.TelephonyRegistry
provide telephone registration, management service, you can get telephone link status, signal strength, and so on.
46.TextServicesManagerService
text services, such as text inspection.
47.TwilightService
pointed out that the current location of the user whether the night, and so was UiModeManager used to adjust the night mode.
48.UiModeManagerService
manages the current drive mode and a night mode Android device ..
49.UsbService
the USB Host and device management services.
50.VibratorService
vibrator services.
51.WifiP2pService
the Wifi Direct service.
52.WifiService
the Wifi service.
53.WindowManagerService
Android Framework framework of core services, window management services.
54.WiredAccessoryManager
monitoring phone and headset on the base.
55.ConsumerIrService
customer service customized infrared remote control
56.PersistentDataBlock
factory reset protection
57.StartDeviceIdleController
idle control
57.StartDevicePolicyManager
management and operation of the equipment, you can take over the phone app permissions
58.StartWifiRtt
wifi indoor positioning
59.StartWifiAware
the Wi-Fi equipment Aware it is possible to detect a compatible device (such as smart phones) exists before the connection is established
60.StartLowpan
free wifi bluetooth android thing things low-flow-Fi
61.StartEthernet
wired network connection
62.ConnectivityService
Fi service
63.StartNsdService
for We found an application on neighboring devices in a small area networks
64.UPDATE_LOCK_SERVICE

Guess you like

Origin blog.csdn.net/jinron10/article/details/88533363