/frameworks/base/core/java/android/hardware/lights/ |
D | Light.java | 96 private final int mCapabilities; field in Light 117 mCapabilities = capabilities; in Light() 125 mCapabilities = in.readInt(); in Light() 135 dest.writeInt(mCapabilities); in writeToParcel() 161 && mCapabilities == light.mCapabilities; in equals() 174 + mCapabilities + " Ordinal=" + mOrdinal + "]"; in toString() 218 return mCapabilities; in getCapabilities() 227 return (mCapabilities & LIGHT_CAPABILITY_BRIGHTNESS) == LIGHT_CAPABILITY_BRIGHTNESS; in hasBrightnessControl() 236 return (mCapabilities & LIGHT_CAPABILITY_RGB) == LIGHT_CAPABILITY_RGB; in hasRgbControl()
|
/frameworks/base/core/java/android/app/time/ |
D | TimeZoneCapabilitiesAndConfig.java | 47 @NonNull private final TimeZoneCapabilities mCapabilities; field in TimeZoneCapabilitiesAndConfig 58 this.mCapabilities = Objects.requireNonNull(capabilities); in TimeZoneCapabilitiesAndConfig() 71 dest.writeParcelable(mCapabilities, flags); in writeToParcel() 80 return mCapabilities; in getCapabilities() 105 return mCapabilities.equals(that.mCapabilities) in equals() 111 return Objects.hash(mCapabilities, mConfiguration); in hashCode() 117 + "mCapabilities=" + mCapabilities in toString()
|
/frameworks/base/telephony/java/android/telephony/ims/feature/ |
D | ImsFeature.java | 237 protected int mCapabilities = 0; field in ImsFeature.Capabilities 249 mCapabilities = capabilities; in Capabilities() 258 mCapabilities |= capabilities; in addCapabilities() 267 mCapabilities &= ~capabilities; in removeCapabilities() 275 return (mCapabilities & capabilities) == capabilities; in isCapable() 283 return new Capabilities(mCapabilities); in copy() 291 return mCapabilities; in getMask() 304 return mCapabilities == that.mCapabilities; in equals() 312 return mCapabilities; in hashCode() 320 return "Capabilities: " + Integer.toBinaryString(mCapabilities); in toString() [all …]
|
D | MmTelFeature.java | 217 .queryCapabilityStatus().mCapabilities, "queryCapabilityStatus"); 370 mCapabilities = c.mCapabilities; in MmTelCapabilities()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsContactUceCapability.java | 118 private final RcsContactUceCapability mCapabilities; field in RcsContactUceCapability.OptionsBuilder 126 mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_OPTIONS, in OptionsBuilder() 138 mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_OPTIONS, in OptionsBuilder() 148 mCapabilities.mRequestResult = requestResult; in setRequestResult() 158 mCapabilities.mFeatureTags.add(tag); in addFeatureTag() 168 mCapabilities.mFeatureTags.addAll(tags); in addFeatureTags() 176 return mCapabilities; in build() 186 private final RcsContactUceCapability mCapabilities; field in RcsContactUceCapability.PresenceBuilder 197 mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_PRESENCE, in PresenceBuilder() 199 mCapabilities.mRequestResult = requestResult; in PresenceBuilder() [all …]
|
D | RcsContactPresenceTuple.java | 231 private ServiceCapabilities mCapabilities; field in RcsContactPresenceTuple.ServiceCapabilities.Builder 240 mCapabilities = new ServiceCapabilities(isAudioCapable, isVideoCapable); in Builder() 248 mCapabilities.mSupportedDuplexModeList.add(mode); in addSupportedDuplexMode() 257 mCapabilities.mUnsupportedDuplexModeList.add(mode); in addUnsupportedDuplexMode() 265 return mCapabilities; in build()
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsFeatureContainer.java | 66 private @ImsService.ImsServiceCapability long mCapabilities; field in ImsFeatureContainer 81 mCapabilities = initialCaps; in ImsFeatureContainer() 93 mCapabilities = in.readLong(); in ImsFeatureContainer() 101 return mCapabilities; in getCapabilities() 109 mCapabilities = caps; in setCapabilities() 137 mCapabilities == that.getCapabilities(); in equals() 143 mCapabilities); in hashCode() 154 ", capabilities = " + ImsService.getCapabilitiesString(mCapabilities) + in toString() 170 dest.writeLong(mCapabilities); in writeToParcel()
|
/frameworks/base/core/java/android/print/ |
D | PrinterInfo.java | 94 private final @Nullable PrinterCapabilitiesInfo mCapabilities; field in PrinterInfo 107 mCapabilities = capabilities; in PrinterInfo() 228 return mCapabilities; in getCapabilities() 277 mCapabilities = parcel.readParcelable(null, android.print.PrinterCapabilitiesInfo.class); in PrinterInfo() 295 parcel.writeParcelable(mCapabilities, flags); in writeToParcel() 310 result = prime * result + ((mCapabilities != null) ? mCapabilities.hashCode() : 0); in hashCode() 336 if (mCapabilities == null) { in equalsIgnoringStatus() 337 if (other.mCapabilities != null) { in equalsIgnoringStatus() 340 } else if (!mCapabilities.equals(other.mCapabilities)) { in equalsIgnoringStatus() 391 builder.append(", capabilities=").append(mCapabilities); in toString() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccount.java | 457 private final int mCapabilities; field in PhoneAccount 473 return mCapabilities == that.mCapabilities && in equals() 489 return Objects.hash(mAccountHandle, mAddress, mSubscriptionAddress, mCapabilities, in hashCode() 503 private int mCapabilities; field in PhoneAccount.Builder 532 mCapabilities = phoneAccount.getCapabilities(); in Builder() 590 this.mCapabilities = value; in setCapabilities() 750 mCapabilities, in build() 780 mCapabilities = capabilities; in PhoneAccount() 846 return mCapabilities; in getCapabilities() 857 return (mCapabilities & capability) == capability; in hasCapabilities() [all …]
|
D | ParcelableCall.java | 46 private int mCapabilities; field in ParcelableCall.ParcelableCallBuilder 94 mCapabilities = capabilities; in setCapabilities() 233 mCapabilities, in createParcelableCall() 267 newBuilder.mCapabilities = parcelableCall.mCapabilities; in fromParcelableCall() 303 private final int mCapabilities; field in ParcelableCall 367 mCapabilities = capabilities; in ParcelableCall() 424 return mCapabilities; in getCapabilities() 711 destination.writeInt(mCapabilities); in writeToParcel()
|
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 50 private final long mCapabilities; field in VibratorInfo 65 mCapabilities = in.readLong(); in VibratorInfo() 78 this(id, baseVibratorInfo.mCapabilities, baseVibratorInfo.mSupportedEffects, in VibratorInfo() 117 mCapabilities = capabilities; in VibratorInfo() 132 dest.writeLong(mCapabilities); in writeToParcel() 170 return mId == that.mId && mCapabilities == that.mCapabilities in equals() 183 int hashCode = Objects.hash(mId, mCapabilities, mSupportedEffects, mSupportedBraking, in hashCode() 197 + ", mCapabilities flags=" + Long.toBinaryString(mCapabilities) in toString() 366 return (mCapabilities & capability) == capability; in hasCapability() 401 return mCapabilities; in getCapabilities() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 562 private int mCapabilities; field in AccessibilityServiceInfo 690 mCapabilities |= CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT; in AccessibilityServiceInfo() 694 mCapabilities |= CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION; in AccessibilityServiceInfo() 698 mCapabilities |= CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS; in AccessibilityServiceInfo() 702 mCapabilities |= CAPABILITY_CAN_CONTROL_MAGNIFICATION; in AccessibilityServiceInfo() 706 mCapabilities |= CAPABILITY_CAN_PERFORM_GESTURES; in AccessibilityServiceInfo() 710 mCapabilities |= CAPABILITY_CAN_REQUEST_FINGERPRINT_GESTURES; in AccessibilityServiceInfo() 714 mCapabilities |= CAPABILITY_CAN_TAKE_SCREENSHOT; in AccessibilityServiceInfo() 910 return (mCapabilities & CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT) != 0; in getCanRetrieveWindowContent() 927 return mCapabilities; in getCapabilities() [all …]
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | FeatureConnectionTest.java | 54 public long mCapabilities; field in FeatureConnectionTest.TestFeatureConnection 75 mCapabilities = capabilities; in onFeatureCapabilitiesUpdated() 173 assertEquals(0 /*base state*/, mTestFeatureConnection.mCapabilities); in testUpdateCapabilities() 175 assertEquals(testCaps, mTestFeatureConnection.mCapabilities); in testUpdateCapabilities()
|
/frameworks/wilhelm/src/itf/ |
D | IPlaybackRate.cpp | 81 } else if (!(thiz->mCapabilities & constraints)) { in IPlaybackRate_SetPropertyConstraints() 142 capabilities = thiz->mCapabilities; in IPlaybackRate_GetCapabilitiesOfRate() 167 SLuint32 capabilities = thiz->mCapabilities; in IPlaybackRate_GetRateRange() 200 thiz->mCapabilities = SL_RATEPROP_NOPITCHCORAUDIO; in IPlaybackRate_init()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 429 private final SparseArray<NetworkCapabilities> mCapabilities = new SparseArray<>(); field in NetdEventListenerService.TransportForNetIdNetworkCallback 433 synchronized (mCapabilities) { in onCapabilitiesChanged() 434 mCapabilities.put(network.getNetId(), nc); in onCapabilitiesChanged() 440 synchronized (mCapabilities) { in onLost() 441 mCapabilities.remove(network.getNetId()); in onLost() 447 synchronized (mCapabilities) { in getNetworkCapabilities() 448 return mCapabilities.get(netId); in getNetworkCapabilities()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCameraAgentImpl.java | 52 private AndroidCameraCapabilities mCapabilities; field in AndroidCameraAgentImpl 377 mCapabilities = new AndroidCameraCapabilities( in handleMessage() 385 mAgent, cameraId, mCamera, mCharacteristics, mCapabilities); in handleMessage() 425 cameraId, mCamera, mCharacteristics, mCapabilities)); in handleMessage() 653 final CameraCapabilities.Stringifier stringifier = mCapabilities.getStringifier(); in applySettingsToParameters() 666 if (mCapabilities.supports(CameraCapabilities.Feature.ZOOM)) { in applySettingsToParameters() 671 if (mCapabilities.supports(CameraCapabilities.Feature.AUTO_EXPOSURE_LOCK)) { in applySettingsToParameters() 675 if (mCapabilities.supports(CameraCapabilities.Feature.AUTO_WHITE_BALANCE_LOCK)) { in applySettingsToParameters() 681 if (mCapabilities.supports(CameraCapabilities.Feature.FOCUS_AREA)) { in applySettingsToParameters() 688 if (mCapabilities.supports(CameraCapabilities.Feature.METERING_AREA)) { in applySettingsToParameters() [all …]
|
D | AndroidCamera2AgentImpl.java | 980 private final AndroidCamera2Capabilities mCapabilities; field in AndroidCamera2AgentImpl.AndroidCamera2ProxyImpl 994 mCapabilities = new AndroidCamera2Capabilities(properties); in AndroidCamera2ProxyImpl() 1015 return mCapabilities; in getCapabilities() 1023 return mCapabilities; in getSpecializedCapabilities() 1210 mLastSettings = mCameraHandler.buildSettings(mCapabilities); in getSettings()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalWrapper.cpp | 109 if (mCapabilities.has_value()) { in getCapabilities() 111 return HalResult<ManagerCapabilities>::ok(*mCapabilities); in getCapabilities() 119 mCapabilities.emplace(ret.value()); in getCapabilities()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/ |
D | GnssNative.java | 384 private GnssCapabilities mCapabilities = new GnssCapabilities.Builder().build(); field in GnssNative 545 return mCapabilities; in getCapabilities() 1126 GnssCapabilities oldCapabilities = mCapabilities; in setTopHalCapabilities() 1127 mCapabilities = oldCapabilities.withTopHalFlags(mTopFlags); in setTopHalCapabilities() 1128 onCapabilitiesChanged(oldCapabilities, mCapabilities); in setTopHalCapabilities() 1134 GnssCapabilities oldCapabilities = mCapabilities; in setSubHalMeasurementCorrectionsCapabilities() 1135 mCapabilities = oldCapabilities.withSubHalMeasurementCorrectionsFlags(capabilities); in setSubHalMeasurementCorrectionsCapabilities() 1136 onCapabilitiesChanged(oldCapabilities, mCapabilities); in setSubHalMeasurementCorrectionsCapabilities() 1142 GnssCapabilities oldCapabilities = mCapabilities; in setSubHalPowerIndicationCapabilities() 1143 mCapabilities = oldCapabilities.withSubHalPowerFlags(capabilities); in setSubHalPowerIndicationCapabilities() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | FakeVibratorControllerProvider.java | 60 private int mCapabilities; field in FakeVibratorControllerProvider 182 infoBuilder.setCapabilities(mCapabilities); in getInfo() 258 mCapabilities = Arrays.stream(capabilities).reduce(0, (a, b) -> a | b); in setCapabilities()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 128 private NetworkCapabilities mCapabilities; field in GnssNetworkConnectivityHandler.NetworkAttributes 454 capabilities = networkAttributes.mCapabilities; 489 networkAttributes.mCapabilities = capabilities; 495 networkAttributes.mCapabilities = capabilities;
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareImpl.java | 58 private int mCapabilities; field in GeofenceHardwareImpl 152 || (mCapabilities & CAPABILITY_GNSS) != 0; in updateFusedHardwareAvailability() 181 mCapabilities = capabilities; in onCapabilities() 244 return mCapabilities; in getCapabilitiesForMonitoringType()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 637 mCapabilities = capabilities; in setCapabilities() 655 if (mCapabilities == nullptr) mCapabilities = &defaultCapabilities; in inject() 661 auto display = std::make_unique<HWC2Display>(*composer, *mCapabilities, mHwcDisplayId, in inject() 733 mCapabilities = nullptr; variable
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 78 : mComposer(composer), mCapabilities(capabilities), mId(id), mType(type) { in Display() 135 auto layer = std::make_shared<impl::Layer>(mComposer, mCapabilities, *this, layerId); in createLayer() 484 if (mCapabilities.count(AidlCapability::SKIP_CLIENT_COLOR_TRANSFORM)) { in setPowerMode() 650 mCapabilities(capabilities), in Layer() 878 if (mCapabilities.count(AidlCapability::SIDEBAND_STREAM) == 0) { in setSidebandStream()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorManagerHalWrapper.h | 130 std::optional<ManagerCapabilities> mCapabilities GUARDED_BY(mCapabilitiesMutex);
|