Home
last modified time | relevance | path

Searched refs:getNetworkInterfaceIndexByName (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java137 mDependencies.getNetworkInterfaceIndexByName(newP2pIface, mSharedLog);
243 public int getNetworkInterfaceIndexByName(@NonNull final String ifaceName, in getNetworkInterfaceIndexByName() method in MdnsSocketProvider.Dependencies
434 if (mDependencies.getNetworkInterfaceIndexByName(tetheringInterfaceName, mSharedLog) in maybeUpdateTetheringSocketAddress()
488 int ifaceIndex = mDependencies.getNetworkInterfaceIndexByName(name, mSharedLog); in handleTetherInterfacesChanged()
659 int ifaceIndex = mDependencies.getNetworkInterfaceIndexByName(interfaceName, in retrieveAndNotifySocketFromInterface()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketProviderTest.java158 doReturn(TETHERED_IFACE_IDX).when(mDeps).getNetworkInterfaceIndexByName( in setUp()
160 doReturn(789).when(mDeps).getNetworkInterfaceIndexByName( in setUp()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java2561 return getNetworkInterfaceIndexByName(interfaceName); in getNetworkInterfaceIndex()
2581 private int getNetworkInterfaceIndexByName(final String ifaceName) { in getNetworkInterfaceIndexByName() method in NsdService