Searched refs:getNetworkInterfaceByName (Results 1 – 5 of 5) sorted by relevance
53 final NetworkInterface netif = getNetworkInterfaceByName(name); in getByName()90 private static NetworkInterface getNetworkInterfaceByName(String name) { in getNetworkInterfaceByName() method in InterfaceParams
321 when(mDeps.getNetworkInterfaceByName(TEST_IFACE)).thenReturn(mInterfaceParams); in testProvisioningLoss()334 when(mDeps.getNetworkInterfaceByName(eq(TEST_IFACE))).thenReturn(null); in testProvisioningLossForDisappearedInterface()365 when(mDeps.getNetworkInterfaceByName(TEST_IFACE)).thenReturn(mInterfaceParams); in testNetworkUnwantedWithStaleNetworkAgent()441 when(mDeps.getNetworkInterfaceByName(TEST_IFACE)).thenReturn(mInterfaceParams); in testIgnoreOnIpLayerStoppedCallbackForStaleCallback()
144 doReturn(mTestNetworkIfaceWrapper).when(mDeps).getNetworkInterfaceByName(anyString()); in setUp()152 .getNetworkInterfaceByName(LOCAL_ONLY_IFACE_NAME); in setUp()154 .getNetworkInterfaceByName(WIFI_P2P_IFACE_NAME); in setUp()155 doReturn(mTetheredIfaceWrapper).when(mDeps).getNetworkInterfaceByName(TETHERED_IFACE_NAME); in setUp()
92 public InterfaceParams getNetworkInterfaceByName(String name) { in getNetworkInterfaceByName() method in EthernetNetworkFactory.Dependencies551 if (null == mDeps.getNetworkInterfaceByName(name)) { in handleOnProvisioningFailure()
228 public NetworkInterfaceWrapper getNetworkInterfaceByName(@NonNull String interfaceName) in getNetworkInterfaceByName() method in MdnsSocketProvider.Dependencies507 mDependencies.getNetworkInterfaceByName(interfaceName); in createSocket()