Searched defs:capability (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp40 ACameraMetadata::isNdkSupportedCapability(int32_t capability) { argument
41 switch (capability) {
57 ALOGE("%s: Unknonwn capability %d", __FUNCTION__, capability);
67 ALOGE("%s: malformed available capability key! count %zu, type %d",
75 uint8_t capability = entry.data.u8[i]; local
76 if (isNdkSupportedCapability(capability)) {
77 capabilities.push(capability);
/frameworks/base/core/java/android/net/
H A DNetworkRequest.java87 // when later an unrestricted capability could be added to mNetworkCapabilities, in
97 * Add the given capability requirement to this builder. These represent
103 * @param capability The {@code NetworkCapabilities.NET_CAPABILITY_*} to add.
107 public Builder addCapability(int capability) { argument
108 mNetworkCapabilities.addCapability(capability);
113 * Removes (if found) the given capability from this builder instance.
115 * @param capability The {@code NetworkCapabilities.NET_CAPABILITY_*} to remove.
118 public Builder removeCapability(int capability) { argument
119 mNetworkCapabilities.removeCapability(capability);
H A DNetworkCapabilities.java167 * Indicates that this network is not a VPN. This capability is set by default and should be
215 * capability's presence cannot be known in advance. If such a capability is requested, then we
217 * get immediately torn down because they do not have the requested capability.
246 * Adds the given capability to this {@code NetworkCapability} instance.
250 * @param capability the {@code NetworkCapabilities.NET_CAPABILITY_*} to be added.
254 public NetworkCapabilities addCapability(int capability) { argument
255 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) {
258 mNetworkCapabilities |= 1 << capability;
269 removeCapability(int capability) argument
294 hasCapability(int capability) argument
[all...]
/frameworks/support/v4/java/android/support/v4/accessibilityservice/
H A DAccessibilityServiceInfoCompat.java218 * this flag have to declare this capability in their meta-data by setting
242 * Services that want to set this flag have to declare this capability
269 * Services that want to set this flag have to declare this capability
416 * @return The capability bit mask.
428 * Returns the string representation of a capability. For example,
432 * @param capability The capability.
435 public static String capabilityToString(int capability) { argument
436 switch (capability) {
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityServiceInfo.java241 * this flag have to declare this capability in their meta-data by setting
267 * Services that want to set this flag have to declare this capability
291 * Services that want to set this flag have to declare this capability
312 * Services that want to set this flag have to declare the capability
625 * @return The capability bit mask.
642 * @param capabilities The capability bit mask.
939 * Returns the string representation of a capability. For example,
943 * @param capability The capability.
946 public static String capabilityToString(int capability) { argument
990 public final int capability; field in class:AccessibilityServiceInfo.CapabilityInfo
994 CapabilityInfo(int capability, int titleResId, int descResId) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DPhoneAccount.java110 * Only the Android framework can register a {@code PhoneAccount} having this capability.
501 * @param capability The capabilities to check.
502 * @return {@code true} if the phone account has the capability.
504 public boolean hasCapabilities(int capability) { argument
505 return (mCapabilities & capability) == capability;
H A DConference.java174 * Whether the given capabilities support the specified capability.
176 * @param capabilities A capability bit field.
177 * @param capability The capability to check capabilities for.
178 * @return Whether the specified capability is supported.
181 public static boolean can(int capabilities, int capability) { argument
182 return (capabilities & capability) != 0;
186 * Whether the capabilities of this {@code Connection} supports the specified capability.
188 * @param capability The capability t
192 can(int capability) argument
202 removeCapability(int capability) argument
215 addCapability(int capability) argument
[all...]
H A DCall.java102 * and {@link Details#CAPABILITY_CAN_PULL_CALL} capability are set on the call.
130 * capability allows a merge button to be shown while the conference call is in the foreground
157 * Call supports conference call management. This capability only applies to {@link Conference}
249 * An {@link InCallService} will only see calls with this capability if it has the
333 * Whether the supplied capabilities supports the specified capability.
336 * @param capability The capability to check capabilities for.
337 * @return Whether the specified capability is supported.
339 public static boolean can(int capabilities, int capability) { argument
340 return (capabilities & capability)
349 can(int capability) argument
[all...]
H A DConnection.java102 * {@link #CAPABILITY_CAN_PULL_CALL} capability bits are set on the connection.
123 * capability allows a merge button to be shown while the conference is in the foreground
150 * Connection supports conference management. This capability only applies to
329 * {@link #PROPERTY_IS_EXTERNAL_CALL} capability set.
363 * {@link PhoneAccount} supports the capability {@link PhoneAccount#CAPABILITY_CALL_SUBJECT}.
402 * Whether the given capabilities support the specified capability.
404 * @param capabilities A capability bit field.
405 * @param capability The capability to check capabilities for.
406 * @return Whether the specified capability i
409 can(int capabilities, int capability) argument
420 can(int capability) argument
430 removeCapability(int capability) argument
440 addCapability(int capability) argument
[all...]
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraOps.java108 // Find first back-facing camera that has necessary capability
175 private boolean hasCapability(int[] capabilities, int capability) { argument
177 if (c == capability) return true;
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp317 // Sanitize the high speed session against necessary capability bit.
323 uint8_t capability = entry.data.u8[i]; local
324 if (capability == ANDROID_REQUEST_AVAILABLE_CAPABILITIES_CONSTRAINED_HIGH_SPEED_VIDEO) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DStaticMetadata.java632 checkTrueForKey(key, "Full-capability camera devices must support FAST mode",
726 // Qualification check for MANUAL_POSTPROCESSING capability is in
883 * This is only available for FULL capability device, return 0 if it is unavailable.
1177 checkTrueForKey(modesKey, "Full capability device must have OFF mode", condition);
1208 checkTrueForKey(key, " Full capability camera devices must support OFF mode",
1812 checkTrueForKey(key, " ON must be included for RAW capability devices",
1842 * Determine whether the current device supports a capability or not.
1844 * @param capability (non-negative)
1846 * @return {@code true} if the capability is supported, {@code false} otherwise.
1848 * @throws IllegalArgumentException if {@code capability} wa
1852 isCapabilitySupported(int capability) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java89 public void onConnectionCapabilitiesChanged(int capability); argument
109 public void onConnectionCapabilitiesChanged(int capability) {} argument
640 * Applies a capability to a capabilities bit-mask.
643 * @param capability The capability to apply.
644 * @return The capabilities bit-mask with the capability applied.
646 public static int addCapability(int capabilities, int capability) { argument
647 return capabilities | capability;
651 * Removes a capability to a capabilities bit-mask.
654 * @param capability Th
657 removeCapability(int capabilities, int capability) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java301 public void addCapability(int capability) { argument
302 mNetworkCapabilities.addCapability(capability);
1153 private void tryNetworkFactoryRequests(int capability) throws Exception { argument
1155 final NetworkCapabilities nc = new NetworkRequest.Builder().addCapability(capability)
1157 if (capability == NET_CAPABILITY_CBS || capability == NET_CAPABILITY_DUN ||
1158 capability == NET_CAPABILITY_EIMS || capability == NET_CAPABILITY_FOTA ||
1159 capability == NET_CAPABILITY_IA || capability
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java1441 private boolean hasCapability(int capability) { argument
1442 return ((mEngineCapabilities & capability) != 0);

Completed in 2215 milliseconds