服务类别
system_server进程,从源码角度划分为引导服务、核心服务、其他服务3类。 以下这些系统服务的注册过程, 见Android系统服务的注册方式
- 引导服务(7个):ActivityManagerService、PowerManagerService、LightsService、DisplayManagerService、PackageManagerService、UserManagerService、SensorService;
- 核心服务(3个):BatteryService、UsageStatsService、WebViewUpdateService;
- 其他服务(70个+):AlarmManagerService、VibratorService等。
合计总大约80个系统服务:
ActivityManagerService | PackageManagerService | WindowManagerService |
PowerManagerService | BatteryService | BatteryStatsService |
DreamManagerService | DropBoxManagerService | SamplingProfilerService |
UsageStatsService | DiskStatsService | DeviceStorageMonitorService |
SchedulingPolicyService | AlarmManagerService | DeviceIdleController |
ThermalObserver | JobSchedulerService | AccessibilityManagerService |
DisplayManagerService | LightsService | GraphicsStatsService |
StatusBarManagerService | NotificationManagerService | WallpaperManagerService |
UiModeManagerService | AppWidgetService | LauncherAppsService |
TextServicesManagerService | ContentService | LockSettingsService |
InputMethodManagerService | InputManagerService | MountService |
FingerprintService | TvInputManagerService | DockObserver |
NetworkManagementService | NetworkScoreService | NetworkStatsService |
NetworkPolicyManagerService | ConnectivityService | BluetoothService |
WifiP2pService | WifiService | WifiScanningService |
AudioService | MediaRouterService | VoiceInteractionManagerService |
MediaProjectionManagerService | MediaSessionService | |
DevicePolicyManagerService | PrintManagerService | BackupManagerService |
UserManagerService | AccountManagerService | TrustManagerService |
SensorService | LocationManagerService | VibratorService |
CountryDetectorService | GestureLauncherService | PersistentDataBlockService |
EthernetService | WebViewUpdateService | ClipboardService |
TelephonyRegistry | TelecomLoaderService | NsdService |
UpdateLockService | SerialService | SearchManagerService |
CommonTimeManagementService | AssetAtlasService | ConsumerIrService |
MidiServiceCameraService | TwilightService | RestrictionsManagerService |
MmsServiceBroker | RttService | UsbService |