Home
last modified time | relevance | path

Searched refs:getTcpStateName (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpInfoTest.java148 assertEquals(TcpInfo.getTcpStateName(4), TCP_FIN_WAIT1); in testTcpStateName()
149 assertEquals(TcpInfo.getTcpStateName(1), TCP_ESTABLISHED); in testTcpStateName()
150 assertEquals(TcpInfo.getTcpStateName(2), TCP_SYN_SENT); in testTcpStateName()
151 assertEquals(TcpInfo.getTcpStateName(20), UNKNOWN_20); in testTcpStateName()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpInfo.java160 static String getTcpStateName(int state) { in getTcpStateName() method in TcpInfo