Searched refs:nc1 (Results 1 – 3 of 3) sorted by relevance
167 NetworkCapabilities nc1; in testDescribeImmutableDifferences() local171 nc1 = new NetworkCapabilities().addTransportType(TRANSPORT_CELLULAR); in testDescribeImmutableDifferences()173 assertNotEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()174 assertEquals("", nc1.describeImmutableDifferences(nc1)); in testDescribeImmutableDifferences()177 nc1 = new NetworkCapabilities().addCapability(NET_CAPABILITY_VALIDATED); in testDescribeImmutableDifferences()179 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()180 assertEquals("", nc1.describeImmutableDifferences(nc1)); in testDescribeImmutableDifferences()183 nc1 = new NetworkCapabilities() in testDescribeImmutableDifferences()187 assertEquals("", nc1.describeImmutableDifferences(nc2)); in testDescribeImmutableDifferences()188 assertEquals("", nc1.describeImmutableDifferences(nc1)); in testDescribeImmutableDifferences()[all …]
1592 public static boolean hasSameUids(@Nullable NetworkCapabilities nc1, in hasSameUids() argument1594 final Set<UidRange> uids1 = (nc1 == null) ? null : nc1.mUids; in hasSameUids()
819 val nc1 = NetworkCapabilities(agent.nc) in testTemporarilyUnmeteredCapability() constant821 agent.sendNetworkCapabilities(nc1) in testTemporarilyUnmeteredCapability()