Home
last modified time | relevance | path

Searched refs:hasMacAddress (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/
DInterfaceParams.java39 public final boolean hasMacAddress; field in InterfaceParams
75 this.hasMacAddress = (macAddr != null); in InterfaceParams()
76 this.macAddr = hasMacAddress ? macAddr : MacAddress.fromBytes(new byte[] { in InterfaceParams()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DInterfaceParamsTest.java53 assertFalse(ifParams.hasMacAddress); in testLoopback()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java972 && mInterfaceParams.hasMacAddress) { in handleNeighborEvent()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java1210 assertTrue(params.hasMacAddress);
1218 assertFalse(params.hasMacAddress);
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java842 if (!isVcn && params != null && !params.hasMacAddress /* raw ip upstream only */) { in updateUpstreamNetworkState()