為確保系統穩定性並提升系統效能,AAOS 架構團隊在 Android 10 中新增了 Watchdog 模組,做為核心系統服務的一部分。Watchdog 模組包含原生 Daemon 和 CarService 元件。原生 Daemon 會與原生服務互動,而 CarService 元件則會與 Android 應用程式和 Java 服務互動。
總覽
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],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."]]