Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 8 of 8) 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/tests/telephony/current/src/android/telephony/ims/cts/
DTestMmTelFeature.java55 public boolean queryCapabilityConfiguration(int capability, int radioTech) { in queryCapabilityConfiguration() argument
57 Log.d(TAG, "queryCapabilityConfiguration called with capability: " + capability); in queryCapabilityConfiguration()
59 return mCapabilities.isCapable(capability); in queryCapabilityConfiguration()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java171 for (Integer capability = REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE; in testCapabilities()
172 capability <= StaticMetadata.LAST_CAPABILITY_ENUM; capability++) { in testCapabilities()
173 boolean isCapabilityAvailable = availableCaps.contains(capability); in testCapabilities()
174 validateCapability(capability, isCapabilityAvailable); in testCapabilities()
276 private void validateCapability(Integer capability, boolean isCapabilityAvailable) { in validateCapability() argument
286 switch (capability) { in validateCapability()
429 assertTrue(String.format("Unknown capability set: %d", capability), in validateCapability()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java346 for (int capability : actualCapabilities) { in getItsCompatibleCameraIds()
347 if (capability == BACKWARD_COMPAT) { in getItsCompatibleCameraIds()
350 if (capability == LOGICAL_MULTI_CAMERA) { in getItsCompatibleCameraIds()
390 for (int capability : physicalActualCapabilities) { in getItsCompatibleCameraIds()
391 if (capability == BACKWARD_COMPAT) { in getItsCompatibleCameraIds()
DItsService.java1906 private boolean hasCapability(int capability) throws ItsException {
1913 if (c == capability) {
/cts/tests/tests/telecom/src/android/telecom/cts/
DConferenceTest.java489 private void assertCallCapability(final Call call, final int capability) { in assertCallCapability() argument
499 return call.getDetails().can(capability); in assertCallCapability()
503 "Call should have capability " + capability in assertCallCapability()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java182 for (int capability : capabilities) { in checkCamera2Features()
183 switch (capability) { in checkCamera2Features()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1991 public boolean isCapabilitySupported(int capability) { in isCapabilitySupported() argument
1992 if (capability < 0) { in isCapabilitySupported()
1998 return availableCapabilities.contains(capability); in isCapabilitySupported()