Home
last modified time | relevance | path

Searched refs:mIface (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java98 private static String mIface = ""; field in EthernetNetworkFactory
129 if (!mIface.equals(iface)) { in updateInterfaceState()
185 Log.e(TAG, "Interface unexpectedly changed from " + iface + " to " + mIface); in setInterfaceUp()
190 Log.e(TAG, "Error upping interface " + mIface + ": " + e); in setInterfaceUp()
206 if (!iface.equals(mIface)) in stopTrackingInterface()
212 NetworkUtils.stopDhcp(mIface); in stopTrackingInterface()
229 Log.i(TAG, "Applying static IPv4 configuration to " + mIface + ": " + staticConfig); in setStaticIpAddress()
230 InterfaceConfiguration config = mNMService.getInterfaceConfig(mIface); in setStaticIpAddress()
232 mNMService.setInterfaceConfig(mIface, config); in setStaticIpAddress()
265 if (DBG) Log.i(TAG, "dhcpThread(" + mIface + "): mNetworkInfo=" + mNetworkInfo); in onRequestNetwork()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java70 private String mIface; field in Nat464Xlat
101 return mIface != null; in isStarted()
108 mIface = null; in clear()
139 mIface = CLAT_PREFIX + mBaseIface; in start()
184 !mNetwork.linkProperties.getAllInterfaceNames().contains(mIface)) { in fixupLinkProperties()
185 Slog.d(TAG, "clatd running, updating NAI for " + mIface); in fixupLinkProperties()
187 if (mIface.equals(stacked.getInterfaceName())) { in fixupLinkProperties()
197 stacked.setInterfaceName(mIface); in makeLinkProperties()
207 clatAddress.getAddress(), mIface); in makeLinkProperties()
238 if (isStarted() && up && mIface.equals(iface)) { in interfaceLinkStateChanged()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsDecoratorTest.java33 private DummyInterface mIface; field in CameraUtilsDecoratorTest
38 mIface = Decorator.newInstance(new DummyImpl(), mDummyListener); in setUp()
109 assertTrue(mIface.addValues(1, 2, 3) == 6); in testDecorator()
124 mIface.raiseException(); in testDecoratorExceptions()
141 mIface.raiseUnsupportedOperationException(); in testDecoratorUnsupportedOperationException()
159 mIface.addValues(1, 2, 3); in testDecoratorRaisesException()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java155 private NetworkInterface mIface; field in DhcpClient
270 mIface = NetworkInterface.getByName(mIfaceName); in initInterface()
271 mHwAddr = mIface.getHardwareAddress(); in initInterface()
272 mInterfaceBroadcastAddr = new PacketSocketAddress(mIface.getIndex(), in initInterface()
289 PacketSocketAddress addr = new PacketSocketAddress((short) ETH_P_IP, mIface.getIndex()); in initSockets()