Searched refs:nc2 (Results 1 – 2 of 2) sorted by relevance
139 NetworkCapabilities nc2; in testDescribeImmutableDifferences() local143 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 …]
1610 NetworkCapabilities nc2 = expectCapabilitiesWith(NET_CAPABILITY_VALIDATED, agent); in expectAvailableDoubleValidatedCallbacks() local1611 assertEquals(nc1, nc2); in expectAvailableDoubleValidatedCallbacks()