Searched refs:hasCapability (Results 1 – 8 of 8) sorted by relevance
309 assertTrue(cm.getNetworkCapabilities(net).hasCapability(NET_CAPABILITY_NOT_CONGESTED));314 return !caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED);324 return caps.hasCapability(NET_CAPABILITY_NOT_CONGESTED);372 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansOverrideUnmetered()378 return caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansOverrideUnmetered()388 return !caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansOverrideUnmetered()414 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansUnmetered()428 return caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansUnmetered()437 return !caps.hasCapability(NET_CAPABILITY_TEMPORARILY_NOT_METERED); in testSubscriptionPlansUnmetered()1114 && 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()
1108 public static boolean hasCapability(CameraCharacteristics characteristics, int capability) { in hasCapability() method in CameraTestUtils1122 return hasCapability(characteristics, in isSystemCamera()
492 if (maxResolution && !CameraTestUtils.hasCapability( in testMandatoryReprocessConfigurations()