summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
author sangyun <sangyun@google.com> 2024-03-15 10:23:18 +0900
committer sangyun <sangyun@google.com> 2024-03-22 05:34:10 +0900
commitd048c8bf63ef6cddef5e6e1784d17192e12dd69b (patch)
tree4352cbd8f3bcec33b29aae7afa35b261320ffb6b /proto/src
parent199bedac673b2c351fa95ce6632cc472afea4777 (diff)
Logs atom for data network validation
When network validation is completed, it is recorded in metrics. Network validation begins when a request is received from QNS and a response is recorded as success, failure, not supported, etc. Bug: 327257377 Test: atest DataNetworkValidationStatsTest PersistAtomsStorageTest Change-Id: Ib2db3bb340bd3048250111b83bea4526117c5a5a
Diffstat (limited to 'proto/src')
-rw-r--r--proto/src/persist_atoms.proto18
1 files changed, 17 insertions, 1 deletions
diff --git a/proto/src/persist_atoms.proto b/proto/src/persist_atoms.proto
index e54c969a7c..fb89155979 100644
--- a/proto/src/persist_atoms.proto
+++ b/proto/src/persist_atoms.proto
@@ -23,7 +23,7 @@ option java_outer_classname = "PersistAtomsProto";
// Holds atoms to store on persist storage in case of power cycle or process crash.
// NOTE: using int64 rather than google.protobuf.Timestamp for timestamps simplifies implementation.
-// Next id: 70
+// Next id: 72
message PersistAtoms {
/* Aggregated RAT usage during the call. */
repeated VoiceCallRatUsage voice_call_rat_usage = 1;
@@ -231,6 +231,12 @@ message PersistAtoms {
/* Timestamp of last satellite_sos_message_recommender pull. */
optional int64 satellite_sos_message_recommender_pull_timestamp_millis = 69;
+
+ /* Data Network Validation statistics and information. */
+ repeated DataNetworkValidation data_network_validation = 70;
+
+ /* Timestamp of last data_network_validation pull. */
+ optional int64 data_network_validation_pull_timestamp_millis = 71;
}
// The canonical versions of the following enums live in:
@@ -694,3 +700,13 @@ message SatelliteSosMessageRecommender {
optional int32 recommending_handover_type = 7;
optional bool is_satellite_allowed_in_current_location = 8;
}
+
+message DataNetworkValidation {
+ optional int32 network_type = 1;
+ optional int32 apn_type_bitmask = 2;
+ optional int32 signal_strength = 3;
+ optional int32 validation_result = 4;
+ optional int64 elapsed_time_in_millis = 5;
+ optional bool handover_attempted = 6;
+ optional int32 network_validation_count = 7;
+}