Add WatchdogRollbackOccurred atom
This is going to be logged when a module is rolled back by watchdog for causing any crash/problem. Bug: 122808286 Test: not needed for now but will be tested when StatsLog.write is triggered. Change-Id: I1a7461b160206ab41e76621759e8dfb78ea0833b
This commit is contained in:
@@ -209,6 +209,7 @@ message Atom {
|
||||
AdbConnectionChanged adb_connection_changed = 144;
|
||||
SpeechDspStatReported speech_dsp_stat_reported = 145;
|
||||
UsbContaminantReported usb_contaminant_reported = 146;
|
||||
WatchdogRollbackOccurred watchdog_rollback_occurred = 147;
|
||||
}
|
||||
|
||||
// Pulled events will start at field 10000.
|
||||
@@ -1485,6 +1486,25 @@ message BluetoothLinkLayerConnectionEvent {
|
||||
optional android.bluetooth.hci.StatusEnum reason_code = 9;
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs when a module is rolled back by Watchdog.
|
||||
*
|
||||
* Logged from: Rollback Manager
|
||||
*/
|
||||
message WatchdogRollbackOccurred {
|
||||
enum RollbackType {
|
||||
UNKNOWN = 0;
|
||||
ROLLBACK_INITIATE = 1;
|
||||
ROLLBACK_SUCCESS = 2;
|
||||
ROLLBACK_FAILURE = 3;
|
||||
}
|
||||
optional RollbackType rollback_type = 1;
|
||||
|
||||
optional string package_name = 2;
|
||||
|
||||
optional int32 package_version_code = 3;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Logs when something is plugged into or removed from the USB-C connector.
|
||||
|
||||
Reference in New Issue
Block a user