Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java96 public CapabilitySet add(int capability) { in add() argument
97 if ((capability < 0) || (capability > OsConstants.CAP_LAST_CAP)) { in add()
99 "capability id %d out of valid range", capability)); in add()
101 mCapabilities.add(capability); in add()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java174 for (Integer capability = REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE; in testCapabilities()
175 capability <= LAST_CAPABILITY_ENUM; capability++) { in testCapabilities()
176 boolean isCapabilityAvailable = availableCaps.contains(capability); in testCapabilities()
177 validateCapability(capability, isCapabilityAvailable); in testCapabilities()
279 private void validateCapability(Integer capability, boolean isCapabilityAvailable) { in validateCapability() argument
289 switch (capability) { in validateCapability()
423 assertTrue(String.format("Unknown capability set: %d", capability), in validateCapability()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConferenceTest.java326 private void assertCallCapability(final Call call, final int capability) { in assertCallCapability() argument
336 return call.getDetails().can(capability); in assertCallCapability()
340 "Call should have capability " + capability in assertCallCapability()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java153 for (int capability : capabilities) { in checkCamera2Features()
154 switch (capability) { in checkCamera2Features()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1852 public boolean isCapabilitySupported(int capability) { in isCapabilitySupported() argument
1853 if (capability < 0) { in isCapabilitySupported()
1859 return availableCapabilities.contains(capability); in isCapabilitySupported()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1636 for (int capability : capabilities) {
1637 if (capability ==