Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0538b172 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6838697 from 8b4dd536 to sc-d1-release

Change-Id: I5576df4339ba6d1fed2b8a3eea2525d471d4031f
parents 0e6af8ca 8b4dd536
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -207,7 +207,6 @@ public class TcpSocketTrackerTest {
    private static final int TEST_NETID2_FWMARK = 0x1A85;
    private static final int NETID_MASK = 0xffff;
    @Mock private TcpSocketTracker.Dependencies mDependencies;
    @Mock private FileDescriptor mMockFd;
    @Mock private INetd mNetd;
    private final Network mNetwork = new Network(TEST_NETID1);
    private final Network mOtherNetwork = new Network(TEST_NETID2);
@@ -226,7 +225,7 @@ public class TcpSocketTrackerTest {
                Log.setWtfHandler((tag, what, system) -> Log.e(tag, what.getMessage(), what));
        when(mDependencies.getNetd()).thenReturn(mNetd);
        when(mDependencies.isTcpInfoParsingSupported()).thenReturn(true);
        when(mDependencies.connectToKernel()).thenReturn(mMockFd);
        when(mDependencies.connectToKernel()).thenReturn(new FileDescriptor());
        when(mDependencies.getDeviceConfigPropertyInt(
                eq(NAMESPACE_CONNECTIVITY),
                eq(CONFIG_TCP_PACKETS_FAIL_PERCENTAGE),