Home
last modified time | relevance | path

Searched refs:TEST_PREFIX_LENGTH (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/
H A DDhcpServingParamsParcelExtTest.java48 private static final int TEST_PREFIX_LENGTH = 17; field in DhcpServingParamsParcelExtTest
66 mParcel.setServerAddr(new LinkAddress(TEST_ADDRESS, TEST_PREFIX_LENGTH)); in testSetServerAddr()
69 assertEquals(TEST_PREFIX_LENGTH, mParcel.serverAddrPrefixLength); in testSetServerAddr()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DNetworkValidationTest.kt73 private const val TEST_PREFIX_LENGTH = 24
212 getPrefixMaskAsInet4Address(TEST_PREFIX_LENGTH),
213 getBroadcastAddress(clientIpAddr, TEST_PREFIX_LENGTH),
222 getPrefixMaskAsInet4Address(TEST_PREFIX_LENGTH),
223 getBroadcastAddress(clientIpAddr, TEST_PREFIX_LENGTH),
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
H A DDhcpServerTest.java87 private static final int TEST_PREFIX_LENGTH = 20; field in DhcpServerTest
89 TEST_SERVER_ADDR, TEST_PREFIX_LENGTH);
108 TEST_CLIENT_ADDR, TEST_PREFIX_LENGTH, TEST_LEASE_EXPTIME_SECS * 1000L + TEST_CLOCK_TIME,
111 TEST_CLIENT_ADDR, TEST_PREFIX_LENGTH, TEST_LEASE_EXPTIME_SECS * 1000L + TEST_CLOCK_TIME,
364 TEST_PREFIX_LENGTH, TEST_LEASE_EXPTIME_SECS * 1000L + TEST_CLOCK_TIME, in runOnReceivedDeclinePacket()