Home
last modified time | relevance | path

Searched refs:hasCapability (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java309 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 …]
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnManagerTest.java414 && 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkSuggestionTestCase.java190 .hasCapability(NET_CAPABILITY_NOT_METERED)) { in waitForNetworkToBeMetered()
396 .hasCapability(NET_CAPABILITY_NOT_METERED)) { in executeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java381 && capabilities.hasCapability(NET_CAPABILITY_INTERNET); in isNetworkCellularAndHasInternet()
765 + activeNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET)); in isExpectedTransportForActiveNetwork()
767 && activeNetworkCapabilities.hasCapability(NET_CAPABILITY_INTERNET); in isExpectedTransportForActiveNetwork()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java424 boolean isLogicalCamera = hasCapability( in openCameraDevice()
2075 private boolean hasCapability(int capability) throws ItsException {
2097 boolean readSensorSettings = hasCapability(
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java312 .hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in onAvailable()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1108 public static boolean hasCapability(CameraCharacteristics characteristics, int capability) { in hasCapability() method in CameraTestUtils
1122 return hasCapability(characteristics, in isSystemCamera()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java492 if (maxResolution && !CameraTestUtils.hasCapability( in testMandatoryReprocessConfigurations()