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

Commit 8737d25e authored by Chiachang Wang's avatar Chiachang Wang
Browse files

Support partial connectivity probe result option

Bug: 124629963
Test: atest NetworkStackTests
Change-Id: I1c22bad6ba94d23892e8907d6e7b28d074922339
parent 307df45b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ enum ProbeResult {
    VALID = 1;
    INVALID = 2;
    PORTAL = 3;
    PARTIAL = 4;
}

enum ApBand {
+2 −0
Original line number Diff line number Diff line
@@ -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;
        }