Searched refs:capability (Results 1 – 8 of 8) sorted by relevance
96 public CapabilitySet add(int capability) { in add() argument97 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()
55 public boolean queryCapabilityConfiguration(int capability, int radioTech) { in queryCapabilityConfiguration() argument57 Log.d(TAG, "queryCapabilityConfiguration called with capability: " + capability); in queryCapabilityConfiguration()59 return mCapabilities.isCapable(capability); in queryCapabilityConfiguration()
171 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() argument286 switch (capability) { in validateCapability()429 assertTrue(String.format("Unknown capability set: %d", capability), in validateCapability()
346 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()
1906 private boolean hasCapability(int capability) throws ItsException {1913 if (c == capability) {
489 private void assertCallCapability(final Call call, final int capability) { in assertCallCapability() argument499 return call.getDetails().can(capability); in assertCallCapability()503 "Call should have capability " + capability in assertCallCapability()
182 for (int capability : capabilities) { in checkCamera2Features()183 switch (capability) { in checkCamera2Features()
1991 public boolean isCapabilitySupported(int capability) { in isCapabilitySupported() argument1992 if (capability < 0) { in isCapabilitySupported()1998 return availableCapabilities.contains(capability); in isCapabilitySupported()