Searched refs:nif (Results 1 – 5 of 5) sorted by relevance
92 NetworkInterface nif = NetworkInterface.getByName(wifiTetheringIface); in addressConflictTest() local94 final LinkAddress hotspotAddr = getFirstIpv4Address(nif); in addressConflictTest()120 nif = NetworkInterface.getByName(newIface.getInterface()); in addressConflictTest()121 final LinkAddress newHotspotAddr = getFirstIpv4Address(nif); in addressConflictTest()135 private LinkAddress getFirstIpv4Address(final NetworkInterface nif) { in getFirstIpv4Address() argument136 for (InterfaceAddress ia : nif.getInterfaceAddresses()) { in getFirstIpv4Address()
71 NetworkInterface nif = NetworkInterface.getByName(mInterfaceName); in TestNetworkInterface() local74 byte[] hardwareAddress = nif.getHardwareAddress(); in TestNetworkInterface()76 macAddress = MacAddress.fromBytes(nif.getHardwareAddress()); in TestNetworkInterface()78 mtu = nif.getMTU(); in TestNetworkInterface()
462 NetworkInterface nif = NetworkInterface.getByName(iface); in assertInterfaceHasIpAddress() local463 for (InterfaceAddress ia : nif.getInterfaceAddresses()) { in assertInterfaceHasIpAddress()470 + nif.getInterfaceAddresses()); in assertInterfaceHasIpAddress()
587 NetworkInterface nif = NetworkInterface.getByName(iface.getInterfaceName()); in getMTU() local588 assertNotNull("Can't get NetworkInterface object for " + iface.getInterfaceName(), nif); in getMTU()589 return nif.getMTU(); in getMTU()
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...