Merge "Support partial connectivity probe result option"
This commit is contained in:
@@ -25,6 +25,7 @@ enum ProbeResult {
|
||||
VALID = 1;
|
||||
INVALID = 2;
|
||||
PORTAL = 3;
|
||||
PARTIAL = 4;
|
||||
}
|
||||
|
||||
enum ApBand {
|
||||
@@ -86,4 +87,4 @@ message DnsEvent {
|
||||
repeated int32 dns_return_code = 1;
|
||||
// Indicate the timestamp of the dns event.
|
||||
repeated int64 dns_time = 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +46,8 @@ public class DataStallStatsUtils {
|
||||
return DataStallEventProto.VALID;
|
||||
} else if (result.isPortal()) {
|
||||
return DataStallEventProto.PORTAL;
|
||||
} else if (result.isPartialConnectivity()) {
|
||||
return DataStallEventProto.PARTIAL;
|
||||
} else {
|
||||
return DataStallEventProto.INVALID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user