/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssMeasurementCorrectionsProvider.java | 86 boolean onCapabilitiesUpdated(int capabilities) { in onCapabilitiesUpdated() argument 87 if (hasCapability(capabilities, CAPABILITY_LOS_SATS) || hasCapability(capabilities, in onCapabilitiesUpdated() 89 mCapabilities = capabilities; in onCapabilitiesUpdated() 93 + Integer.toHexString(capabilities) + " does not contain the mandatory " in onCapabilitiesUpdated() 110 final int capabilities = getCapabilities(); in toStringCapabilities() local 112 s.append("mCapabilities=0x").append(Integer.toHexString(capabilities)); in toStringCapabilities() 114 if (hasCapability(capabilities, CAPABILITY_LOS_SATS)) { in toStringCapabilities() 117 if (hasCapability(capabilities, CAPABILITY_EXCESS_PATH_LENGTH)) { in toStringCapabilities() 120 if (hasCapability(capabilities, CAPABILITY_REFLECTING_PLANE)) { in toStringCapabilities()
|
D | GnssNetworkConnectivityHandler.java | 152 private static short getCapabilityFlags(NetworkCapabilities capabilities) { in getCapabilityFlags() argument 154 if (capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING)) { in getCapabilityFlags() 157 if (capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)) { in getCapabilityFlags() 345 NetworkCapabilities capabilities) { in createNetworkConnectivityCallback() argument 350 mAvailableNetworkCapabilities.get(network), capabilities)) { in createNetworkConnectivityCallback() 353 + capabilities); in createNetworkConnectivityCallback() 358 mAvailableNetworkCapabilities.put(network, capabilities); in createNetworkConnectivityCallback() 367 handleUpdateNetworkState(network, true, capabilities); in createNetworkConnectivityCallback() 430 NetworkCapabilities capabilities) { 437 capabilities); [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 315 InformationElementUtil.Capabilities capabilities = in buildCapabilities_rsnElement() local 317 capabilities.from(ies, beaconCap, false); in buildCapabilities_rsnElement() 318 String result = capabilities.generateCapabilitiesString(); in buildCapabilities_rsnElement() 339 InformationElementUtil.Capabilities capabilities = in buildCapabilities_malformedRsnElement() local 341 capabilities.from(ies, beaconCap, false); in buildCapabilities_malformedRsnElement() 342 String result = capabilities.generateCapabilitiesString(); in buildCapabilities_malformedRsnElement() 366 InformationElementUtil.Capabilities capabilities = in buildCapabilities_wpa1Element() local 368 capabilities.from(ies, beaconCap, false); in buildCapabilities_wpa1Element() 369 String result = capabilities.generateCapabilitiesString(); in buildCapabilities_wpa1Element() 389 InformationElementUtil.Capabilities capabilities = in buildCapabilities_malformedWpa1Element() local [all …]
|
D | ScanResultUtilTest.java | 98 scanResult.capabilities = ""; in testNetworkCreationFromScanResult() 103 scanResult.capabilities = "WEP"; in testNetworkCreationFromScanResult() 110 scanResult.capabilities = "PSK"; in testNetworkCreationFromScanResult() 115 scanResult.capabilities = "EAP"; in testNetworkCreationFromScanResult() 121 scanResult.capabilities = "WAPI-PSK"; in testNetworkCreationFromScanResult() 126 scanResult.capabilities = "WAPI-CERT"; in testNetworkCreationFromScanResult() 263 scanResult.capabilities = "[RSN-PSK-CCMP]"; in testValidateScanResultList() 292 assertEquals("ScanResult capabilities", input.capabilities, in validateScanDetail() 293 output.getScanResult().capabilities); in validateScanDetail()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ScanResultUtil.java | 53 return scanResult.capabilities.contains("PSK"); in isScanResultForPskNetwork() 61 return scanResult.capabilities.contains("WAPI-PSK"); in isScanResultForWapiPskNetwork() 70 return scanResult.capabilities.contains("WAPI-CERT"); in isScanResultForWapiCertNetwork() 78 return scanResult.capabilities.contains("EAP"); in isScanResultForEapNetwork() 86 return scanResult.capabilities.contains("SUITE-B-192"); in isScanResultForEapSuiteBNetwork() 94 return scanResult.capabilities.contains("WEP"); in isScanResultForWepNetwork() 102 return scanResult.capabilities.contains("OWE"); in isScanResultForOweNetwork() 110 return scanResult.capabilities.contains("OWE_TRANSITION"); in isScanResultForOweTransitionNetwork() 118 return scanResult.capabilities.contains("SAE"); in isScanResultForSaeNetwork() 126 return scanResult.capabilities.contains("PSK") && scanResult.capabilities.contains("SAE"); in isScanResultForPskSaeTransitionNetwork() [all …]
|
/frameworks/ml/nn/common/include/ |
D | Utils.h | 431 bool compliantWithV1_0(const hal::V1_0::Capabilities& capabilities); 432 bool compliantWithV1_0(const hal::V1_1::Capabilities& capabilities); 433 bool compliantWithV1_0(const hal::V1_2::Capabilities& capabilities); 434 bool compliantWithV1_0(const hal::V1_3::Capabilities& capabilities); 435 bool compliantWithV1_1(const hal::V1_0::Capabilities& capabilities); 436 bool compliantWithV1_1(const hal::V1_1::Capabilities& capabilities); 437 bool compliantWithV1_1(const hal::V1_2::Capabilities& capabilities); 438 bool compliantWithV1_1(const hal::V1_3::Capabilities& capabilities); 439 bool compliantWithV1_2(const hal::V1_0::Capabilities& capabilities); 440 bool compliantWithV1_2(const hal::V1_1::Capabilities& capabilities); [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 169 final NetworkCapabilities capabilities = mConnManager.getNetworkCapabilities( in isNetworkAvailable() local 171 final boolean satisfied = isSatisfied(job, network, capabilities, mConstants); in isNetworkAvailable() 174 + " and capabilities " + capabilities + ". Satisfied=" + satisfied); in isNetworkAvailable() 321 NetworkCapabilities capabilities, Constants constants) { in isInsane() argument 326 final long bandwidth = capabilities.getLinkDownstreamBandwidthKbps(); in isInsane() 344 final long bandwidth = capabilities.getLinkUpstreamBandwidthKbps(); in isInsane() 364 NetworkCapabilities capabilities, Constants constants) { in isCongestionDelayed() argument 367 if (!capabilities.hasCapability(NET_CAPABILITY_NOT_CONGESTED)) { in isCongestionDelayed() 375 NetworkCapabilities capabilities, Constants constants) { in isStrictSatisfied() argument 387 return required.satisfiedByNetworkCapabilities(capabilities); in isStrictSatisfied() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ThroughputPredictor.java | 123 public int predictMaxTxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities) { in predictMaxTxThroughput() argument 124 return predictThroughputInternal(capabilities.wifiStandard, capabilities.channelBandwidth, in predictMaxTxThroughput() 125 WifiInfo.MAX_RSSI, capabilities.maxNumberTxSpatialStreams, MIN_CHANNEL_UTILIZATION); in predictMaxTxThroughput() 133 public int predictMaxRxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities) { in predictMaxRxThroughput() argument 134 return predictThroughputInternal(capabilities.wifiStandard, capabilities.channelBandwidth, in predictMaxRxThroughput() 135 WifiInfo.MAX_RSSI, capabilities.maxNumberRxSpatialStreams, MIN_CHANNEL_UTILIZATION); in predictMaxRxThroughput() 142 public int predictTxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities, in predictTxThroughput() argument 146 return predictThroughputInternal(capabilities.wifiStandard, capabilities.channelBandwidth, in predictTxThroughput() 147 rssiDbm, capabilities.maxNumberTxSpatialStreams, channelUtilizationFinal); in predictTxThroughput() 154 public int predictRxThroughput(@NonNull WifiNative.ConnectionCapabilities capabilities, in predictRxThroughput() argument [all …]
|
/frameworks/base/wifi/java/android/net/wifi/nl80211/ |
D | DeviceWiphyCapabilities.java | 267 DeviceWiphyCapabilities capabilities = new DeviceWiphyCapabilities(); 268 capabilities.m80211nSupported = in.readBoolean(); 269 capabilities.m80211acSupported = in.readBoolean(); 270 capabilities.m80211axSupported = in.readBoolean(); 271 capabilities.mChannelWidth160MhzSupported = in.readBoolean(); 272 capabilities.mChannelWidth80p80MhzSupported = in.readBoolean(); 273 capabilities.mMaxNumberTxSpatialStreams = in.readInt(); 274 capabilities.mMaxNumberRxSpatialStreams = in.readInt(); 275 return capabilities;
|
/frameworks/base/telephony/java/android/telephony/ims/feature/ |
D | RcsFeature.java | 118 public void updateCapabilities(RcsContactUceCapability capabilities, int operationToken) in updateCapabilities() argument 121 .updateCapabilities(capabilities, operationToken), in updateCapabilities() 127 public void sendCapabilityRequest(Uri contactUri, RcsContactUceCapability capabilities, in sendCapabilityRequest() argument 130 .sendCapabilityRequest(contactUri, capabilities, operationToken), in sendCapabilityRequest() 228 public RcsImsCapabilities(@RcsImsCapabilityFlag int capabilities) { in RcsImsCapabilities() argument 229 super(capabilities); in RcsImsCapabilities() 237 public void addCapabilities(@RcsImsCapabilityFlag int capabilities) { in addCapabilities() argument 238 super.addCapabilities(capabilities); in addCapabilities() 242 public void removeCapabilities(@RcsImsCapabilityFlag int capabilities) { in removeCapabilities() argument 243 super.removeCapabilities(capabilities); in removeCapabilities() [all …]
|
D | ImsFeature.java | 248 protected Capabilities(int capabilities) { in Capabilities() argument 249 mCapabilities = capabilities; in Capabilities() 257 public void addCapabilities(int capabilities) { in addCapabilities() argument 258 mCapabilities |= capabilities; in addCapabilities() 266 public void removeCapabilities(int capabilities) { in removeCapabilities() argument 267 mCapabilities &= ~capabilities; in removeCapabilities() 274 public boolean isCapable(int capabilities) { in isCapable() argument 275 return (mCapabilities & capabilities) == capabilities; in isCapable()
|
D | CapabilityChangeRequest.java | 133 @MmTelFeature.MmTelCapabilities.MmTelCapability int capabilities, in addCapabilitiesToEnableForTech() 135 addAllCapabilities(mCapabilitiesToEnable, capabilities, radioTech); in addCapabilitiesToEnableForTech() 146 @MmTelFeature.MmTelCapabilities.MmTelCapability int capabilities, in addCapabilitiesToDisableForTech() 148 addAllCapabilities(mCapabilitiesToDisable, capabilities, radioTech); in addCapabilitiesToDisableForTech() 167 private void addAllCapabilities(Set<CapabilityPair> set, int capabilities, int tech) { in addAllCapabilities() argument 168 long highestCapability = Long.highestOneBit(capabilities); in addAllCapabilities() 170 if ((i & capabilities) > 0) { in addAllCapabilities()
|
/frameworks/ml/nn/common/ |
D | Utils.cpp | 2077 static bool isQuantized8PerformanceConsistentWithP(const V1_2::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP() argument 2079 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP() 2082 [quantized8Performance, &capabilities](OperandType type) { in isQuantized8PerformanceConsistentWithP() 2084 lookup(capabilities.operandPerformance, in isQuantized8PerformanceConsistentWithP() 2089 static bool isQuantized8PerformanceConsistentWithP(const V1_3::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP() argument 2091 lookup(capabilities.operandPerformance, OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP() 2094 [quantized8Performance, &capabilities](OperandType type) { in isQuantized8PerformanceConsistentWithP() 2096 lookup(capabilities.operandPerformance, type); in isQuantized8PerformanceConsistentWithP() 2117 bool compliantWithV1_0(const V1_1::Capabilities& capabilities) { in compliantWithV1_0() argument 2118 return capabilities.relaxedFloat32toFloat16Performance == capabilities.float32Performance; in compliantWithV1_0() [all …]
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriverFloatSlow.cpp | 49 Capabilities capabilities = { in getCapabilities_1_3() local 55 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_3() 57 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_3() 60 cb(ErrorStatus::NONE, capabilities); in getCapabilities_1_3()
|
D | SampleDriverFloatFast.cpp | 49 Capabilities capabilities = { in getCapabilities_1_3() local 55 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_3() 57 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_3() 60 cb(ErrorStatus::NONE, capabilities); in getCapabilities_1_3()
|
D | SampleDriverMinimal.cpp | 50 Capabilities capabilities = { in getCapabilities_1_3() local 56 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_3() 58 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_3() 61 cb(ErrorStatus::NONE, capabilities); in getCapabilities_1_3()
|
/frameworks/wilhelm/src/itf/ |
D | IPlaybackRate.cpp | 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/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 311 private int applyLocalCallCapabilities(ImsCallProfile localProfile, int capabilities) { in applyLocalCallCapabilities() argument 313 capabilities = removeCapability(capabilities, in applyLocalCallCapabilities() 318 return capabilities; in applyLocalCallCapabilities() 324 capabilities = addCapability(capabilities, in applyLocalCallCapabilities() 328 return capabilities; in applyLocalCallCapabilities() 331 private static int applyRemoteCallCapabilities(ImsCallProfile remoteProfile, int capabilities) { in applyRemoteCallCapabilities() argument 333 capabilities = removeCapability(capabilities, in applyRemoteCallCapabilities() 340 capabilities = addCapability(capabilities, in applyRemoteCallCapabilities() 344 return capabilities; in applyRemoteCallCapabilities() 1031 int capabilities = getConnectionCapabilities(); in updateMediaCapabilities() local [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Call.java | 639 public static boolean can(int capabilities, int capability) { in can() argument 640 return (capabilities & capability) == capability; in can() 659 public static String capabilitiesToString(int capabilities) { in capabilitiesToString() argument 662 if (can(capabilities, CAPABILITY_HOLD)) { in capabilitiesToString() 665 if (can(capabilities, CAPABILITY_SUPPORT_HOLD)) { in capabilitiesToString() 668 if (can(capabilities, CAPABILITY_MERGE_CONFERENCE)) { in capabilitiesToString() 671 if (can(capabilities, CAPABILITY_SWAP_CONFERENCE)) { in capabilitiesToString() 674 if (can(capabilities, CAPABILITY_RESPOND_VIA_TEXT)) { in capabilitiesToString() 677 if (can(capabilities, CAPABILITY_MUTE)) { in capabilitiesToString() 680 if (can(capabilities, CAPABILITY_MANAGE_CONFERENCE)) { in capabilitiesToString() [all …]
|
D | Connection.java | 918 public static String capabilitiesToString(int capabilities) { in capabilitiesToString() argument 919 return capabilitiesToStringInternal(capabilities, true /* isLong */); in capabilitiesToString() 930 public static String capabilitiesToStringShort(int capabilities) { in capabilitiesToStringShort() argument 931 return capabilitiesToStringInternal(capabilities, false /* isLong */); in capabilitiesToStringShort() 934 private static String capabilitiesToStringInternal(int capabilities, boolean isLong) { in capabilitiesToStringInternal() argument 941 if ((capabilities & CAPABILITY_HOLD) == CAPABILITY_HOLD) { in capabilitiesToStringInternal() 944 if ((capabilities & CAPABILITY_SUPPORT_HOLD) == CAPABILITY_SUPPORT_HOLD) { in capabilitiesToStringInternal() 947 if ((capabilities & CAPABILITY_MERGE_CONFERENCE) == CAPABILITY_MERGE_CONFERENCE) { in capabilitiesToStringInternal() 950 if ((capabilities & CAPABILITY_SWAP_CONFERENCE) == CAPABILITY_SWAP_CONFERENCE) { in capabilitiesToStringInternal() 953 if ((capabilities & CAPABILITY_RESPOND_VIA_TEXT) == CAPABILITY_RESPOND_VIA_TEXT) { in capabilitiesToStringInternal() [all …]
|
D | ParcelableConnection.java | 63 int capabilities, in ParcelableConnection() argument 83 this(phoneAccount, state, capabilities, properties, supportedAudioRoutes, address, in ParcelableConnection() 96 int capabilities, in ParcelableConnection() argument 116 mConnectionCapabilities = capabilities; in ParcelableConnection() 266 int capabilities = source.readInt(); 292 capabilities,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeCallback.java | 167 NanCapabilities capabilities) { in notifyCapabilitiesResponse() argument 170 + ", capabilities=" + capabilities); in notifyCapabilitiesResponse() 175 frameworkCapabilities.maxConcurrentAwareClusters = capabilities.maxConcurrentClusters; in notifyCapabilitiesResponse() 176 frameworkCapabilities.maxPublishes = capabilities.maxPublishes; in notifyCapabilitiesResponse() 177 frameworkCapabilities.maxSubscribes = capabilities.maxSubscribes; in notifyCapabilitiesResponse() 178 frameworkCapabilities.maxServiceNameLen = capabilities.maxServiceNameLen; in notifyCapabilitiesResponse() 179 frameworkCapabilities.maxMatchFilterLen = capabilities.maxMatchFilterLen; in notifyCapabilitiesResponse() 180 frameworkCapabilities.maxTotalMatchFilterLen = capabilities.maxTotalMatchFilterLen; in notifyCapabilitiesResponse() 182 capabilities.maxServiceSpecificInfoLen; in notifyCapabilitiesResponse() 184 capabilities.maxExtendedServiceSpecificInfoLen; in notifyCapabilitiesResponse() [all …]
|
/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/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | TestUtils.java | 34 result.capabilities = ""; in buildScanResult() 41 result.capabilities = ""; in buildScanResult()
|