/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketTestCase.java | 49 public static final int IP_TOS = 10; field in OldSocketTestCase 81 case IP_TOS: in getOptionIsSupported() 155 case IP_TOS: in getSocketOptionString()
|
D | OldSocketTest.java | 1577 ensureExceptionThrownIfOptionIsUnsupportedOnOS(IP_TOS); in test_setTrafficClassI() 1579 handleException(e, IP_TOS); in test_setTrafficClassI() 1602 ensureExceptionThrownIfOptionIsUnsupportedOnOS(IP_TOS); in test_getTrafficClass() 1604 handleException(e, IP_TOS); in test_getTrafficClass()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocketImpl.java | 263 } else if (name == StandardSocketOptions.IP_TOS) { in setOption() 264 setOption(SocketOptions.IP_TOS, value); in setOption() 289 } else if (name == StandardSocketOptions.IP_TOS) { in getOption() 290 return (T) getOption(SocketOptions.IP_TOS); in getOption()
|
D | SocketImpl.java | 379 } else if (name == StandardSocketOptions.IP_TOS) { in setOption() 380 setOption(SocketOptions.IP_TOS, value); in setOption() 399 } else if (name == StandardSocketOptions.IP_TOS) { in getOption() 400 return (T)getOption(SocketOptions.IP_TOS); in getOption()
|
D | SocketOptions.java | 222 @Native public final static int IP_TOS = 0x3; field
|
D | StandardSocketOptions.java | 250 public static final SocketOption<Integer> IP_TOS = field in StandardSocketOptions
|
D | AbstractPlainDatagramSocketImpl.java | 297 case IP_TOS: in setOption() 362 case IP_TOS: in getOption()
|
D | DatagramSocket.java | 1221 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass() 1249 return ((Integer)(getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
|
D | Socket.java | 1421 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass() 1452 return ((Integer) (getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 362 set.add(StandardSocketOptions.IP_TOS); in initOptionSets() 375 set.add(StandardSocketOptions.IP_TOS); in initOptionSets() 385 set.add(StandardSocketOptions.IP_TOS); in initOptionSets() 398 set.add(StandardSocketOptions.IP_TOS); in initOptionSets()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketOptionRegistry.java | 68 …map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET), new OptionKey(… in options() 72 …map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET6), new OptionKey… in options()
|
D | ServerSocketChannelImpl.java | 137 if (name == StandardSocketOptions.IP_TOS) { in setOption() 188 set.add(StandardSocketOptions.IP_TOS); in defaultOptions()
|
D | DatagramSocketAdaptor.java | 341 setIntOption(StandardSocketOptions.IP_TOS, tc); in setTrafficClass() 345 return getIntOption(StandardSocketOptions.IP_TOS); in getTrafficClass()
|
D | SocketAdaptor.java | 395 setIntOption(StandardSocketOptions.IP_TOS, tc); in setTrafficClass() 399 return getIntOption(StandardSocketOptions.IP_TOS); in getTrafficClass()
|
D | SocketChannelImpl.java | 217 if (name == StandardSocketOptions.IP_TOS) { in setOption() 258 if (name == StandardSocketOptions.IP_TOS) { in getOption() 281 set.add(StandardSocketOptions.IP_TOS); in defaultOptions()
|
D | DatagramChannelImpl.java | 222 if (name == StandardSocketOptions.IP_TOS || in setOption() 288 if (name == StandardSocketOptions.IP_TOS || in getOption() 338 set.add(StandardSocketOptions.IP_TOS); in defaultOptions()
|
D | Net.java | 317 if (name == StandardSocketOptions.IP_TOS) {
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 327 case SocketOptions.IP_TOS: in getSocketOptionErrno() 415 case SocketOptions.IP_TOS: in setSocketOptionErrno() 416 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TOS, (Integer) value); in setSocketOptionErrno()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 922 { java_net_SocketOptions_IP_TOS, IPPROTO_IP, IP_TOS }, 1073 if (level == IPPROTO_IP && opt == IP_TOS) { in NET_SetSockOpt()
|
D | Net.c | 546 setsockopt(fdval(env, fdo), IPPROTO_IP, IP_TOS, parg, arglen); in Java_sun_nio_ch_Net_setIntOption0()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 355 public static final int IP_TOS = placeholder(); field in OsConstants
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousSocketChannelTest.java | 860 asc.setOption(StandardSocketOptions.IP_TOS, 5); in test_options_iae()
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 348 initConstant(env, c, "IP_TOS", IP_TOS); in OsConstants_initConstants()
|