Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApState.java49 final String mIface; field in SoftApState
69 mIface = iface; in SoftApState()
82 mIface = in.readString(); in SoftApState()
93 dest.writeString(mIface); in writeToParcel()
174 return mIface; in getIface()
183 + ", mIface='" + mIface + '\'' in toString()
193 && Objects.equals(mIface, stateInfo.mIface); in equals()
198 return Objects.hash(mState, mFailureReason, mTetheringRequest, mIface); in hashCode()
/packages/modules/Connectivity/framework-t/src/android/net/
DUnderlyingNetworkInfo.java44 private final String mIface; field in UnderlyingNetworkInfo
55 mIface = iface; in UnderlyingNetworkInfo()
61 mIface = in.readString(); in UnderlyingNetworkInfo()
75 return mIface; in getInterface()
88 + ", iface='" + mIface + '\'' in toString()
101 dest.writeString(mIface); in writeToParcel()
127 && Objects.equals(mIface, that.getInterface()) in equals()
133 return Objects.hash(mOwnerUid, mIface, mUnderlyingIfaces); in hashCode()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java103 private String mIface; field in Nat464Xlat
214 mIface = CLAT_PREFIX + baseIface; in enterStartingState()
243 mIface = null; in leaveStartedState()
301 String iface = mIface; in stop()
440 if (lp.getAllInterfaceNames().contains(mIface)) { in fixupLinkProperties()
444 Log.d(TAG, "clatd running, updating NAI for " + mIface); in fixupLinkProperties()
448 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()
457 stacked.setInterfaceName(mIface); in makeLinkProperties()
467 clatAddress.getAddress(), mIface); in makeLinkProperties()
504 if (!isStarting() || !up || !Objects.equals(mIface, iface)) { in handleInterfaceLinkStateChanged()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackHidlImplTest.java65 private String mIface = "test_p2p0"; field in SupplicantP2pIfaceCallbackHidlImplTest
94 mDut = new SupplicantP2pIfaceCallbackImplSpy(mP2pIfaceHal, mIface, mMonitor); in setUp()
113 assertEquals(iface, mIface); in testOnDeviceFound_success()
165 verify(mMonitor).broadcastP2pDeviceFound(eq(mIface), deviceCaptor.capture()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
257 assertEquals(iface, mIface); in testOnDeviceLost_success()
298 assertEquals(iface, mIface); in testOnGoNegotiationRequest_success()
359 assertEquals(iface, mIface); in testOnGroupStarted_success()
489 verify(mMonitor).broadcastP2pProvisionDiscoveryFailure(eq(mIface), in verifyProvisionDiscoveryFailureEvent()
609 verify(mMonitor).broadcastP2pFindStopped(eq(mIface)); in testOnFindStopped()
618 verify(mMonitor).broadcastP2pGoNegotiationSuccess(eq(mIface)); in testOnGoNegotiationCompletedSuccess()
[all …]
DSupplicantP2pIfaceCallbackAidlImplTest.java80 private String mIface = "test_p2p0"; field in SupplicantP2pIfaceCallbackAidlImplTest
119 mDut = new SupplicantP2pIfaceCallbackImplSpy(mIface, mMonitor, serviceVersion); in initializeDut()
138 assertEquals(iface, mIface); in testOnDeviceFound_success()
218 assertEquals(iface, mIface); in testOnDeviceFoundWithParams_success()
263 verify(mMonitor).broadcastP2pDeviceFound(eq(mIface), deviceCaptor.capture()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
350 assertEquals(iface, mIface); in testOnDeviceLost_success()
391 assertEquals(iface, mIface); in testOnGoNegotiationRequest_success()
456 assertEquals(iface, mIface); in testOnGoNegotiationRequestWithParams_success()
499 assertEquals(iface, mIface); in testOnGroupStarted_success()
569 assertEquals(iface, mIface); in testOnGroupStartedWithParams_success()
[all …]
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java340 private final TetheringInterface mIface; field in EthernetTetheringTestBase.MyTetheringEventCallback
357 mIface = new TetheringInterface(TETHERING_ETHERNET, iface); in MyTetheringEventCallback()
364 mIface = new TetheringInterface(TETHERING_ETHERNET, iface); in MyTetheringEventCallback()
383 if (!mInterfaceWasTethered && interfaces.contains(mIface)) { in onTetheredInterfacesChanged()
388 } else if (mInterfaceWasTethered && !interfaces.contains(mIface)) { in onTetheredInterfacesChanged()
404 if (!mInterfaceWasLocalOnly && interfaces.contains(mIface)) { in onLocalOnlyInterfacesChanged()
409 } else if (mInterfaceWasLocalOnly && !interfaces.contains(mIface)) { in onLocalOnlyInterfacesChanged()
450 assertTrue(mIface + " not untethered after " + EXPANDED_TIMEOUT_MS + "ms", in awaitInterfaceUntethered()
453 assertTrue(mIface + " not untethered after " + EXPANDED_TIMEOUT_MS + "ms", in awaitInterfaceUntethered()
456 fail(mIface + " cannot be both tethered and local-only. Update this test class."); in awaitInterfaceUntethered()
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Client.java127 @NonNull private final InterfaceParams mIface; field in Dhcp6Client
156 cmdName = Dhcp6Client.class.getSimpleName() + "." + mIface.name + "." + cmdName; in makeWakeupMessage()
167 mIface = iface; in Dhcp6Client()
802 SocketUtils.bindSocketToInterface(mUdpSock, mIface.name); in createFd()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java354 private InterfaceParams mIface; field in DhcpClient
570 client.mIface = ifParams; in makeDhcpClient()
612 if (mIface == null) mIface = InterfaceParams.getByName(mIfaceName); in initInterface()
613 if (mIface == null) { in initInterface()
618 mHwAddr = mIface.macAddr.toByteArray(); in initInterface()
620 ETH_P_IP, mIface.index, DhcpPacket.ETHER_BROADCAST); in initInterface()
703 final SocketAddress addr = makePacketSocketAddress(ETH_P_IP, mIface.index); in createFd()
1564 SocketAddress addr = makePacketSocketAddress(ETH_P_ARP, mIface.index); in createFd()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java762 mNetworkCapabilities.put(config.mIface, nc); in parseEthernetConfig()
766 mIpConfigurations.put(config.mIface, ipConfig); in parseEthernetConfig()
1043 final String mIface; field in EthernetTracker.EthernetTrackerConfig
1050 mIface = tokens[0]; in EthernetTrackerConfig()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java317 assertEquals(TEST_IFACE, config.mIface); in testCreateEthernetTrackerConfigReturnsCorrectValue()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java319 private final IpSecManager.IpSecTunnelInterface mIface; field in EpdgTunnelManager.TunnelConfig
339 mIface = iface; in TunnelConfig()
454 return mIface; in getIface()
472 && mIface != null; /* The tunnel interface is bring up */ in hasTunnelOpened()