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

Commit 55727aae authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "StrictMode to detect untagged network traffic." am: 67fe28d9 am: db5ed5be

am: 3391f337

Change-Id: I942f9c44a8c3b1abf39694816a34790df3e224ad
parents 89848975 3391f337
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -108,6 +108,26 @@ public class TrafficStats {
     */
    public static final int TAG_SYSTEM_RESTORE = 0xFFFFFF04;

    /** @hide */
    public static final int TAG_SYSTEM_DHCP = 0xFFFFFF05;
    /** @hide */
    public static final int TAG_SYSTEM_NTP = 0xFFFFFF06;
    /** @hide */
    public static final int TAG_SYSTEM_PROBE = 0xFFFFFF07;
    /** @hide */
    public static final int TAG_SYSTEM_NEIGHBOR = 0xFFFFFF08;
    /** @hide */
    public static final int TAG_SYSTEM_GPS = 0xFFFFFF09;
    /** @hide */
    public static final int TAG_SYSTEM_PAC = 0xFFFFFF0A;

    /**
     * Sockets that are strictly local on device; never hits network.
     *
     * @hide
     */
    public static final int TAG_SYSTEM_LOCAL = 0xFFFFFFAA;

    private static INetworkStatsService sStatsService;

    private synchronized static INetworkStatsService getStatsService() {