Searched refs:ethernetIface (Results 1 – 1 of 1) sorted by relevance
404 final String ethernetIface = "eth1"; in testGetForwardedStats() local415 when(mHardware.getForwardedStats(eq(ethernetIface))).thenReturn(ethernetStats); in testGetForwardedStats()421 lp.setInterfaceName(ethernetIface); in testGetForwardedStats()429 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(ethernetIface)); in testGetForwardedStats()431 lp.setInterfaceName(ethernetIface); in testGetForwardedStats()439 when(mHardware.getForwardedStats(eq(ethernetIface))).thenReturn(ethernetStats); in testGetForwardedStats()445 inOrder.verify(mHardware, times(1)).getForwardedStats(eq(ethernetIface)); in testGetForwardedStats()464 int ethernetPosition = ethernetIface.equals(stats.getValues(0, entry).iface) ? 0 : 1; in testGetForwardedStats()475 assertNetworkStats(ethernetIface, ethernetStats, entry); in testGetForwardedStats()477 assertNetworkStats(ethernetIface, ethernetStats, entry); in testGetForwardedStats()[all …]