Android system services at a glance

Source: Internet
Author: User

System_server process

More services running in the system server process, which is the foundation of the entire Android framework

Native Service

Surfaceflinger

This is a service that framebuffer synthetic services that synthesize logical window image data (surface) from individual applications and applications into a physical window (framebuffer)

Java Services:

Most of this service has a provisioning manager class that is used by the process, which is an RPC call that the user is actually migrating to System_ by calling the Xxxmanager method. The corresponding method in the Xxxmanagerservice in the server process, and brings the results back through the binder.

1 . Entropyservice

Entropy Service, periodic loading and saving of random information. After Linux is switched on, the state of the/dev/random may be predictable, and some applications that require random information may have problems. This does not require an application interface.

2 . Powermanagerservice–> PowerManager

The power management of Android is also a very important part. For example, in the standby time to turn off the use of the device, the screen and keyboard backlight shutdown, the user when the operation of the number of devices to open and so on.

3. Activitymanagerservice->activitymanager

This is one of the most core services in the entire Android framework framework, managing the core implementations of tasks, process management, intent parsing, and so on throughout the framework. Although the manager Service is called activity, it governs not only the activity, but also the three other components, and the processes in which they are located. In other words, the life management of the user application is in his charge.

4. Telephonyregistry->telephonymanager

Telephone registration, Management Service module, you can get the link status of the phone, signal strength and so on. < can be deleted, but to see probably understand >

5. Packagemanagerservice-Packagemanager

Including unpacking, verifying, installing and upgrading the package, and so on, we should start by analyzing the cause of the. So file that we can't install right now.

6. Accountmanagerservice-Accountmanager

A system service that provides account, password, and Authtoken management for all

accounts on the device.

7 . Contentservice-Contentresolver

Content services, mainly the database and other services to provide solutions.

8 . Batteryservice

Services that monitor battery charge and status, broadcast intent when the status changes

9 . Hardwareservice

It's usually the ring and vibrate service program.

Ten . Sensorservice-Sensormanager

Manage Sensor Equipment Services, register client devices and activate sensor when client needs to use sensor

One . Windowmanagerservice, WindowManager, Phonewindowmanager

Highly bonded with Activitymanagerservice

Window management, the most important thing here is the distribution and management of input events.

. Alarmmanagerservice-Alarmmanager

Alarm Clock Service Program

. Bluetoothservice-Bluetoothdevice

Background management and service programs for Bluetooth

. Statusbarservice-Statusbarmanager

Responsible for the update of StatusBar, animation and so on services, the service is not big.

the . Clipboardservice-Clipboardmanager

Similar to the Clipboard services of other systems, it provides copy and paste merits.

. Inputmethodmanagerservice-Inputmethodmanager

Input method of the Management Service program, including when to enable input method, switch input method and so on.

. Netstatservice

Mobile network Services

. Connectivityservice-Connectivitymanager

Network connection Status service, which can be used for other application queries, can also broadcast changes when the network status changes.

. Accessibilitymanagerservice-> Accessibilitymanager

This piece may take a closer look, mainly some view to get click, focus, text changes and other events distribution management, the entire system debugging, problem positioning, but also need the most of this service carefully.

. Notificationmanagerservice-Notificationmanager

Responsible for management and notification of the occurrence of background events and so on, this and statusbar glue together, generally will add the response icon on the statusbar. This lets the user know what's going on in the background of the system.

. Mountservice

Disk Loading service program, generally with a Linux daemon program such as VOLD/MOUNTD and other cooperation functions, mainly responsible for monitoring and broadcast device Mount/unmount/bad removal and so on events.

. Devicestoragemonitorservice

Services that monitor disk space and warn users when disk space is less than 10%

at . Locationmanagerservice-Locationmanager

To join the GPS service, this part to see, now the application of the navigation is not responding, you can start from here to look at

. Searchmanagerservice-Searchmanager

The Search Manager service handles the search UI, and maintains a registry of searchable activities.

. Checkin Service (Fallbackcheckinservice)

Seemingly checkin service is a package provided by Google, there is no source code, the source only Fallbackcheckinservice

. Wallpapermanagerservice-Wallpapermanager
Manage desktop background services, deep customization of desktop systems, need to understand and extend < compatibility > This Part

. Audioservice-Audiomanager

Audioflinger Upper management package, mainly for volume, sound, channel and ringtone management

. Headsetobserver

Monitor small loops for headphone Plug and Unplug events

in . Dockobserver

If the system has a stand, when the phone is loaded or pulled out of the seats, you have to rely on him to manage

. Backupmanagerservice-Backupmanager

Backup service

to . Appwidgetservice-Appwidgetmanager

Android allows users to write programs that are placed on the desktop by widgets, which is the interface for this set of management and services

. Statusbarpolicy

Manage which icon the policy is displayed on the status bar.

MediaServer Service Process

MediaServer services are basically native Services,mediaserver process is also launched in init.rc, it is not a daemon process, this is easy to confuse. He is also a system service process similar to the Systemserver process that provides the location where the real service code of the RPC invocation of the application process runs. Its services are related to media recording, there are three main services:

Audioflinger

Sound recording and playback services, including mixing

Mediaplayerservice

Provide media playback service, Opencore is the core module of this block, the interface on Java side is Mediaplayer.java

Cameraservice

Services to provide camera recording, preview and other functions

Audiopolicyservice

The main function is to check the connection status of input and the switching of audio policies of the system.

http://blog.csdn.net/freshui/article/details/5993195

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.