android.process.acore和system进程
从源码看来,android.process.acore进程应该是一些基本功能的载入程序。
android-4.3_r2.2中,它包括以下项目:
View Code<application android:process="android.process.acore" android:label="@string/app_label" android:allowClearUserData="false" android:backupAgent="DictionaryBackupAgent" android:killAfterRestore="false" >
<application android:process="android.process.acore" android:label="@string/app_label">
View Code<application android:process="android.process.acore" android:label="@string/app_label" android:icon="@drawable/app_icon" android:allowBackup="false">
同样在android-4.3_r2.2中,system进程包括以下项目:
View Code<application android:allowClearUserData="false" android:label="@string/app_label" android:process="system">
View Code<application android:allowClearUserData="false" android:label="@string/app_label" android:process="system" android:backupAgent="SettingsBackupAgent" android:killAfterRestore="false" android:icon="@drawable/ic_launcher_settings">
View Code<application android:label="@string/app_label" android:process="system">
4.core
View Code<application android:process="system" android:persistent="true" android:hasCode="false" android:label="@string/android_system_label" android:allowClearUserData="false" android:backupAgent="com.android.server.SystemBackupAgent" android:killAfterRestore="false" android:icon="@drawable/ic_launcher_android" android:supportsRtl="true"> <activity android:name="com.android.internal.app.ChooserActivity" android:theme="@style/Theme.Holo.Dialog.Alert" android:finishOnCloseSystemDialogs="true" android:excludeFromRecents="true" android:multiprocess="true"> <intent-filter> <action android:name="android.intent.action.CHOOSER" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <activity android:name="com.android.internal.app.HeavyWeightSwitcherActivity" android:theme="@style/Theme.Holo.Dialog" android:label="@string/heavy_weight_switcher_title" android:finishOnCloseSystemDialogs="true" android:excludeFromRecents="true" android:process=":ui"> </activity> <activity android:name="com.android.internal.app.PlatLogoActivity" android:theme="@style/Theme.Wallpaper.NoTitleBar.Fullscreen" android:process=":ui"> </activity> <activity android:name="com.android.internal.app.DisableCarModeActivity" android:theme="@style/Theme.NoDisplay" android:excludeFromRecents="true" android:process=":ui"> </activity> <activity android:name="android.accounts.ChooseAccountActivity" android:excludeFromRecents="true" android:exported="true" android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/choose_account_label" android:process=":ui"> </activity> <activity android:name="android.accounts.ChooseTypeAndAccountActivity" android:excludeFromRecents="true" android:exported="true" android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/choose_account_label" android:process=":ui"> </activity> <activity android:name="android.accounts.ChooseAccountTypeActivity" android:excludeFromRecents="true" android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/choose_account_label" android:process=":ui"> </activity> <activity android:name="android.accounts.CantAddAccountActivity" android:excludeFromRecents="true" android:exported="true" android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/error_message_title" android:process=":ui"> </activity> <activity android:name="android.accounts.GrantCredentialsPermissionActivity" android:excludeFromRecents="true" android:exported="true" android:theme="@android:style/Theme.Holo.DialogWhenLarge" android:process=":ui"> </activity> <activity android:name="android.content.SyncActivityTooManyDeletes" android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/sync_too_many_deletes" android:process=":ui"> </activity> <activity android:name="com.android.server.ShutdownActivity" android:permission="android.permission.SHUTDOWN" android:excludeFromRecents="true"> <intent-filter> <action android:name="android.intent.action.ACTION_REQUEST_SHUTDOWN" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.REBOOT" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <activity android:name="com.android.internal.app.NetInitiatedActivity" android:theme="@style/Theme.Holo.Dialog.Alert" android:excludeFromRecents="true" android:process=":ui"> </activity> <receiver android:name="com.android.server.BootReceiver" android:primaryUserOnly="true"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver> <receiver android:name="com.android.server.updates.CertPinInstallReceiver" > <intent-filter> <action android:name="android.intent.action.UPDATE_PINS" /> </intent-filter> </receiver> <receiver android:name="com.android.server.updates.IntentFirewallInstallReceiver" > <intent-filter> <action android:name="android.intent.action.UPDATE_INTENT_FIREWALL" /> </intent-filter> </receiver> <receiver android:name="com.android.server.updates.SmsShortCodesInstallReceiver" > <intent-filter> <action android:name="android.intent.action.UPDATE_SMS_SHORT_CODES" /> </intent-filter> </receiver> <receiver android:name="com.android.server.updates.CarrierProvisioningUrlsInstallReceiver" > <intent-filter> <action android:name="android.intent.action.UPDATE_CARRIER_PROVISIONING_URLS" /> </intent-filter> </receiver> <receiver android:name="com.android.server.updates.TZInfoInstallReceiver" > <intent-filter> <action android:name="android.intent.action.UPDATE_TZINFO" /> </intent-filter> </receiver> <receiver android:name="com.android.server.updates.SELinuxPolicyInstallReceiver" > <intent-filter> <action android:name="android.intent.action.UPDATE_SEPOLICY" /> </intent-filter> </receiver> <receiver android:name="com.android.server.MasterClearReceiver" android:permission="android.permission.MASTER_CLEAR" android:priority="100" > <intent-filter> <!-- For Checkin, Settings, etc.: action=MASTER_CLEAR --> <action android:name="android.intent.action.MASTER_CLEAR" /> <!-- MCS always uses REMOTE_INTENT: category=MASTER_CLEAR --> <action android:name="com.google.android.c2dm.intent.RECEIVE" /> <category android:name="android.intent.category.MASTER_CLEAR" /> </intent-filter> </receiver> <service android:name="com.android.internal.os.storage.ExternalStorageFormatter" android:permission="android.permission.MASTER_CLEAR" android:exported="true" /> <service android:name="android.hardware.location.GeofenceHardwareService" android:permission="android.permission.LOCATION_HARDWARE" android:exported="false" /> </application>
可以看到,Google正在减少共用进程。