Home
last modified time | relevance | path

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

/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
H A DTcpSocketTrackerTest.java227 when(mDependencies.isTcpInfoParsingSupported()).thenReturn(true); in setUp()
293 when(mDependencies.isTcpInfoParsingSupported()).thenReturn(false); in testPollSocketsInfo()
297 when(mDependencies.isTcpInfoParsingSupported()).thenReturn(true); in testPollSocketsInfo()
332 doReturn(false).when(mDependencies).isTcpInfoParsingSupported(); in testTcpInfoParsingUnsupported()
342 verify(mDependencies, atLeastOnce()).isTcpInfoParsingSupported(); in testTcpInfoParsingUnsupported()
349 .isTcpInfoParsingSupported()); in testTcpInfoParsingNotSupportedOnQ()
355 .isTcpInfoParsingSupported()); in testTcpInfoParsingSupportedFromR()
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
H A DTcpSocketTracker.java158 if (!mDependencies.isTcpInfoParsingSupported()) return; in TcpSocketTracker()
195 if (!mDependencies.isTcpInfoParsingSupported()) return false; in pollSocketsInfo()
327 if (!mDependencies.isTcpInfoParsingSupported()) return false; in isDataStallSuspected()
367 if (!mDependencies.isTcpInfoParsingSupported()) return -1; in getLatestPacketFailPercentage()
378 if (!mDependencies.isTcpInfoParsingSupported()) return -1; in getSentSinceLastRecv()
384 if (!mDependencies.isTcpInfoParsingSupported()) return -1; in getLatestReceivedCount()
579 public boolean isTcpInfoParsingSupported() { in isTcpInfoParsingSupported() method in TcpSocketTracker.Dependencies
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
H A DNetworkMonitorTest.java657 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(false); in makeMonitor()
1697 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(true);
1737 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(true);
2099 when(mTstDependencies.isTcpInfoParsingSupported()).thenReturn(true);