Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/ip/
DInterfaceControllerTest.java72 assertEquals(TEST_IPV4_ADDR, parcel.ipv4Addr); in testSetIPv4Address()
84 assertEquals("0.0.0.0", parcel.ipv4Addr); in testClearIPv4Address()
/frameworks/base/services/net/java/android/net/ip/
DInterfaceController.java54 ifConfig.ipv4Addr = addr.getAddress().getHostAddress(); in setInterfaceAddress()
62 ifConfig.ipv4Addr, ifConfig.prefixLength, e); in setInterfaceAddress()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java273 final String ipv4Addr = "192.0.2.5"; in testSetUpstreamLinkPropertiesWorking() local
274 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking()
286 eq(testIfName), eq(ipv4Addr), eq(null), eq(null)); in testSetUpstreamLinkPropertiesWorking()
297 eq(testIfName), eq(ipv4Addr), eq(ipv4Gateway), eq(null)); in testSetUpstreamLinkPropertiesWorking()
308 eq(testIfName), eq(ipv4Addr), eq(ipv4Gateway), mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
322 eq(testIfName), eq(ipv4Addr), eq(ipv4Gateway), mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
341 eq(testIfName), eq(ipv4Addr), eq(ipv4Gateway), mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
370 eq(testIfName), eq(ipv4Addr), eq(ipv4Gateway), mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java766 cfgParcel.ipv4Addr = cfg.getLinkAddress().getAddress().getHostAddress(); in toStableParcel()
784 final InetAddress addr = NetworkUtils.numericToInetAddress(p.ipv4Addr); in fromStableParcel()