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.java106 private final LongSparseArray<SocketInfo> mSocketInfos = new LongSparseArray<>();
246 final SocketInfo info = parseSockInfo(bytes, family, nlmsgLen, time); in pollSocketsInfo()
295 SocketInfo parseSockInfo(@NonNull final ByteBuffer bytes, final int family, in parseSockInfo()
299 int mark = SocketInfo.INIT_MARK_VALUE; in parseSockInfo()
316 final SocketInfo info = new SocketInfo(tcpInfo, family, mark, time); in parseSockInfo()
333 private TcpStat calculateLatestPacketsStat(@NonNull final SocketInfo current, in calculateLatestPacketsStat()
334 @Nullable final SocketInfo previous) { in calculateLatestPacketsStat()
466 class SocketInfo { class in TcpSocketTracker
478 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.java266 final TcpSocketTracker.SocketInfo parsed = in testParseSockInfo()