多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
#### 本章主要内容: - 分析SystemServer - 分析EntropyService、DropBoxManagerService、DiskStatsService - 分析DeviceStorageMonitorService、SamplingProfilerService以及ClipboardService #### 本章所涉及的源代码文件名及位置: - SystemServer.java `frameworks/base/services/java/com/android/server/SystemServer.java` - com_android_server_SystemServer.cpp `frameworks/base/services/jni/com_android_server_SystemServer.cpp` - System_init.cpp `frameworks/base/cmds/system_server/library/System_init.cpp` - EntropyService.java `frameworks/base/services/java/com/android/server/EntropyService.java` - DropBoxManagerService.java `frameworks/base/services/java/com/android/server/DropBoxManagerService.java` - ActivityManagerService.java `frameworks/base/services/java/com/android/server/am/ActivityManagerService.java` - DiskStatsService.java `frameworks/base/services/java/com/android/server/DiskStatsService.java` - dumpsys.cpp `frameworks/base/cmds/dumpsys/dumpsys.cpp` - DeviceStorageMonitorService.java `frameworks/base/services/java/com/android/server/DeviceStorageMonitorService.java` - SamplingProfilerService.java `frameworks/base/services/java/com/android/server/SamplingProfilerService.java` - SamplingProfilerIntegration.java `frameworks/base/core/java/com/android/internal/os/SamplingProfilerIntegration.java` - SamplingProfiler.java `libcore/dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java` - ClipboardService.java `frameworks/base/services/java/com/android/server/ClipboardService.java` - ClipboardManager.java(android.content) `frameworks/base/core/java/android/content/ClipboardManager.java` - ClipboardManager.java(android.text) `frameworks/base/core/java/android/text/ClipboardManager.java` - ClipData.java `frameworks/base/core/java/android/content/ClipData.java`