Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt77 private val TEST_LINK_PROPERTIES = LinkProperties().apply { in <lambda>() constant
204 reachabilityMonitor.updateLinkProperties(TEST_LINK_PROPERTIES) in testLoseProvisioning_FirstProbeIsFailed()
211 reachabilityMonitor.updateLinkProperties(TEST_LINK_PROPERTIES) in runLoseProvisioningTest()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java282 private static final LinkProperties TEST_LINK_PROPERTIES = new LinkProperties(); field in NetworkMonitorTest
287 final LinkProperties lp = new LinkProperties(TEST_LINK_PROPERTIES); in makeCapportLPs()
725 final NetworkMonitor nm = runNetworkTest(TEST_LINK_PROPERTIES, meteredCap, in testEvaluatingBandwidthState_meteredNetwork()
745 final NetworkMonitor nm = runNetworkTest(TEST_LINK_PROPERTIES, nonMeteredCap, in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()
1328 final LinkProperties lp = new LinkProperties(TEST_LINK_PROPERTIES);
1670 runNetworkTest(TEST_LINK_PROPERTIES, CELL_NO_INTERNET_CAPABILITIES,
1764 wnm.notifyNetworkConnected(TEST_LINK_PROPERTIES, CELL_NOT_METERED_CAPABILITIES);
1791 wnm.notifyNetworkConnected(TEST_LINK_PROPERTIES, CELL_NOT_METERED_CAPABILITIES);
1927 nm.notifyNetworkConnected(TEST_LINK_PROPERTIES, nc);
2230 nm.notifyNetworkConnected(TEST_LINK_PROPERTIES, CELL_METERED_CAPABILITIES);
[all …]