Files
rr3-apk/decompiled-community/sources/androidx/core/net/TrafficStatsCompat.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

72 lines
2.0 KiB
Java

package androidx.core.net;
import android.net.TrafficStats;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import java.net.DatagramSocket;
import java.net.Socket;
import java.net.SocketException;
/* loaded from: classes.dex */
public final class TrafficStatsCompat {
@Deprecated
public static void clearThreadStatsTag() {
TrafficStats.clearThreadStatsTag();
}
@Deprecated
public static int getThreadStatsTag() {
return TrafficStats.getThreadStatsTag();
}
@Deprecated
public static void incrementOperationCount(int i) {
TrafficStats.incrementOperationCount(i);
}
@Deprecated
public static void incrementOperationCount(int i, int i2) {
TrafficStats.incrementOperationCount(i, i2);
}
@Deprecated
public static void setThreadStatsTag(int i) {
TrafficStats.setThreadStatsTag(i);
}
@Deprecated
public static void tagSocket(Socket socket) throws SocketException {
TrafficStats.tagSocket(socket);
}
@Deprecated
public static void untagSocket(Socket socket) throws SocketException {
TrafficStats.untagSocket(socket);
}
public static void tagDatagramSocket(@NonNull DatagramSocket datagramSocket) throws SocketException {
Api24Impl.tagDatagramSocket(datagramSocket);
}
public static void untagDatagramSocket(@NonNull DatagramSocket datagramSocket) throws SocketException {
Api24Impl.untagDatagramSocket(datagramSocket);
}
private TrafficStatsCompat() {
}
@RequiresApi(24)
public static class Api24Impl {
private Api24Impl() {
}
public static void tagDatagramSocket(DatagramSocket datagramSocket) throws SocketException {
TrafficStats.tagDatagramSocket(datagramSocket);
}
public static void untagDatagramSocket(DatagramSocket datagramSocket) throws SocketException {
TrafficStats.untagDatagramSocket(datagramSocket);
}
}
}