Home
last modified time | relevance | path

Searched refs:TcpSocketTracker (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java209 @Mock private TcpSocketTracker.Dependencies mDependencies;
265 final TcpSocketTracker tst = new TcpSocketTracker(mDependencies, mNetwork); in testParseSockInfo()
267 final TcpSocketTracker.SocketInfo parsed = in testParseSockInfo()
281 assertTrue(TcpSocketTracker.enoughBytesRemainForValidNlMsg(buffer)); in testEnoughBytesRemainForValidNlMsg()
284 assertFalse(TcpSocketTracker.enoughBytesRemainForValidNlMsg(buffer)); in testEnoughBytesRemainForValidNlMsg()
287 assertFalse(TcpSocketTracker.enoughBytesRemainForValidNlMsg(buffer)); in testEnoughBytesRemainForValidNlMsg()
295 final TcpSocketTracker tst = new TcpSocketTracker(mDependencies, mNetwork); in testPollSocketsInfo()
334 final TcpSocketTracker tst = new TcpSocketTracker(mDependencies, mNetwork); in testTcpInfoParsingUnsupported()
349 assertFalse(new TcpSocketTracker.Dependencies(getInstrumentation().getContext()) in testTcpInfoParsingNotSupportedOnQ()
355 assertTrue(new TcpSocketTracker.Dependencies(getInstrumentation().getContext()) in testTcpInfoParsingSupportedFromR()
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java175 import com.android.networkstack.netlink.TcpSocketTracker;
430 private final TcpSocketTracker mTcpTracker;
555 @Nullable TcpSocketTracker tst) { in NetworkMonitor()
1021 final TcpSocketTracker tst = getTcpSocketTracker(); in initSocketTrackingIfRequired()
1050 final TcpSocketTracker tst = getTcpSocketTracker(); in processMessage()
1144 final TcpSocketTracker tst = getTcpSocketTracker(); in addTcpStats()
3311 private TcpSocketTracker getTcpSocketTracker() { in getTcpSocketTracker()
3343 final TcpSocketTracker tst = getTcpSocketTracker(); in isDataStall()
3548 private static TcpSocketTracker getTcpSocketTrackerOrNull(Context context, Network network) { in getTcpSocketTrackerOrNull()
3554 ? new TcpSocketTracker(new TcpSocketTracker.Dependencies(context), network) in getTcpSocketTrackerOrNull()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java86 public class TcpSocketTracker { class
144 public TcpSocketTracker(@NonNull final Dependencies dps, @NonNull final Network network) { in TcpSocketTracker() method in TcpSocketTracker
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java148 import com.android.networkstack.netlink.TcpSocketTracker;
238 private @Mock TcpSocketTracker.Dependencies mTstDependencies;
240 private @Mock TcpSocketTracker mTst;
581 private TcpSocketTracker getTcpSocketTrackerOrNull(NetworkMonitor.Dependencies dp) { in getTcpSocketTrackerOrNull()