/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 | 267 public NetworkCapabilities addCapability(int capability) { in addCapability() argument 268 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) { in addCapability() 271 mNetworkCapabilities |= 1 << capability; in addCapability() 282 public NetworkCapabilities removeCapability(int capability) { in removeCapability() argument 283 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) { in removeCapability() 286 mNetworkCapabilities &= ~(1 << capability); in removeCapability() 307 public boolean hasCapability(int capability) { in hasCapability() argument 308 if (capability < MIN_NET_CAPABILITY || capability > MAX_NET_CAPABILITY) { in hasCapability() 311 return ((mNetworkCapabilities & (1 << capability)) != 0); in hasCapability() 914 public static String capabilityNameOf(int capability) { in capabilityNameOf() argument [all …]
|
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/telecomm/java/android/telecom/ |
D | Conference.java | 184 public static boolean can(int capabilities, int capability) { in can() argument 185 return (capabilities & capability) != 0; in can() 195 public boolean can(int capability) { in can() argument 196 return can(mConnectionCapabilities, capability); in can() 205 public void removeCapability(int capability) { in removeCapability() argument 207 newCapabilities &= ~capability; in removeCapability() 218 public void addCapability(int capability) { in addCapability() argument 220 newCapabilities |= capability; in addCapability()
|
D | Connection.java | 601 public static boolean can(int capabilities, int capability) { in can() argument 602 return (capabilities & capability) == capability; in can() 612 public boolean can(int capability) { in can() argument 613 return can(mConnectionCapabilities, capability); in can() 622 public void removeCapability(int capability) { in removeCapability() argument 623 mConnectionCapabilities &= ~capability; in removeCapability() 632 public void addCapability(int capability) { in addCapability() argument 633 mConnectionCapabilities |= capability; in addCapability()
|
D | PhoneAccount.java | 669 public boolean hasCapabilities(int capability) { in hasCapabilities() argument 670 return (mCapabilities & capability) == capability; in hasCapabilities()
|
D | Call.java | 448 public static boolean can(int capabilities, int capability) { in can() argument 449 return (capabilities & capability) == capability; in can() 458 public boolean can(int capability) { in can() argument 459 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 115 public void onConnectionCapabilitiesChanged(int capability) {} in onConnectionCapabilitiesChanged() argument 706 public static int addCapability(int capabilities, int capability) { in addCapability() argument 707 return capabilities | capability; in addCapability() 717 public static int removeCapability(int capabilities, int capability) { in removeCapability() argument 718 return capabilities & ~capability; in removeCapability()
|
/frameworks/support/compat/java/android/support/v4/accessibilityservice/ |
D | AccessibilityServiceInfoCompat.java | 299 public static String capabilityToString(int capability) { in capabilityToString() argument 300 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/android/net/ |
D | ConnectivityManagerTest.java | 87 for (int capability : capabilities) { in verifyNetworkCapabilities() 88 assertTrue(nc.hasCapability(capability)); in verifyNetworkCapabilities() 104 static void verifyRestrictedMobileNetworkCapabilities(int legacyType, int capability) { in verifyRestrictedMobileNetworkCapabilities() argument 108 capability, in verifyRestrictedMobileNetworkCapabilities()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 689 for (int capability : capabilities) { in posixCapabilitiesAsBits() 690 if ((capability < 0) || (capability > OsConstants.CAP_LAST_CAP)) { in posixCapabilitiesAsBits() 691 throw new IllegalArgumentException(String.valueOf(capability)); in posixCapabilitiesAsBits() 693 result |= (1L << capability); in posixCapabilitiesAsBits()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 392 public void addCapability(int capability) { in addCapability() argument 393 mNetworkCapabilities.addCapability(capability); in addCapability() 397 public void removeCapability(int capability) { in removeCapability() argument 398 mNetworkCapabilities.removeCapability(capability); in removeCapability() 1370 void expectCapabilitiesWith(int capability, MockNetworkAgent agent) { in expectCapabilitiesWith() argument 1373 assertTrue(nc.hasCapability(capability)); in expectCapabilitiesWith() 1376 void expectCapabilitiesWithout(int capability, MockNetworkAgent agent) { in expectCapabilitiesWithout() argument 1379 assertFalse(nc.hasCapability(capability)); in expectCapabilitiesWithout() 1789 private void tryNetworkFactoryRequests(int capability) throws Exception { in tryNetworkFactoryRequests() argument 1791 final NetworkCapabilities nc = new NetworkRequest.Builder().addCapability(capability) in tryNetworkFactoryRequests() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 78 bool hasCapability(HWC2::Capability capability) const;
|
D | HWComposer.cpp | 87 bool HWComposer::hasCapability(HWC2::Capability capability) const in hasCapability() 89 return mHwcDevice->getCapabilities().count(capability) > 0; in hasCapability()
|
D | HWC2.cpp | 219 for (auto capability : capabilities) { in loadCapabilities() local 220 mCapabilities.emplace(static_cast<Capability>(capability)); in loadCapabilities()
|
/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 | 1087 SupplicantResult<Integer> capability = new SupplicantResult( in getGroupCapability() local 1092 capability.setResult(status, cap); in getGroupCapability() 1099 if (!capability.isSuccess()) { in getGroupCapability() 1103 return capability.getResult(); in getGroupCapability()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WificondControl.java | 375 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()
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 199 bool hasCapability(Capability capability) const;
|