Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java139 NetworkCapabilities nc2; in testDescribeImmutableDifferences() local
143 nc2 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences()
144 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
149 nc2 = new NetworkCapabilities(); in testDescribeImmutableDifferences()
150 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
157 nc2 = new NetworkCapabilities().addCapability(NET_CAPABILITY_INTERNET); in testDescribeImmutableDifferences()
158 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
165 nc2 = new NetworkCapabilities().addCapability(NET_CAPABILITY_INTERNET); in testDescribeImmutableDifferences()
166 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
171 nc2 = new NetworkCapabilities() in testDescribeImmutableDifferences()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1610 NetworkCapabilities nc2 = expectCapabilitiesWith(NET_CAPABILITY_VALIDATED, agent); in expectAvailableDoubleValidatedCallbacks() local
1611 assertEquals(nc1, nc2); in expectAvailableDoubleValidatedCallbacks()