/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
D | NativeScanResult.java | 38 public BitSet capability; field in NativeScanResult 52 capability = (BitSet) source.capability.clone(); in NativeScanResult() 73 if (capability.get(i)) { in writeToParcel() 94 result.capability = new BitSet(CAPABILITY_SIZE); 97 result.capability.set(i);
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 265 public NetworkCapabilities addCapability(int capability) { in addCapability() argument 266 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) { in addCapability() 269 mNetworkCapabilities |= 1 << capability; in addCapability() 280 public NetworkCapabilities removeCapability(int capability) { in removeCapability() argument 281 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) { in removeCapability() 284 mNetworkCapabilities &= ~(1 << capability); in removeCapability() 305 public boolean hasCapability(int capability) { in hasCapability() argument 306 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) { in hasCapability() 309 return ((mNetworkCapabilities & (1 << capability)) != 0); in hasCapability()
|
D | NetworkRequest.java | 165 public Builder addCapability(int capability) { in addCapability() argument 166 mNetworkCapabilities.addCapability(capability); in addCapability() 176 public Builder removeCapability(int capability) { in removeCapability() argument 177 mNetworkCapabilities.removeCapability(capability); in removeCapability()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/ |
D | NativeScanResultTest.java | 62 scanResult.capability = TEST_CAPABILITY; in canSerializeAndDeserialize() 76 assertTrue(scanResult.capability.equals(scanResultDeserialized.capability)); in canSerializeAndDeserialize()
|
/frameworks/base/tests/net/java/android/net/ |
D | ConnectivityManagerTest.java | 59 for (int capability : capabilities) { in verifyNetworkCapabilities() 60 assertTrue(nc.hasCapability(capability)); in verifyNetworkCapabilities() 76 static void verifyRestrictedMobileNetworkCapabilities(int legacyType, int capability) { in verifyRestrictedMobileNetworkCapabilities() argument 80 capability, in verifyRestrictedMobileNetworkCapabilities()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 182 public static boolean can(int capabilities, int capability) { in can() argument 183 return (capabilities & capability) != 0; in can() 193 public boolean can(int capability) { in can() argument 194 return can(mConnectionCapabilities, capability); in can() 203 public void removeCapability(int capability) { in removeCapability() argument 205 newCapabilities &= ~capability; in removeCapability() 216 public void addCapability(int capability) { in addCapability() argument 218 newCapabilities |= capability; in addCapability()
|
D | Connection.java | 582 public static boolean can(int capabilities, int capability) { in can() argument 583 return (capabilities & capability) == capability; in can() 593 public boolean can(int capability) { in can() argument 594 return can(mConnectionCapabilities, capability); in can() 603 public void removeCapability(int capability) { in removeCapability() argument 604 mConnectionCapabilities &= ~capability; in removeCapability() 613 public void addCapability(int capability) { in addCapability() argument 614 mConnectionCapabilities |= capability; in addCapability()
|
D | PhoneAccount.java | 599 public boolean hasCapabilities(int capability) { in hasCapabilities() argument 600 return (mCapabilities & capability) == capability; in hasCapabilities()
|
D | Call.java | 368 public static boolean can(int capabilities, int capability) { in can() argument 369 return (capabilities & capability) == capability; in can() 378 public boolean can(int capability) { in can() argument 379 return can(mCallCapabilities, capability); in can()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 40 ACameraMetadata::isNdkSupportedCapability(int32_t capability) { in isNdkSupportedCapability() argument 41 switch (capability) { in isNdkSupportedCapability() 57 ALOGE("%s: Unknonwn capability %d", __FUNCTION__, capability); in isNdkSupportedCapability() 75 uint8_t capability = entry.data.u8[i]; in filterUnsupportedFeatures() local 76 if (isNdkSupportedCapability(capability)) { in filterUnsupportedFeatures() 77 capabilities.push(capability); in filterUnsupportedFeatures()
|
D | ACameraMetadata.h | 61 bool isNdkSupportedCapability(const int32_t capability);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 90 public void onConnectionCapabilitiesChanged(int capability); in onConnectionCapabilitiesChanged() argument 113 public void onConnectionCapabilitiesChanged(int capability) {} in onConnectionCapabilitiesChanged() argument 681 public static int addCapability(int capabilities, int capability) { in addCapability() argument 682 return capabilities | capability; in addCapability() 692 public static int removeCapability(int capabilities, int capability) { in removeCapability() argument 693 return capabilities & ~capability; in removeCapability()
|
/frameworks/support/compat/java/android/support/v4/accessibilityservice/ |
D | AccessibilityServiceInfoCompat.java | 427 public static String capabilityToString(int capability) { in capabilityToString() argument 428 switch (capability) { in capabilityToString()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 990 public static String capabilityToString(int capability) { in capabilityToString() argument 991 switch (capability) { in capabilityToString() 1085 public final int capability; field in AccessibilityServiceInfo.CapabilityInfo 1089 public CapabilityInfo(int capability, int titleResId, int descResId) { in CapabilityInfo() argument 1090 this.capability = capability; in CapabilityInfo()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 364 public void addCapability(int capability) { in addCapability() argument 365 mNetworkCapabilities.addCapability(capability); in addCapability() 369 public void removeCapability(int capability) { in removeCapability() argument 370 mNetworkCapabilities.removeCapability(capability); in removeCapability() 1278 void expectCapabilitiesWith(int capability, MockNetworkAgent agent) { in expectCapabilitiesWith() argument 1281 assertTrue(nc.hasCapability(capability)); in expectCapabilitiesWith() 1284 void expectCapabilitiesWithout(int capability, MockNetworkAgent agent) { in expectCapabilitiesWithout() argument 1287 assertFalse(nc.hasCapability(capability)); in expectCapabilitiesWithout() 1606 private void tryNetworkFactoryRequests(int capability) throws Exception { in tryNetworkFactoryRequests() argument 1608 final NetworkCapabilities nc = new NetworkRequest.Builder().addCapability(capability) in tryNetworkFactoryRequests() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 662 for (int capability : capabilities) { in posixCapabilitiesAsBits() 663 if ((capability < 0) || (capability > OsConstants.CAP_LAST_CAP)) { in posixCapabilitiesAsBits() 664 throw new IllegalArgumentException(String.valueOf(capability)); in posixCapabilitiesAsBits() 666 result |= (1L << capability); in posixCapabilitiesAsBits()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 87 bool hasCapability(HWC2::Capability capability) const;
|
D | HWC2.cpp | 269 for (auto capability : capabilities) { in loadCapabilities() local 270 mCapabilities.emplace(static_cast<Capability>(capability)); in loadCapabilities() 274 bool Device::hasCapability(HWC2::Capability capability) const in hasCapability() 277 capability) != mCapabilities.cend(); in hasCapability()
|
D | HWComposer.cpp | 113 bool HWComposer::hasCapability(HWC2::Capability capability) const in hasCapability() 115 return mHwcDevice->getCapabilities().count(capability) > 0; in hasCapability()
|
D | HWC2.h | 105 bool hasCapability(HWC2::Capability capability) const;
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 175 private boolean hasCapability(int[] capabilities, int capability) { in hasCapability() argument 177 if (c == capability) return true; in hasCapability()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraOps.java | 189 private boolean hasCapability(int[] capabilities, int capability) { in hasCapability() argument 191 if (c == capability) return true; in hasCapability()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHal.java | 1086 SupplicantResult<Integer> capability = new SupplicantResult( in getGroupCapability() local 1091 capability.setResult(status, cap); in getGroupCapability() 1098 if (!capability.isSuccess()) { in getGroupCapability() 1102 return capability.getResult(); in getGroupCapability()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WificondControl.java | 346 capabilities.from(ies, result.capability); in getScanResults()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 1881 public boolean isCapabilitySupported(int capability) { in isCapabilitySupported() argument 1882 if (capability < 0) { in isCapabilitySupported() 1888 return availableCapabilities.contains(capability); in isCapabilitySupported()
|