Searched refs:TcpSocketTracker (Results 1 – 4 of 4) sorted by relevance
209 @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 …]
175 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()
86 public class TcpSocketTracker { class144 public TcpSocketTracker(@NonNull final Dependencies dps, @NonNull final Network network) { in TcpSocketTracker() method in TcpSocketTracker
148 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()