Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6e4d4e3 authored by David Su's avatar David Su
Browse files

wifi.proto: Rename MapEntryInt32Int32 to Int32Count

Rename MapEntryInt32Int32 to Int32Count to be more specific to the actual use
case.

Bug: 112029045
Test: compiles
Change-Id: I71d70e7572078a9ff62d80993256e55d25dfbc5d
parent 268e3ac0
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -2288,13 +2288,13 @@ message HistogramBucketInt32 {
  optional int32 count = 3;
}

// Single entry in a map from int32 => int32
message MapEntryInt32Int32 {
// Counts occurrences of a int32 key
message Int32Count {
  // the key
  optional int32 key = 1;

  // the value
  optional int32 value = 2;
  // the count
  optional int32 count = 2;
}

message LinkProbeStats {
@@ -2325,16 +2325,16 @@ message LinkProbeStats {
  }

  // Counts the occurrences of RSSI values when a link probe succeeds.
  repeated MapEntryInt32Int32 success_rssi_counts = 1;
  repeated Int32Count success_rssi_counts = 1;

  // Counts the occurrences of RSSI values when a link probe fails.
  repeated MapEntryInt32Int32 failure_rssi_counts = 2;
  repeated Int32Count failure_rssi_counts = 2;

  // Counts the occurrences of Link Speed values when a link probe succeeds.
  repeated MapEntryInt32Int32 success_link_speed_counts = 3;
  repeated Int32Count success_link_speed_counts = 3;

  // Counts the occurrences of Link Speed values when a link probe fails.
  repeated MapEntryInt32Int32 failure_link_speed_counts = 4;
  repeated Int32Count failure_link_speed_counts = 4;

  // Histogram for the number of seconds since the last TX success when a link probe succeeds.
  repeated HistogramBucketInt32 success_seconds_since_last_tx_success_histogram = 5;
@@ -2361,7 +2361,7 @@ message NetworkSelectionExperimentDecisions {
  // same network selection as experiment2.
  // The keys are the number of network choices, and the values are the number of occurrences of
  // this number of network choices when exp1 and exp2 make the same network selection.
  repeated MapEntryInt32Int32 same_selection_num_choices_counter = 3;
  repeated Int32Count same_selection_num_choices_counter = 3;

  // Counts occurrences of the number of network choices there were when experiment1 makes the
  // same network selection as experiment2.
@@ -2369,7 +2369,7 @@ message NetworkSelectionExperimentDecisions {
  // this number of network choices when exp1 and exp2 make different network selections.
  // Note that it is possible for the network selection to be different even when there only exists
  // a single network choice, since choosing not to connect to that network is a valid choice.
  repeated MapEntryInt32Int32 different_selection_num_choices_counter = 4;
  repeated Int32Count different_selection_num_choices_counter = 4;
}

// NetworkRequest API metrics.