/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 815 String capabilities = (types.length > 0 ? " Capabilities: " : ""); in toString() local 818 case NET_CAPABILITY_MMS: capabilities += "MMS"; break; in toString() 819 case NET_CAPABILITY_SUPL: capabilities += "SUPL"; break; in toString() 820 case NET_CAPABILITY_DUN: capabilities += "DUN"; break; in toString() 821 case NET_CAPABILITY_FOTA: capabilities += "FOTA"; break; in toString() 822 case NET_CAPABILITY_IMS: capabilities += "IMS"; break; in toString() 823 case NET_CAPABILITY_CBS: capabilities += "CBS"; break; in toString() 824 case NET_CAPABILITY_WIFI_P2P: capabilities += "WIFI_P2P"; break; in toString() 825 case NET_CAPABILITY_IA: capabilities += "IA"; break; in toString() 826 case NET_CAPABILITY_RCS: capabilities += "RCS"; break; in toString() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 223 private static int applyLocalCallCapabilities(ImsCallProfile localProfile, int capabilities) { in applyLocalCallCapabilities() argument 224 capabilities = removeCapability(capabilities, in applyLocalCallCapabilities() 230 capabilities = addCapability(capabilities, in applyLocalCallCapabilities() 234 capabilities = addCapability(capabilities, in applyLocalCallCapabilities() 239 return capabilities; in applyLocalCallCapabilities() 242 private static int applyRemoteCallCapabilities(ImsCallProfile remoteProfile, int capabilities) { in applyRemoteCallCapabilities() argument 243 capabilities = removeCapability(capabilities, in applyRemoteCallCapabilities() 249 capabilities = addCapability(capabilities, in applyRemoteCallCapabilities() 253 capabilities = addCapability(capabilities, in applyRemoteCallCapabilities() 258 return capabilities; in applyRemoteCallCapabilities() [all …]
|
D | ImsExternalConnection.java | 233 int capabilities = Capability.IS_EXTERNAL_CONNECTION; in rebuildCapabilities() local 235 capabilities |= Capability.IS_PULLABLE; in rebuildCapabilities() 238 setConnectionCapabilities(capabilities); in rebuildCapabilities()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Call.java | 339 public static boolean can(int capabilities, int capability) { in can() argument 340 return (capabilities & capability) == capability; in can() 359 public static String capabilitiesToString(int capabilities) { in capabilitiesToString() argument 362 if (can(capabilities, CAPABILITY_HOLD)) { in capabilitiesToString() 365 if (can(capabilities, CAPABILITY_SUPPORT_HOLD)) { in capabilitiesToString() 368 if (can(capabilities, CAPABILITY_MERGE_CONFERENCE)) { in capabilitiesToString() 371 if (can(capabilities, CAPABILITY_SWAP_CONFERENCE)) { in capabilitiesToString() 374 if (can(capabilities, CAPABILITY_RESPOND_VIA_TEXT)) { in capabilitiesToString() 377 if (can(capabilities, CAPABILITY_MUTE)) { in capabilitiesToString() 380 if (can(capabilities, CAPABILITY_MANAGE_CONFERENCE)) { in capabilitiesToString() [all …]
|
D | Connection.java | 409 public static boolean can(int capabilities, int capability) { in can() argument 410 return (capabilities & capability) == capability; in can() 445 public static String capabilitiesToString(int capabilities) { in capabilitiesToString() argument 448 if (can(capabilities, CAPABILITY_HOLD)) { in capabilitiesToString() 451 if (can(capabilities, CAPABILITY_SUPPORT_HOLD)) { in capabilitiesToString() 454 if (can(capabilities, CAPABILITY_MERGE_CONFERENCE)) { in capabilitiesToString() 457 if (can(capabilities, CAPABILITY_SWAP_CONFERENCE)) { in capabilitiesToString() 460 if (can(capabilities, CAPABILITY_RESPOND_VIA_TEXT)) { in capabilitiesToString() 463 if (can(capabilities, CAPABILITY_MUTE)) { in capabilitiesToString() 466 if (can(capabilities, CAPABILITY_MANAGE_CONFERENCE)) { in capabilitiesToString() [all …]
|
D | ParcelableConnection.java | 58 int capabilities, in ParcelableConnection() argument 75 mConnectionCapabilities = capabilities; in ParcelableConnection() 196 int capabilities = source.readInt(); 217 capabilities,
|
D | ParcelableCall.java | 65 int capabilities, in ParcelableCall() argument 87 mCapabilities = capabilities; in ParcelableCall() 274 int capabilities = source.readInt(); 300 capabilities,
|
/frameworks/wilhelm/src/itf/ |
D | IPlaybackRate.c | 136 SLuint32 capabilities; in IPlaybackRate_GetCapabilitiesOfRate() local 139 capabilities = 0; in IPlaybackRate_GetCapabilitiesOfRate() 142 capabilities = thiz->mCapabilities; in IPlaybackRate_GetCapabilitiesOfRate() 145 *pCapabilities = capabilities; in IPlaybackRate_GetCapabilitiesOfRate() 167 SLuint32 capabilities = thiz->mCapabilities; in IPlaybackRate_GetRateRange() local 171 *pCapabilities = capabilities; in IPlaybackRate_GetRateRange()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraSettings.java | 31 public AndroidCameraSettings(CameraCapabilities capabilities, Camera.Parameters params) { in AndroidCameraSettings() argument 37 CameraCapabilities.Stringifier stringifier = capabilities.getStringifier(); in AndroidCameraSettings() 52 if (capabilities.supports(CameraCapabilities.Feature.ZOOM)) { in AndroidCameraSettings() 63 if (capabilities.supports(CameraCapabilities.Feature.VIDEO_STABILIZATION)) { in AndroidCameraSettings()
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestSlowDownUri.cpp | 148 void printCapabilities(SLuint32 capabilities) in printCapabilities() argument 151 printf("0x%x (", capabilities); in printCapabilities() 153 if (capabilities & SL_RATEPROP_##x) { \ in printCapabilities() 158 capabilities &= ~SL_RATEPROP_##x; \ in printCapabilities() 164 if (capabilities != 0) { in printCapabilities() 167 printf("0x%x", capabilities); in printCapabilities() 307 SLuint32 capabilities; in TestSlowDownUri() local 309 &capabilities); in TestSlowDownUri() 322 printCapabilities(capabilities); in TestSlowDownUri()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 653 public void setCapabilities(int capabilities) { in setCapabilities() argument 654 mCapabilities = capabilities; in setCapabilities() 840 private static void appendCapabilities(StringBuilder stringBuilder, int capabilities) { in appendCapabilities() argument 843 while (capabilities != 0) { in appendCapabilities() 844 final int capabilityBit = (1 << Integer.numberOfTrailingZeros(capabilities)); in appendCapabilities() 846 capabilities &= ~capabilityBit; in appendCapabilities() 847 if (capabilities != 0) { in appendCapabilities() 973 int capabilities = mCapabilities; in getCapabilityInfos() local 975 while (capabilities != 0) { in getCapabilityInfos() 976 final int capabilityBit = 1 << Integer.numberOfTrailingZeros(capabilities); in getCapabilityInfos() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ScanResult.java | 68 public String capabilities; field in ScanResult 366 this.capabilities = caps; in ScanResult() 384 this.capabilities = caps; in ScanResult() 405 this.capabilities = caps; in ScanResult() 441 capabilities = source.capabilities; in ScanResult() 479 append(capabilities == null ? none : capabilities). in toString() 519 dest.writeString(capabilities); in writeToParcel()
|
D | RttManager.java | 290 RttCapabilities capabilities = new RttCapabilities(); 291 capabilities.oneSidedRttSupported = (in.readInt() == 1); 292 capabilities.twoSided11McRttSupported = (in.readInt() == 1); 293 capabilities.lciSupported = (in.readInt() == 1); 294 capabilities.lcrSupported = (in.readInt() == 1); 295 capabilities.preambleSupported = in.readInt(); 296 capabilities.bwSupported = in.readInt(); 297 capabilities.responderSupported = (in.readInt() == 1); 298 capabilities.secureRttSupported = (in.readInt() == 1); 299 capabilities.mcVersion = in.readInt(); [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | FusedLocationHardware.java | 57 public void onCapabilities(int capabilities) { 58 dispatchCapabilities(capabilities); 286 int capabilities, in MessageCommand() argument 291 mCapabilities = capabilities; in MessageCommand() 342 private void dispatchCapabilities(int capabilities) { in dispatchCapabilities() argument 352 new MessageCommand(entry.getKey(), null /*locations*/, null, capabilities, 0)); in dispatchCapabilities()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 646 public static int addCapability(int capabilities, int capability) { in addCapability() argument 647 return capabilities | capability; in addCapability() 657 public static int removeCapability(int capabilities, int capability) { in removeCapability() argument 658 return capabilities & ~capability; in removeCapability() 719 public void setConnectionCapabilities(int capabilities) { in setConnectionCapabilities() argument 720 if (mConnectionCapabilities != capabilities) { in setConnectionCapabilities() 721 mConnectionCapabilities = capabilities; in setConnectionCapabilities()
|
D | TelephonyEventLog.java | 318 public void writeOnImsCapabilities(boolean[] capabilities) { in writeOnImsCapabilities() argument 320 for (int i = 0; i < capabilities.length; i++) { in writeOnImsCapabilities() 321 if (mImsCapabilities[i] != capabilities[i]) { in writeOnImsCapabilities() 322 mImsCapabilities[i] = capabilities[i]; in writeOnImsCapabilities() 329 b.putBoolean(DATA_KEY_VOLTE, capabilities[0]); in writeOnImsCapabilities() 330 b.putBoolean(DATA_KEY_VILTE, capabilities[1]); in writeOnImsCapabilities() 331 b.putBoolean(DATA_KEY_VOWIFI, capabilities[2]); in writeOnImsCapabilities() 332 b.putBoolean(DATA_KEY_VIWIFI, capabilities[3]); in writeOnImsCapabilities() 333 b.putBoolean(DATA_KEY_UTLTE, capabilities[4]); in writeOnImsCapabilities() 334 b.putBoolean(DATA_KEY_UTWIFI, capabilities[5]); in writeOnImsCapabilities()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecList.cpp | 178 const sp<MediaCodecInfo::Capabilities> &capabilities = in android_media_MediaCodecList_getCodecCapabilities() local 182 if (capabilities == NULL) { in android_media_MediaCodecList_getCodecCapabilities() 187 capabilities->getSupportedColorFormats(&colorFormats); in android_media_MediaCodecList_getCodecCapabilities() 188 capabilities->getSupportedProfileLevels(&profileLevels); in android_media_MediaCodecList_getCodecCapabilities() 189 uint32_t flags = capabilities->getFlags(); in android_media_MediaCodecList_getCodecCapabilities() 190 sp<AMessage> details = capabilities->getDetails(); in android_media_MediaCodecList_getCodecCapabilities()
|
/frameworks/native/vulkan/libvulkan/ |
D | swapchain.cpp | 279 VkSurfaceCapabilitiesKHR* capabilities) { in GetPhysicalDeviceSurfaceCapabilitiesKHR() argument 306 capabilities->minImageCount = 2; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 307 capabilities->maxImageCount = 3; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 309 capabilities->currentExtent = in GetPhysicalDeviceSurfaceCapabilitiesKHR() 314 capabilities->minImageExtent = VkExtent2D{1, 1}; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 315 capabilities->maxImageExtent = VkExtent2D{4096, 4096}; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 317 capabilities->maxImageArrayLayers = 1; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 319 capabilities->supportedTransforms = kSupportedTransforms; in GetPhysicalDeviceSurfaceCapabilitiesKHR() 320 capabilities->currentTransform = in GetPhysicalDeviceSurfaceCapabilitiesKHR() 325 capabilities->supportedCompositeAlpha = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR; in GetPhysicalDeviceSurfaceCapabilitiesKHR() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | WifiNanHalTest.java | 292 WifiNanNative.Capabilities capabilities = capabilitiesCapture.getValue(); in testNotifyCapabilities() local 293 collector.checkThat("max_concurrent_nan_clusters", capabilities.maxConcurrentNanClusters, in testNotifyCapabilities() 295 collector.checkThat("max_publishes", capabilities.maxPublishes, equalTo(max_publishes)); in testNotifyCapabilities() 296 collector.checkThat("max_subscribes", capabilities.maxSubscribes, equalTo(max_subscribes)); in testNotifyCapabilities() 297 collector.checkThat("max_service_name_len", capabilities.maxServiceNameLen, in testNotifyCapabilities() 299 collector.checkThat("max_match_filter_len", capabilities.maxMatchFilterLen, in testNotifyCapabilities() 301 collector.checkThat("max_total_match_filter_len", capabilities.maxTotalMatchFilterLen, in testNotifyCapabilities() 303 collector.checkThat("max_service_specific_info_len", capabilities.maxServiceSpecificInfoLen, in testNotifyCapabilities() 305 collector.checkThat("max_vsa_data_len", capabilities.maxVsaDataLen, in testNotifyCapabilities() 307 collector.checkThat("max_mesh_data_len", capabilities.maxMeshDataLen, in testNotifyCapabilities() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | InformationElementUtil.java | 522 String capabilities = ""; in buildCapabilities() local 527 return capabilities; in buildCapabilities() 536 capabilities += parseRsnElement(ie); in buildCapabilities() 542 capabilities += parseWpaOneElement(ie); in buildCapabilities() 549 capabilities += "[WEP]"; in buildCapabilities() 553 capabilities += "[ESS]"; in buildCapabilities() 556 return capabilities; in buildCapabilities()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 605 jlong capabilities = 0; in com_android_internal_os_Zygote_nativeForkAndSpecialize() local 611 capabilities |= (1LL << CAP_WAKE_ALARM); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 612 capabilities |= (1LL << CAP_NET_RAW); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 613 capabilities |= (1LL << CAP_NET_BIND_SERVICE); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 634 capabilities |= (1LL << CAP_BLOCK_SUSPEND); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 638 rlimits, capabilities, capabilities, mount_external, se_info, in com_android_internal_os_Zygote_nativeForkAndSpecialize()
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 614 JNIEnv *env, jclass cls, jint iface, jobject capabilities) { in android_net_wifi_getScanCapabilities() argument 628 helper.setIntField(capabilities, "max_scan_cache_size", c.max_scan_cache_size); in android_net_wifi_getScanCapabilities() 629 helper.setIntField(capabilities, "max_scan_buckets", c.max_scan_buckets); in android_net_wifi_getScanCapabilities() 630 helper.setIntField(capabilities, "max_ap_cache_per_scan", c.max_ap_cache_per_scan); in android_net_wifi_getScanCapabilities() 631 helper.setIntField(capabilities, "max_rssi_sample_size", c.max_rssi_sample_size); in android_net_wifi_getScanCapabilities() 632 … helper.setIntField(capabilities, "max_scan_reporting_threshold", c.max_scan_reporting_threshold); in android_net_wifi_getScanCapabilities() 633 helper.setIntField(capabilities, "max_hotlist_bssids", c.max_hotlist_bssids); in android_net_wifi_getScanCapabilities() 634 helper.setIntField(capabilities, "max_significant_wifi_change_aps", in android_net_wifi_getScanCapabilities() 636 helper.setIntField(capabilities, "max_bssid_history_entries", c.max_bssid_history_entries); in android_net_wifi_getScanCapabilities() 637 helper.setIntField(capabilities, "max_number_epno_networks", c.max_number_epno_networks); in android_net_wifi_getScanCapabilities() [all …]
|
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 52 result.capabilities = ""; in testOnLevelChanged() 77 result.capabilities = ""; in testOnAccessPointChangedCallback()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 72 Vector<uint8_t> capabilities; in filterUnsupportedFeatures() local 73 capabilities.setCapacity(entry.count); in filterUnsupportedFeatures() 77 capabilities.push(capability); in filterUnsupportedFeatures() 80 mData.update(ANDROID_REQUEST_AVAILABLE_CAPABILITIES, capabilities); in filterUnsupportedFeatures()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | FlpHardwareProvider.java | 131 private void onBatchingCapabilities(int capabilities) { in onBatchingCapabilities() argument 134 mBatchingCapabilities = capabilities; in onBatchingCapabilities() 281 private void onGeofencingCapabilities(int capabilities) { in onGeofencingCapabilities() argument 282 getGeofenceHardwareSink().onCapabilities(capabilities); in onGeofencingCapabilities()
|