Home
last modified time | relevance | path

Searched refs:isTcpInfoParsingSupported (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java228 when(mDependencies.isTcpInfoParsingSupported()).thenReturn(true); in setUp()
294 when(mDependencies.isTcpInfoParsingSupported()).thenReturn(false); in testPollSocketsInfo()
298 when(mDependencies.isTcpInfoParsingSupported()).thenReturn(true); in testPollSocketsInfo()
333 doReturn(false).when(mDependencies).isTcpInfoParsingSupported(); in testTcpInfoParsingUnsupported()
343 verify(mDependencies, atLeastOnce()).isTcpInfoParsingSupported(); in testTcpInfoParsingUnsupported()
350 .isTcpInfoParsingSupported()); in testTcpInfoParsingNotSupportedOnQ()
356 .isTcpInfoParsingSupported()); in testTcpInfoParsingSupportedFromR()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java157 if (!mDependencies.isTcpInfoParsingSupported()) return; in TcpSocketTracker()
194 if (!mDependencies.isTcpInfoParsingSupported()) return false; in pollSocketsInfo()
326 if (!mDependencies.isTcpInfoParsingSupported()) return false; in isDataStallSuspected()
366 if (!mDependencies.isTcpInfoParsingSupported()) return -1; in getLatestPacketFailPercentage()
377 if (!mDependencies.isTcpInfoParsingSupported()) return -1; in getSentSinceLastRecv()
383 if (!mDependencies.isTcpInfoParsingSupported()) return -1; in getLatestReceivedCount()
578 public boolean isTcpInfoParsingSupported() { in isTcpInfoParsingSupported() method in TcpSocketTracker.Dependencies
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java636 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(false); in makeMonitor()
1611 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(true);
1649 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(true);
1970 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(true);