/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocketImpl.java | 291 } else if (name == StandardSocketOptions.IP_TOS) { in setOption() 292 setOption(SocketOptions.IP_TOS, value); in setOption() 336 } else if (name == StandardSocketOptions.IP_TOS) { in getOption() 337 return (T) getOption(SocketOptions.IP_TOS); in getOption() 361 StandardSocketOptions.IP_TOS); 366 StandardSocketOptions.IP_TOS,
|
D | SocketImpl.java | 406 } else if (name == StandardSocketOptions.IP_TOS) { in setOption() 407 setOption(SocketOptions.IP_TOS, value); in setOption() 449 } else if (name == StandardSocketOptions.IP_TOS) { in getOption() 450 return (T)getOption(SocketOptions.IP_TOS); in getOption() 469 StandardSocketOptions.IP_TOS, 474 StandardSocketOptions.IP_TOS);
|
D | SocketOptions.java | 234 @Native public static final int IP_TOS = 0x3; field
|
D | StandardSocketOptions.java | 273 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 | 1223 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass() 1251 return ((Integer)(getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
|
D | Socket.java | 1444 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass() 1475 return ((Integer) (getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
|
/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 | SocketTest.java | 310 setAndAssertOption(impl, StandardSocketOptions.IP_TOS, in test_SocketOptions_setOption() 311 SocketOptions.IP_TOS, 4); in test_SocketOptions_setOption()
|
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/test/java/net/SocketOptions/ |
D | OptionsTest.java | 65 TestClass.create(StandardSocketOptions.IP_TOS, Integer.valueOf(100)) 72 TestClass.create(StandardSocketOptions.IP_TOS, Integer.valueOf(100)) 80 TestClass.create(StandardSocketOptions.IP_TOS, Integer.valueOf(100)) 200 } else if (option.equals(StandardSocketOptions.IP_TOS)) { in legacyGetOption() 218 } else if (option.equals(StandardSocketOptions.IP_TOS)) { in legacyGetOption() 236 } else if (option.equals(StandardSocketOptions.IP_TOS)) { in legacyGetOption() 255 } else if (option.equals(StandardSocketOptions.IP_TOS)) { in legacyGetOption() 284 return m.invoke(null, ss, StandardSocketOptions.IP_TOS); in getServerSocketTrafficClass() 288 return Integer.valueOf(ss.getOption(StandardSocketOptions.IP_TOS)); in getServerSocketTrafficClass()
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketImplTest.java | 73 setAndAssertOption(impl, StandardSocketOptions.IP_TOS, in testSetOption() 74 SocketOptions.IP_TOS, 3); in testSetOption()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 393 case SocketOptions.IP_TOS: in getSocketOptionErrno() 484 case SocketOptions.IP_TOS: in setSocketOptionErrno() 485 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TOS, (Integer) value); in setSocketOptionErrno()
|
/libcore/luni/annotations/flagged_api/android/system/ |
D | OsConstants.annotated.java | 734 public static final int IP_TOS; field in OsConstants 735 static { IP_TOS = 0; }
|
/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 | 542 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 | 426 public static final int IP_TOS = placeholder(); field in OsConstants
|