DisplayManagerService (DMS) in Android: Architecture and Implementation Analysis
The Android DisplayManagerService (DMS) orchestrates detection, addition, configuration, and removal of physical and logical displays, handling multi‑user, virtual, split‑screen, foldable, and HDR scenarios through components such as DisplayDeviceRepository, LogicalDisplayMapper, adapters, and power controllers, all initialized by SystemServer.