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

Commit 4089f1fd authored by lifr's avatar lifr
Browse files

ADD new enum NetworkType to identify multiple transport type in

stats.proto

Add new NetworkType for multiple transport
1. CELLULAR + VPN = NT_CELLULAR_VPN
2. WIFI + VPN = NT_WIFI_VPN
3. BLUETOOTH + VPN = NT_BLUETOOTH_VPN
4. Ethernet + VPN = NT_ETHERNET_VPN

Bug: 143732914
Test: atest
Change-Id: I24ceff6bc95af79d92d3e39695b24d10763cdb4e
parent 731dc404
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -170,12 +170,20 @@ enum NetworkType {
    NT_BLUETOOTH = 3;
    // Indicates this network uses an Ethernet transport.
    NT_ETHERNET = 4;
    // Indicates this network uses a VPN transport.
    NT_VPN = 5;
    // Indicates this network uses a VPN transport, now deprecated.
    NT_VPN = 5 [deprecated=true];
    // Indicates this network uses a Wi-Fi Aware transport.
    NT_WIFI_AWARE = 6;
    // Indicates this network uses a LoWPAN transport.
    NT_LOWPAN = 7;
    // Indicates this network uses a Cellular+VPN transport.
    NT_CELLULAR_VPN = 8;
    // Indicates this network uses a Wi-Fi+VPN transport.
    NT_WIFI_VPN = 9;
    // Indicates this network uses a Bluetooth+VPN transport.
    NT_BLUETOOTH_VPN = 10;
    // Indicates this network uses an Ethernet+VPN transport.
    NT_ETHERNET_VPN = 11;
}

enum CacheStatus{