Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java143 NetworkCapabilities nc2; in testDescribeImmutableDifferences() local
147 nc2 = new NetworkCapabilities().addTransportType(TRANSPORT_WIFI); in testDescribeImmutableDifferences()
148 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
153 nc2 = new NetworkCapabilities(); in testDescribeImmutableDifferences()
154 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
161 nc2 = new NetworkCapabilities().addCapability(NET_CAPABILITY_INTERNET); in testDescribeImmutableDifferences()
162 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
169 nc2 = new NetworkCapabilities().addCapability(NET_CAPABILITY_INTERNET); in testDescribeImmutableDifferences()
170 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
175 nc2 = new NetworkCapabilities() in testDescribeImmutableDifferences()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1921 NetworkCapabilities nc2 = expectCapabilitiesWith(NET_CAPABILITY_VALIDATED, agent); in expectAvailableDoubleValidatedCallbacks() local
1922 assertEquals(nc1, nc2); in expectAvailableDoubleValidatedCallbacks()