为了确保系统稳定性和提高系统性能,AAOS 框架团队在 Android 10 中添加了监控定时器模块,作为核心系统服务的一部分。监控定时器模块由原生守护程序和 CarService 组件组成。该原生守护程序与原生服务交互,而 CarService 组件与 Android 应用和 Java 服务交互。
概览
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-26。"],[],[],null,["# Overview\n\nTo ensure system stability and improve system performance, the AAOS framework\nteam added the Watchdog module in Android 10 as part of the core system services.\nThe Watchdog module consists of a native daemon and a CarService component. The\nnative daemon interacts with the native services and the CarService component\ninteracts with the Android apps and Java services.\n| **Note:** The Watchdog module described in this document is specific to the Android Automotive OS (AAOS) platform and differs from the Watchdog module in core Android.\n\n- **[Monitor flash memory usage](/docs/automotive/watchdog/wd_flash_memory).** Monitors the flash memory usage by all apps and services. Detects and acts on flash memory overuse by any app or service.\n- **[Collect performance data](/docs/automotive/watchdog/wd_performance_health).** Collects I/O performance since early system bootup. Reports the collected performance data in the bugreport.\n- **[Monitor system health](/docs/automotive/watchdog/wd_system_health).** Monitors the health of the core services and vehicle hardware abstraction layer (VHAL) service."]]