Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java105 private final LongSparseArray<SocketInfo> mSocketInfos = new LongSparseArray<>();
245 final SocketInfo info = parseSockInfo(bytes, family, nlmsgLen, time); in pollSocketsInfo()
294 SocketInfo parseSockInfo(@NonNull final ByteBuffer bytes, final int family, in parseSockInfo()
298 int mark = SocketInfo.INIT_MARK_VALUE; in parseSockInfo()
315 final SocketInfo info = new SocketInfo(tcpInfo, family, mark, time); in parseSockInfo()
332 private TcpStat calculateLatestPacketsStat(@NonNull final SocketInfo current, in calculateLatestPacketsStat()
333 @Nullable final SocketInfo previous) { in calculateLatestPacketsStat()
465 class SocketInfo { class in TcpSocketTracker
477 SocketInfo(@Nullable final TcpInfo info, final int family, final int mark, in SocketInfo() method in TcpSocketTracker.SocketInfo
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java267 final TcpSocketTracker.SocketInfo parsed = in testParseSockInfo()