Add NO_FAILURE error code to the
PnoScanStopped atom.
Also add comments to explain each
of the failure codes.
Bug: 272121293
Test: m
Change-Id: I3a847ecc2c0afd1d16655a9e54ac0681593a822b
Merged-In: I3a847ecc2c0afd1d16655a9e54ac0681593a822b
diff --git a/stats/atoms/wifi/wifi_extension_atoms.proto b/stats/atoms/wifi/wifi_extension_atoms.proto
index 5dd1b7e..e0ca758 100644
--- a/stats/atoms/wifi/wifi_extension_atoms.proto
+++ b/stats/atoms/wifi/wifi_extension_atoms.proto
@@ -408,10 +408,16 @@
}
enum FailureCode {
+ // Default value. Error is unknown
UNSPECIFIED_FAILURE = 0;
- WIFICOND_SCAN_FAILURE = 1;
- WIFICOND_REQUEST_FAILURE = 2;
- WIFI_SCANNING_SERVICE_FAILURE = 3;
+ // No error occurred
+ NO_FAILURE = 1;
+ // Wificond scan returned a failure
+ WIFICOND_SCAN_FAILURE = 2;
+ // An error occurred while requesting the wificond scan
+ WIFICOND_REQUEST_FAILURE = 3;
+ // WifiScanningService returned a failure
+ WIFI_SCANNING_SERVICE_FAILURE = 4;
}
// Reason that this scan stopped