Lines Matching defs:socket
50 public static void tagSocket(Socket socket) throws SocketException {
51 TrafficStats.tagSocket(socket);
54 public static void untagSocket(Socket socket) throws SocketException {
55 TrafficStats.untagSocket(socket);
58 public static void tagDatagramSocket(DatagramSocket socket) throws SocketException {
59 final ParcelFileDescriptor pfd = ParcelFileDescriptor.fromDatagramSocket(socket);
60 TrafficStats.tagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor()));
68 public static void untagDatagramSocket(DatagramSocket socket) throws SocketException {
69 final ParcelFileDescriptor pfd = ParcelFileDescriptor.fromDatagramSocket(socket);
70 TrafficStats.untagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor()));