Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/net/
H A 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()
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/
H A DNat464Xlat.java96 private String mIface; field in Nat464Xlat
187 mIface = CLAT_PREFIX + baseIface; in enterStartingState()
216 mIface = null; in leaveStartedState()
265 String iface = mIface; in stop()
404 if (lp.getAllInterfaceNames().contains(mIface)) { in fixupLinkProperties()
408 Log.d(TAG, "clatd running, updating NAI for " + mIface); in fixupLinkProperties()
410 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()
419 stacked.setInterfaceName(mIface); in makeLinkProperties()
429 clatAddress.getAddress(), mIface); in makeLinkProperties()
475 mIface, mIface, mBaseIface)); in handleInterfaceLinkStateChanged()
[all …]
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallbackImplTest.java64 private String mIface = "test_p2p0"; field in SupplicantP2pIfaceCallbackImplTest
92 mDut = new SupplicantP2pIfaceCallbackImplSpy(mP2pIfaceHal, mIface, mMonitor); in setUp()
111 assertEquals(iface, mIface); in testOnDeviceFound_success()
163 verify(mMonitor).broadcastP2pDeviceFound(eq(mIface), deviceCaptor.capture()); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess()
255 assertEquals(iface, mIface); in testOnDeviceLost_success()
296 assertEquals(iface, mIface); in testOnGoNegotiationRequest_success()
358 assertEquals(iface, mIface); in testOnGroupStarted_success()
546 verify(mMonitor).broadcastP2pFindStopped(eq(mIface)); in testOnFindStopped()
555 verify(mMonitor).broadcastP2pGoNegotiationSuccess(eq(mIface)); in testOnGoNegotiationCompletedSuccess()
565 eq(mIface), eq(P2pStatus.INFORMATION_IS_CURRENTLY_UNAVAILABLE)); in testOnGoNegotiationCompletedFailureUnavailable()
[all …]
/aosp12/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
H A DEthernetTetheringTest.java357 private final TetheringInterface mIface; field in EthernetTetheringTest.MyTetheringEventCallback
366 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()
433 assertTrue(mIface + " not untethered after " + TIMEOUT_MS + "ms", in awaitInterfaceUntethered()
436 assertTrue(mIface + " not untethered after " + TIMEOUT_MS + "ms", in awaitInterfaceUntethered()
439 fail(mIface + " cannot be both tethered and local-only. Update this test class."); in awaitInterfaceUntethered()
/aosp12/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcpp_bindings.h160 int mIface; variable
167 mIface = -1; in WifiRequest()
173 mIface = iface; in WifiRequest()
H A Dcpp_bindings.cpp598 if (mIface != -1) { in create()
599 res = set_iface_id(mIface); in create()
H A Dnan.cpp2448 wifi_interface_handle mIface; member in NanMacControl
2466 mIface = iface; in setIface()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpClient.java343 private InterfaceParams mIface; field in DhcpClient
534 client.mIface = ifParams; in makeDhcpClient()
595 if (mIface == null) mIface = InterfaceParams.getByName(mIfaceName); in initInterface()
596 if (mIface == null) { in initInterface()
601 mHwAddr = mIface.macAddr.toByteArray(); in initInterface()
603 ETH_P_IP, mIface.index, DhcpPacket.ETHER_BROADCAST); in initInterface()
684 final SocketAddress addr = makePacketSocketAddress(ETH_P_IP, mIface.index); in createFd()
1526 SocketAddress addr = makePacketSocketAddress(ETH_P_ARP, mIface.index); in createFd()
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcpp_bindings.h154 int mIface; variable
161 mIface = -1; in WifiRequest()
167 mIface = iface; in WifiRequest()
H A Dcpp_bindings.cpp573 if (mIface != -1) in create()
574 res = set_iface_id(mIface); in create()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java568 panDevice.mIface = iface; in handlePanDeviceStateChange()
758 private String mIface; field in PanService.BluetoothPanDevice
764 mIface = iface; in BluetoothPanDevice()
/aosp12/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
H A DEpdgTunnelManager.java261 private IpSecManager.IpSecTunnelInterface mIface; field in EpdgTunnelManager.TunnelConfig
352 return mIface; in getIface()
356 mIface = iface; in setIface()