Deliver an Intent on excessive I/O activity
CarStorageMonitoringService will attempt to detect write rates and
fsync call metrics that exceed an OEM-configurable threshold for
appropriate behavior, and - should actual system activity go above those
thresholds - it will deliver an intent to an OEM-specified receiver.
Test: writing one
Bug: 32512551
Bug: 65846699
Change-Id: I1bb5812d3d671067c62d8870c0ae98824d7590f0
diff --git a/car-lib/api/system-current.txt b/car-lib/api/system-current.txt
index 88267ca..bb8b0b1 100644
--- a/car-lib/api/system-current.txt
+++ b/car-lib/api/system-current.txt
@@ -1019,6 +1019,7 @@
method public java.util.List<android.car.storagemonitoring.WearEstimateChange> getWearEstimateHistory() throws android.car.CarNotConnectedException;
method public void registerListener(android.car.storagemonitoring.CarStorageMonitoringManager.UidIoStatsListener) throws android.car.CarNotConnectedException;
method public void unregisterListener(android.car.storagemonitoring.CarStorageMonitoringManager.UidIoStatsListener) throws android.car.CarNotConnectedException;
+ field public static final java.lang.String INTENT_EXCESSIVE_IO = "android.car.storagemonitoring.EXCESSIVE_IO";
field public static final int PRE_EOL_INFO_NORMAL = 1; // 0x1
field public static final int PRE_EOL_INFO_UNKNOWN = 0; // 0x0
field public static final int PRE_EOL_INFO_URGENT = 3; // 0x3