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/support/compat/java/android/support/v4/accessibilityservice/
H A DAccessibilityServiceInfoCompat.java241 * this flag have to declare this capability in their meta-data by setting
265 * Services that want to set this flag have to declare this capability
292 * Services that want to set this flag have to declare this capability
462 * @return The capability bit mask.
474 * Returns the string representation of a capability. For example,
478 * @param capability The capability.
481 public static String capabilityToString(int capability) { argument
482 switch (capability) {
/frameworks/base/core/java/android/net/
H A DNetworkRequest.java75 * to retain the NET_CAPABILITY_FOREGROUND capability. A network with
144 // when later an unrestricted capability could be added to mNetworkCapabilities, in
154 * Add the given capability requirement to this builder. These represent
160 * @param capability The {@code NetworkCapabilities.NET_CAPABILITY_*} to add.
164 public Builder addCapability(int capability) { argument
165 mNetworkCapabilities.addCapability(capability);
170 * Removes (if found) the given capability from this builder instance.
172 * @param capability The {@code NetworkCapabilities.NET_CAPABILITY_*} to remove.
175 public Builder removeCapability(int capability) { argument
176 mNetworkCapabilities.removeCapability(capability);
[all...]
H A DNetworkCapabilities.java167 * Indicates that this network is not a VPN. This capability is set by default and should be
223 * capability's presence cannot be known in advance. If such a capability is requested, then we
225 * get immediately torn down because they do not have the requested capability.
253 * Adds the given capability to this {@code NetworkCapability} instance.
257 * @param capability the {@code NetworkCapabilities.NET_CAPABILITY_*} to be added.
261 public NetworkCapabilities addCapability(int capability) { argument
262 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) {
265 mNetworkCapabilities |= 1 << capability;
276 removeCapability(int capability) argument
301 hasCapability(int capability) argument
[all...]
/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.java100 * Only the Android framework can register a {@code PhoneAccount} having this capability.
537 * @param capability The capabilities to check.
538 * @return {@code true} if the phone account has the capability.
540 public boolean hasCapabilities(int capability) { argument
541 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.java103 * 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
337 * Whether the supplied capabilities supports the specified capability.
340 * @param capability The capability to check capabilities for.
341 * @return Whether the specified capability is supported.
343 public static boolean can(int capabilities, int capability) { argument
344 return (capabilities & capability)
353 can(int capability) argument
[all...]
H A DConnection.java70 * {@code CAPABILITY_SUPPORTS_VT_*} capability bits), {@link #onAnswer(int)} should be overridden
134 * {@link #CAPABILITY_CAN_PULL_CALL} capability bits are set on the connection.
154 * capability allows a merge button to be shown while the conference is in the foreground
181 * Connection supports conference management. This capability only applies to
359 * {@link #PROPERTY_IS_EXTERNAL_CALL} capability set.
402 * {@link PhoneAccount} supports the capability {@link PhoneAccount#CAPABILITY_CALL_SUBJECT}.
519 * Whether the given capabilities support the specified capability.
521 * @param capabilities A capability bit field.
522 * @param capability The capability t
526 can(int capabilities, int capability) argument
537 can(int capability) argument
547 removeCapability(int capability) argument
557 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/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java320 public void addCapability(int capability) { argument
321 mNetworkCapabilities.addCapability(capability);
325 public void removeCapability(int capability) { argument
326 mNetworkCapabilities.removeCapability(capability);
1468 private void tryNetworkFactoryRequests(int capability) throws Exception { argument
1470 final NetworkCapabilities nc = new NetworkRequest.Builder().addCapability(capability)
1472 if (capability == NET_CAPABILITY_CBS || capability == NET_CAPABILITY_DUN ||
1473 capability == NET_CAPABILITY_EIMS || capability
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java90 public void onConnectionCapabilitiesChanged(int capability); argument
113 public void onConnectionCapabilitiesChanged(int capability) {} argument
672 * Applies a capability to a capabilities bit-mask.
675 * @param capability The capability to apply.
676 * @return The capabilities bit-mask with the capability applied.
678 public static int addCapability(int capabilities, int capability) { argument
679 return capabilities | capability;
683 * Removes a capability to a capabilities bit-mask.
686 * @param capability Th
689 removeCapability(int capabilities, int capability) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java1506 private boolean hasCapability(int capability) { argument
1507 return ((mEngineCapabilities & capability) != 0);

Completed in 339 milliseconds