Searched refs:getLatestPacketFailPercentage (Results 1 – 4 of 4) sorted by relevance
303 assertEquals(-1, tst.getLatestPacketFailPercentage()); in testPollSocketsInfo()310 assertEquals(-1, tst.getLatestPacketFailPercentage()); in testPollSocketsInfo()318 assertEquals(50, tst.getLatestPacketFailPercentage()); in testPollSocketsInfo()337 assertEquals(-1, tst.getLatestPacketFailPercentage()); in testTcpInfoParsingUnsupported()395 assertEquals(50, tst.getLatestPacketFailPercentage()); in testPollSocketsInfo_BadFormat()403 assertEquals(0, tst.getLatestPacketFailPercentage()); in testPollSocketsInfo_BadFormat()416 assertEquals(-1, tst.getLatestPacketFailPercentage()); in testUnMatchNetwork()
328 return (getLatestPacketFailPercentage() >= getTcpPacketsFailRateThreshold()); in isDataStallSuspected()366 public int getLatestPacketFailPercentage() { in getLatestPacketFailPercentage() method in TcpSocketTracker
2101 when(mTst.getLatestPacketFailPercentage()).thenReturn(TEST_TCP_FAIL_RATE);2251 verify(mTst, timeout(HANDLER_TIMEOUT_MS).atLeastOnce()).getLatestPacketFailPercentage();2253 verify(mTst, never()).getLatestPacketFailPercentage();2951 when(mTst.getLatestPacketFailPercentage()).thenReturn(TEST_TCP_FAIL_RATE);
1158 stats.setTcpFailRate(tst.getLatestPacketFailPercentage()); in addTcpStats()3326 .add("latest tcp fail rate=" + tst.getLatestPacketFailPercentage()); in isDataStall()3358 p.tcpPacketFailRate = tst.getLatestPacketFailPercentage(); in isDataStall()