/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | SoftApCapabilityTest.java | 40 SoftApCapability capability = new SoftApCapability(testSoftApFeature); in testCopyOperator() local 41 capability.setMaxSupportedClients(10); in testCopyOperator() 43 SoftApCapability copiedCapability = new SoftApCapability(capability); in testCopyOperator() 45 assertEquals(capability, copiedCapability); in testCopyOperator() 46 assertEquals(capability.hashCode(), copiedCapability.hashCode()); in testCopyOperator() 56 SoftApCapability capability = new SoftApCapability(testSoftApFeature); in testParcelOperation() local 57 capability.setMaxSupportedClients(10); in testParcelOperation() 60 capability.writeToParcel(parcelW, 0); in testParcelOperation() 69 assertEquals(capability, fromParcel); in testParcelOperation() 70 assertEquals(capability.hashCode(), fromParcel.hashCode()); in testParcelOperation()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneCapabilityTest.java | 43 PhoneCapability capability = new PhoneCapability(maxActiveVoiceCalls, maxActiveData, max5G, in basicTests() local 46 assertEquals(maxActiveVoiceCalls, capability.maxActiveVoiceCalls); in basicTests() 47 assertEquals(maxActiveData, capability.maxActiveData); in basicTests() 48 assertEquals(max5G, capability.max5G); in basicTests() 49 assertEquals(1, capability.logicalModemList.size()); in basicTests() 50 assertEquals(modemInfo, capability.logicalModemList.get(0)); in basicTests() 53 assertEquals(capability, new PhoneCapability( in basicTests() 55 assertNotEquals(capability, toCompare); in basicTests() 68 PhoneCapability capability = new PhoneCapability(maxActiveVoiceCalls, maxActiveData, max5G, in parcelReadWrite() local 72 capability.writeToParcel(parcel, 0); in parcelReadWrite() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | SoftApCapability.java | 154 SoftApCapability capability = new SoftApCapability(supportedFeatures); 155 capability.mMaximumSupportedClientNumber = in.readInt(); 156 return capability; 177 SoftApCapability capability = (SoftApCapability) o; in equals() 178 return mSupportedFeatures == capability.mSupportedFeatures in equals() 179 && mMaximumSupportedClientNumber == capability.mMaximumSupportedClientNumber; in equals()
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 453 public @NonNull NetworkCapabilities addCapability(@NetCapability int capability) { in addCapability() argument 458 checkValidCapability(capability); in addCapability() 459 mNetworkCapabilities |= 1 << capability; in addCapability() 460 mUnwantedNetworkCapabilities &= ~(1 << capability); // remove from unwanted capability list in addCapability() 477 public void addUnwantedCapability(@NetCapability int capability) { in addUnwantedCapability() argument 478 checkValidCapability(capability); in addUnwantedCapability() 479 mUnwantedNetworkCapabilities |= 1 << capability; in addUnwantedCapability() 480 mNetworkCapabilities &= ~(1 << capability); // remove from requested capabilities in addUnwantedCapability() 490 public @NonNull NetworkCapabilities removeCapability(@NetCapability int capability) { in removeCapability() argument 493 checkValidCapability(capability); in removeCapability() [all …]
|
D | NetworkRequest.java | 184 public Builder addCapability(@NetworkCapabilities.NetCapability int capability) { in addCapability() argument 185 mNetworkCapabilities.addCapability(capability); in addCapability() 195 public Builder removeCapability(@NetworkCapabilities.NetCapability int capability) { in removeCapability() argument 196 mNetworkCapabilities.removeCapability(capability); in removeCapability() 240 public Builder addUnwantedCapability(@NetworkCapabilities.NetCapability int capability) { in addUnwantedCapability() argument 241 mNetworkCapabilities.addUnwantedCapability(capability); in addUnwantedCapability() 457 public boolean hasCapability(@NetCapability int capability) { in hasCapability() argument 458 return networkCapabilities.hasCapability(capability); in hasCapability() 466 public boolean hasUnwantedCapability(@NetCapability int capability) { in hasUnwantedCapability() argument 467 return networkCapabilities.hasUnwantedCapability(capability); in hasUnwantedCapability()
|
/frameworks/base/location/java/android/location/ |
D | GnssCapabilities.java | 204 private boolean hasCapability(long capability) { in hasCapability() argument 205 return (mGnssCapabilities & capability) == capability; in hasCapability()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ProvisioningManager.java | 1091 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in setProvisioningStatusForCapability() 1094 getITelephony().setImsProvisioningStatusForCapability(mSubId, capability, tech, in setProvisioningStatusForCapability() 1118 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in getProvisioningStatusForCapability() 1121 return getITelephony().getImsProvisioningStatusForCapability(mSubId, capability, tech); in getProvisioningStatusForCapability() 1142 @RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability) { in getRcsProvisioningStatusForCapability() 1144 return getITelephony().getRcsProvisioningStatusForCapability(mSubId, capability); in getRcsProvisioningStatusForCapability() 1165 @RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability, in setRcsProvisioningStatusForCapability() 1168 getITelephony().setRcsProvisioningStatusForCapability(mSubId, capability, in setRcsProvisioningStatusForCapability()
|
D | ImsRcsManager.java | 112 public void onQueryCapabilityConfiguration(int capability, int radioTech, in onQueryCapabilityConfiguration() argument 118 public void onChangeCapabilityConfigurationError(int capability, int radioTech, in onChangeCapabilityConfigurationError() argument 397 public boolean isCapable(@RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability, in isCapable() argument 407 return imsRcsController.isCapable(mSubId, capability, radioTech); in isCapable() 431 public boolean isAvailable(@RcsFeature.RcsImsCapabilities.RcsImsCapabilityFlag int capability) in isAvailable() argument 441 return imsRcsController.isAvailable(mSubId, capability); in isAvailable()
|
D | ImsMmTelManager.java | 173 public void onQueryCapabilityConfiguration(int capability, int radioTech, in onQueryCapabilityConfiguration() argument 179 public void onChangeCapabilityConfigurationError(int capability, int radioTech, in onChangeCapabilityConfigurationError() argument 728 public boolean isCapable(@MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in isCapable() argument 736 return iTelephony.isCapable(mSubId, capability, imsRegTech); in isCapable() 762 public boolean isAvailable(@MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in isAvailable() argument 770 return iTelephony.isAvailable(mSubId, capability, imsRegTech); in isAvailable() 794 public void isSupported(@MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in isSupported() argument 817 }, capability, transportType); in isSupported()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureManager.java | 333 @RcsImsCapabilities.RcsImsCapabilityFlag int capability, in isCapable() 343 if ((capability != resultCapability) || (radioTech != resultRadioTech)) { in isCapable() 346 if (DBG) log("capable result:capability=" + capability + ", enabled=" + enabled); in isCapable() 357 public void onChangeCapabilityConfigurationError(int capability, int radioTech, in isCapable() 364 if (DBG) log("Query capability: " + capability + ", radioTech=" + radioTech); in isCapable() 365 mRcsFeatureConnection.queryCapabilityConfiguration(capability, radioTech, callback); in isCapable() 386 public boolean isAvailable(@RcsImsCapabilities.RcsImsCapabilityFlag int capability) in isAvailable() argument 390 return new RcsImsCapabilities(currentStatus).isCapable(capability); in isAvailable() 426 @RcsImsCapabilities.RcsImsCapabilityFlag int capability) { in addRcsUceCapability() argument 427 request.addCapabilitiesToEnableForTech(capability, in addRcsUceCapability() [all …]
|
/frameworks/native/libs/binder/ |
D | IUidObserver.cpp | 60 int32_t capability) in onUidStateChanged() argument 67 data.writeInt32(capability); in onUidStateChanged() 109 int32_t capability = data.readInt32(); in onTransact() local 110 onUidStateChanged(uid, procState, procStateSeq, capability); in onTransact()
|
/frameworks/base/telephony/java/android/telephony/ims/feature/ |
D | ImsFeature.java | 208 public void onChangeCapabilityConfigurationError(int capability, int radioTech, in onChangeCapabilityConfigurationError() argument 214 mCallback.onChangeCapabilityConfigurationError(capability, radioTech, reason); in onChangeCapabilityConfigurationError() 446 final void queryCapabilityConfigurationInternal(int capability, int radioTech, in queryCapabilityConfigurationInternal() argument 448 boolean enabled = queryCapabilityConfiguration(capability, radioTech); in queryCapabilityConfigurationInternal() 451 c.onQueryCapabilityConfiguration(capability, radioTech, enabled); in queryCapabilityConfigurationInternal() 513 public abstract boolean queryCapabilityConfiguration(int capability, int radioTech); in queryCapabilityConfiguration() argument
|
D | MmTelFeature.java | 166 public void queryCapabilityConfiguration(int capability, int radioTech, 168 queryCapabilityConfigurationInternal(capability, radioTech, c); 301 public final void removeCapabilities(@MmTelCapability int capability) { in removeCapabilities() argument 302 super.removeCapabilities(capability); in removeCapabilities() 577 public boolean queryCapabilityConfiguration(@MmTelCapabilities.MmTelCapability int capability, in queryCapabilityConfiguration() argument
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | IImsCapabilityCallback.aidl | 24 void onQueryCapabilityConfiguration(int capability, int radioTech, boolean enabled); in onQueryCapabilityConfiguration() argument 25 void onChangeCapabilityConfigurationError(int capability, int radioTech, int reason); in onChangeCapabilityConfigurationError() argument
|
D | IImsRcsController.aidl | 41 boolean isCapable(int subId, int capability, int radioTech); in isCapable() argument 42 boolean isAvailable(int subId, int capability); in isAvailable() argument
|
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/ |
D | NativeScanResultTest.java | 66 scanResult.capability = TEST_CAPABILITY; in canSerializeAndDeserialize() 83 assertEquals(scanResult.capability, scanResultDeserialized.capability); in canSerializeAndDeserialize()
|
/frameworks/base/wifi/java/android/net/wifi/nl80211/ |
D | NativeScanResult.java | 65 @BssCapabilityBits public int capability; field in NativeScanResult 239 return capability; in getCapabilities() 272 out.writeInt(capability); in writeToParcel() 298 result.capability = in.readInt();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SoftApModeConfiguration.java | 44 SoftApCapability capability) { in SoftApModeConfiguration() argument 51 mCapability = capability; in SoftApModeConfiguration()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | MmTelFeatureCompatAdapter.java | 89 public ConfigListener(int capability, int tech, CountDownLatch latch) { in ConfigListener() argument 90 mCapability = capability; in ConfigListener() 291 public boolean queryCapabilityConfiguration(int capability, int radioTech) { in queryCapabilityConfiguration() argument 292 int capConverted = convertCapability(capability, radioTech); in queryCapabilityConfiguration() 522 private int convertCapability(int capability, int radioTech) { in convertCapability() argument 525 switch (capability) { in convertCapability() 537 switch (capability) { in convertCapability()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 457 SoftApCapability capability = new SoftApCapability(features); in updateCapabilityFromResource() local 462 capability.setMaxSupportedClients(hardwareSupportedMaxClient); in updateCapabilityFromResource() 465 return capability; in updateCapabilityFromResource() 529 SoftApCapability capability) { in checkSupportAllConfiguration() argument 530 if (!capability.areFeaturesSupported( in checkSupportAllConfiguration() 538 if (!capability.areFeaturesSupported(SoftApCapability.SOFTAP_FEATURE_WPA3_SAE) in checkSupportAllConfiguration()
|
/frameworks/base/tests/net/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 174 public void addCapability(int capability) { in addCapability() argument 175 mNetworkCapabilities.addCapability(capability); in addCapability() 179 public void removeCapability(int capability) { in removeCapability() argument 180 mNetworkCapabilities.removeCapability(capability); in removeCapability()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssMeasurementCorrectionsProvider.java | 127 private static boolean hasCapability(int halCapabilities, int capability) { in hasCapability() argument 128 return (halCapabilities & capability) != 0; in hasCapability()
|
D | GnssCapabilitiesProvider.java | 124 private static boolean hasCapability(int halCapabilities, int capability) { in hasCapability() argument 125 return (halCapabilities & capability) != 0; in hasCapability()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephony.aidl | 1976 boolean isCapable(int subId, int capability, int regTech); in isCapable() argument 1981 boolean isAvailable(int subId, int capability, int regTech); in isAvailable() argument 1986 void isMmTelCapabilitySupported(int subId, IIntegerConsumer callback, int capability, in isMmTelCapabilitySupported() argument 2095 void setImsProvisioningStatusForCapability(int subId, int capability, int tech, in setImsProvisioningStatusForCapability() argument 2101 boolean getImsProvisioningStatusForCapability(int subId, int capability, int tech); in getImsProvisioningStatusForCapability() argument 2106 boolean getRcsProvisioningStatusForCapability(int subId, int capability); in getRcsProvisioningStatusForCapability() argument 2111 void setRcsProvisioningStatusForCapability(int subId, int capability, in setRcsProvisioningStatusForCapability() argument 2115 boolean isMmTelCapabilityProvisionedInCache(int subId, int capability, int tech); in isMmTelCapabilityProvisionedInCache() argument 2118 void cacheMmTelCapabilityProvisioning(int subId, int capability, int tech, in cacheMmTelCapabilityProvisioning() argument
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 69 ACameraMetadata::isNdkSupportedCapability(int32_t capability) { in isNdkSupportedCapability() argument 70 switch (capability) { in isNdkSupportedCapability() 95 uint8_t capability = entry.data.u8[i]; in filterUnsupportedFeatures() local 96 if (isNdkSupportedCapability(capability)) { in filterUnsupportedFeatures() 97 capabilities.push(capability); in filterUnsupportedFeatures() 99 if (capability == ANDROID_REQUEST_AVAILABLE_CAPABILITIES_LOGICAL_MULTI_CAMERA) { in filterUnsupportedFeatures()
|