To ensure system stability and improve system performance, the AAOS framework team added the Watchdog module in Android 10 as part of the core system services. The Watchdog module consists of a native daemon and a CarService component. The native daemon interacts with the native services and the CarService component interacts with the Android apps and Java services.

  • Monitor flash memory usage. Monitors the flash memory usage by all apps and services. Detects and acts on flash memory overuse by any app or service.
  • Collect performance data. Collects I/O performance since early system bootup. Reports the collected performance data in the bugreport.
  • Monitor system health. Monitors the health of the core services and vehicle hardware abstraction layer (VHAL) service.