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