Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkCapabilitiesTest.java138 NetworkCapabilities nc1; in testDescribeImmutableDifferences() local
142 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_CELLULAR); in testDescribeImmutableDifferences()
144 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
145 assertEquals("", nc1.describeImmutableDifferences(nc1)); in testDescribeImmutableDifferences()
148 nc1 = new NetworkCapabilities().addCapability(NET_CAPABILITY_VALIDATED); in testDescribeImmutableDifferences()
150 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
151 assertEquals("", nc1.describeImmutableDifferences(nc1)); in testDescribeImmutableDifferences()
154 nc1 = new NetworkCapabilities() in testDescribeImmutableDifferences()
158 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()
159 assertEquals("", nc1.describeImmutableDifferences(nc1)); in testDescribeImmutableDifferences()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1608 NetworkCapabilities nc1 = expectCapabilitiesWith(NET_CAPABILITY_VALIDATED, agent); in expectAvailableDoubleValidatedCallbacks() local
1611 assertEquals(nc1, nc2); in expectAvailableDoubleValidatedCallbacks()