Framework
Android Framework学习笔记
doublelixin
这个作者很懒,什么都没留下…
展开
-
AOSP中打印两个Activity跳转的时间
ActivityStarter类的execute() 打印出时间和顶层应用的名字。在AOSP的源码路径中。原创 2024-07-08 16:14:39 · 173 阅读 · 0 评论 -
WindowManagerService--WMS
PhoneWindow继承自Window,Window通过setWindowManager方法与WindowManager发生关联。WindowManager继承自接口ViewManager,WindowManagerImpl是WindowManager接口的实现类,但是具体的功能都会委托给WindowManagerGlobal来实现。为了更好的理解WMS,首先要了解PhoneWindow,Window,WindowManager,WindowManagerImpl之间的关系。图片来自网络,侵删。原创 2024-05-10 14:44:24 · 133 阅读 · 0 评论 -
Android Framework学习笔记
CameraService,AlarmManagerService,InputManagerService,WindowManagerService,BluetoothService,NotificationManagerService,DeviceStorageMonitorService,LocationManagerService,AudioService等属于其他服务。在SystemServer的run()方法中官方把大约100多个系统服务分为了三种类型,分别是引导服务、核心服务和其他服务。原创 2024-05-10 11:14:05 · 245 阅读 · 0 评论