Searched refs:hasCapability (Results 1 – 9 of 9) sorted by relevance
316 assertTrue(cm.getNetworkCapabilities(net).hasCapability(NET_CAPABILITY_NOT_CONGESTED));321 return !caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED);331 return caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED);379 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansOverrideUnmetered()385 return caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansOverrideUnmetered()395 return !caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansOverrideUnmetered()421 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansUnmetered()435 return caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansUnmetered()444 return !caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansUnmetered()1184 && caps.hasCapability(NET_CAPABILITY_INTERNET) in waitForCellularNetwork()[all …]
414 && nc.hasCapability(NET_CAPABILITY_VALIDATED) in verifyExpectedUnderlyingNetworkCapabilities()415 && expectNotVcnManaged == nc.hasCapability(NET_CAPABILITY_NOT_VCN_MANAGED) in verifyExpectedUnderlyingNetworkCapabilities()416 && expectNotMetered == nc.hasCapability(NET_CAPABILITY_NOT_METERED)) { in verifyExpectedUnderlyingNetworkCapabilities()
190 .hasCapability(NET_CAPABILITY_NOT_METERED)) { in waitForNetworkToBeMetered()396 .hasCapability(NET_CAPABILITY_NOT_METERED)) { in executeTest()
381 && capabilities.hasCapability(NET_CAPABILITY_INTERNET); in isNetworkCellularAndHasInternet()765 + activeNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET)); in isExpectedTransportForActiveNetwork()767 && activeNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET); in isExpectedTransportForActiveNetwork()
424 boolean isLogicalCamera = hasCapability( in openCameraDevice()2075 private boolean hasCapability(int capability) throws ItsException {2097 boolean readSensorSettings = hasCapability(
312 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in onAvailable()
1127 public static boolean hasCapability(CameraCharacteristics characteristics, int capability) { in hasCapability() method in CameraTestUtils1141 return hasCapability(characteristics, in isSystemCamera()
497 if (maxResolution && !CameraTestUtils.hasCapability( in testMandatoryReprocessConfigurations()
2501 CameraTestUtils.hasCapability(c, in testDeviceStateSensorOrientationMapCharacteristics()