Searched refs:withWifiUnderlying (Results 1 – 1 of 1) sorted by relevance
6921 final NetworkCapabilities withWifiUnderlying = new NetworkCapabilities(withNoUnderlying); in testApplyUnderlyingCapabilities() local6922 withWifiUnderlying.addTransportType(TRANSPORT_WIFI); in testApplyUnderlyingCapabilities()6923 withWifiUnderlying.addCapability(NET_CAPABILITY_NOT_METERED); in testApplyUnderlyingCapabilities()6924 withWifiUnderlying.setLinkUpstreamBandwidthKbps(20); in testApplyUnderlyingCapabilities()6951 assertEquals(withWifiUnderlying, caps); in testApplyUnderlyingCapabilities()6953 withWifiUnderlying.removeCapability(NET_CAPABILITY_NOT_METERED); in testApplyUnderlyingCapabilities()6956 assertEquals(withWifiUnderlying, caps); in testApplyUnderlyingCapabilities()6962 withWifiUnderlying.addCapability(NET_CAPABILITY_NOT_METERED); in testApplyUnderlyingCapabilities()6974 assertEquals(withWifiUnderlying, caps); in testApplyUnderlyingCapabilities()