Home
last modified time | relevance | path

Searched refs:trafficClass (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DAbstractPlainDatagramSocketImpl.java54 private int trafficClass = 0; field in AbstractPlainDatagramSocketImpl
301 trafficClass = ((Integer)o).intValue(); in setOption()
365 result = new Integer(trafficClass); in getOption()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java344 Class<?> trafficClass = TrafficLights.class; in testClassIsEnum() local
348 assertSame(trafficClass, redClass); in testClassIsEnum()
349 assertNotSame(trafficClass, yellowClass); in testClassIsEnum()
350 assertNotSame(trafficClass, greenClass); in testClassIsEnum()
352 assertTrue(trafficClass.isEnum()); in testClassIsEnum()
356 assertNotNull(trafficClass.getEnumConstants()); in testClassIsEnum()
/libcore/ojluni/src/main/native/
Dnet_util.h151 NET_SetTrafficClass(struct sockaddr *him, int trafficClass);
Dnet_util_md.c829 NET_SetTrafficClass(struct sockaddr *him, int trafficClass) {
833 him6->sin6_flowinfo = htonl((trafficClass & 0xff) << 20);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java998 int trafficClass = socket.getTrafficClass(); in test_getTrafficClass() local
999 assertTrue(0 <= trafficClass); in test_getTrafficClass()
1000 assertTrue(trafficClass <= 255); in test_getTrafficClass()
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java1601 int trafficClass = theSocket.getTrafficClass(); in test_getTrafficClass() local