Home
last modified time | relevance | path

Searched refs:MAX_DHCP_ERROR_COUNT (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DIpProvisioningMetrics.java49 public static final int MAX_DHCP_ERROR_COUNT = 20; field in IpProvisioningMetrics
137 if (mDhcpSessionBuilder.getErrorCodeCount() >= MAX_DHCP_ERROR_COUNT) return; in addDhcpErrorCode()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkIpProvisioningMetricsTest.java74 for (int i = 0; i < mMetrics.MAX_DHCP_ERROR_COUNT; i++) { in testIpProvisioningMetrics_addDhcpErrorCode()
87 assertEquals(mMetrics.MAX_DHCP_ERROR_COUNT, mStats.getDhcpSession().getErrorCodeCount()); in testIpProvisioningMetrics_addDhcpErrorCode()