From c3c3d5e799cdb8fdf01a3de44a8512d0db3c6e0e Mon Sep 17 00:00:00 2001 From: Vikas Marwaha Date: Fri, 28 Aug 2020 21:09:26 +0000 Subject: CDD: Require writing LMK_KILL_OCCURRED_FIELD_NUMBER to the statsd log when an app is terminated by the Low Memory Killer. - This will enable reporting to developers if their apps are frequently killed by the Low Memory Killer. Bug: 148611927 Change-Id: I8499925c9af9772c7bfc5478a4fed347274531a1 Test: Manual --- 6_dev-tools-and-options/6_1_developer_tools.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/6_dev-tools-and-options/6_1_developer_tools.md b/6_dev-tools-and-options/6_1_developer_tools.md index 8045e8e4..33e6df16 100644 --- a/6_dev-tools-and-options/6_1_developer_tools.md +++ b/6_dev-tools-and-options/6_1_developer_tools.md @@ -98,7 +98,10 @@ SDK. * [C-SR] Are STRONGLY RECOMMENDED to provide, through the perfetto binary, at least the data sources described in [the perfetto documentation]( https://developer.android.com/studio/command-line/perfetto). - +* [**Low Memory Killer**](https://source.android.com/devices/tech/perf/lmkd) + * [C-0-10] MUST write a `LMK_KILL_OCCURRED_FIELD_NUMBER` Atom to the + statsd log when an app is terminated by the [Low Memory Killer]( + https://source.android.com/devices/tech/perf/lmkd). * [**Test Harness Mode**](https://source.android.com/compatibility/cts/harness) If device implementations support the shell command `cmd testharness` and run `cmd testharness enable`, they: -- cgit v1.2.3