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