Home
last modified time | relevance | path

Searched refs:Objects (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/frameworks/base/core/java/android/service/carrier/
DCarrierIdentifier.java25 import java.util.Objects;
138 return Objects.equals(mMcc, that.mMcc) in equals()
139 && Objects.equals(mMnc, that.mMnc) in equals()
140 && Objects.equals(mSpn, that.mSpn) in equals()
141 && Objects.equals(mImsi, that.mImsi) in equals()
142 && Objects.equals(mGid1, that.mGid1) in equals()
143 && Objects.equals(mGid2, that.mGid2); in equals()
149 result = 31 * result + Objects.hashCode(mMcc); in hashCode()
150 result = 31 * result + Objects.hashCode(mMnc); in hashCode()
151 result = 31 * result + Objects.hashCode(mSpn); in hashCode()
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java40 import java.util.Objects;
751 && Objects.equals(mId, other.mId) in equals()
752 && Objects.equals(mOperatorNumeric, other.mOperatorNumeric) in equals()
753 && Objects.equals(mApnName, other.mApnName) in equals()
754 && Objects.equals(mProxyAddress, other.mProxyAddress) in equals()
755 && Objects.equals(mMmsc, other.mMmsc) in equals()
756 && Objects.equals(mMmsProxyAddress, other.mMmsProxyAddress) in equals()
757 && Objects.equals(mMmsProxyPort, other.mMmsProxyPort) in equals()
758 && Objects.equals(mProxyPort,other.mProxyPort) in equals()
759 && Objects.equals(mUser, other.mUser) in equals()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DLaunchActivityItem.java40 import java.util.Objects;
171 && activityInfoEqual(other.mInfo) && Objects.equals(mCurConfig, other.mCurConfig) in equals()
172 && Objects.equals(mOverrideConfig, other.mOverrideConfig) in equals()
173 && Objects.equals(mCompatInfo, other.mCompatInfo) in equals()
174 && Objects.equals(mReferrer, other.mReferrer) in equals()
177 && Objects.equals(mPendingResults, other.mPendingResults) in equals()
178 && Objects.equals(mPendingNewIntents, other.mPendingNewIntents) in equals()
180 && Objects.equals(mProfilerInfo, other.mProfilerInfo); in equals()
188 result = 31 * result + Objects.hashCode(mCurConfig); in hashCode()
189 result = 31 * result + Objects.hashCode(mOverrideConfig); in hashCode()
[all …]
DActivityRelaunchItem.java33 import java.util.Objects;
153 return Objects.equals(mPendingResults, other.mPendingResults) in equals()
154 && Objects.equals(mPendingNewIntents, other.mPendingNewIntents) in equals()
155 && mConfigChanges == other.mConfigChanges && Objects.equals(mConfig, other.mConfig) in equals()
162 result = 31 * result + Objects.hashCode(mPendingResults); in hashCode()
163 result = 31 * result + Objects.hashCode(mPendingNewIntents); in hashCode()
165 result = 31 * result + Objects.hashCode(mConfig); in hashCode()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java24 import java.util.Objects;
237 return Objects.hashCode(mDisconnectCode) in hashCode()
238 + Objects.hashCode(mDisconnectLabel) in hashCode()
239 + Objects.hashCode(mDisconnectDescription) in hashCode()
240 + Objects.hashCode(mDisconnectReason) in hashCode()
241 + Objects.hashCode(mToneToPlay); in hashCode()
248 return Objects.equals(mDisconnectCode, d.getCode()) in equals()
249 && Objects.equals(mDisconnectLabel, d.getLabel()) in equals()
250 && Objects.equals(mDisconnectDescription, d.getDescription()) in equals()
251 && Objects.equals(mDisconnectReason, d.getReason()) in equals()
[all …]
DStatusHints.java28 import java.util.Objects;
143 return Objects.equals(otherHints.getLabel(), getLabel()) && in equals()
144 Objects.equals(otherHints.getIcon(), getIcon()) && in equals()
145 Objects.equals(otherHints.getExtras(), getExtras()); in equals()
152 return Objects.hashCode(mLabel) + Objects.hashCode(mIcon) + Objects.hashCode(mExtras); in hashCode()
DPhoneAccountHandle.java26 import java.util.Objects;
103 return Objects.hash(mComponentName, mId, mUserHandle); in hashCode()
122 Objects.equals(((PhoneAccountHandle) other).getComponentName(), in equals()
124 Objects.equals(((PhoneAccountHandle) other).getId(), getId()) && in equals()
125 Objects.equals(((PhoneAccountHandle) other).getUserHandle(), getUserHandle()); in equals()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java28 import java.util.Objects;
123 final boolean changed = !Objects.equals(other.icon, icon) in copyTo()
124 || !Objects.equals(other.iconSupplier, iconSupplier) in copyTo()
125 || !Objects.equals(other.label, label) in copyTo()
126 || !Objects.equals(other.secondaryLabel, secondaryLabel) in copyTo()
127 || !Objects.equals(other.contentDescription, contentDescription) in copyTo()
128 || !Objects.equals(other.dualLabelContentDescription, in copyTo()
130 || !Objects.equals(other.expandedAccessibilityClassName, in copyTo()
132 || !Objects.equals(other.disabledByPolicy, disabledByPolicy) in copyTo()
133 || !Objects.equals(other.state, state) in copyTo()
[all …]
/frameworks/base/core/java/android/net/
DNetworkScorerAppData.java8 import java.util.Objects;
118 Objects.equals(mRecommendationService, that.mRecommendationService) && in equals()
119 Objects.equals(mRecommendationServiceLabel, that.mRecommendationServiceLabel) && in equals()
120 Objects.equals(mEnableUseOpenWifiActivity, that.mEnableUseOpenWifiActivity) && in equals()
121 Objects.equals(mNetworkAvailableNotificationChannelId, in equals()
127 return Objects.hash(packageUid, mRecommendationService, mRecommendationServiceLabel, in hashCode()
DScoredNetwork.java25 import java.util.Objects;
191 return Objects.equals(networkKey, that.networkKey) in equals()
192 && Objects.equals(rssiCurve, that.rssiCurve) in equals()
193 && Objects.equals(meteredHint, that.meteredHint) in equals()
211 if (!Objects.equals(value1, value2)) { in bundleEquals()
220 return Objects.hash(networkKey, rssiCurve, meteredHint, attributes); in hashCode()
DWifiKey.java23 import java.util.Objects;
100 return Objects.equals(ssid, wifiKey.ssid) && Objects.equals(bssid, wifiKey.bssid); in equals()
105 return Objects.hash(ssid, bssid); in hashCode()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java23 import java.util.Objects;
70 if (!Objects.equals(message.getText(), ownMessage.getText())) { in sameAs()
73 if (!Objects.equals(message.getSender(), ownMessage.getSender())) { in sameAs()
83 && !Objects.equals(message.getTimestamp(), ownMessage.getTimestamp())) { in sameAs()
86 if (!Objects.equals(message.getDataMimeType(), ownMessage.getDataMimeType())) { in sameAs()
89 if (!Objects.equals(message.getDataUri(), ownMessage.getDataUri())) { in sameAs()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java22 import java.util.Objects;
77 hash = hash * 31 + Objects.hashCode(mCompatInfo); in hashCode()
78 hash = hash * 31 + Objects.hashCode(mConfiguration); in hashCode()
88 return Objects.equals(daj.mCompatInfo, mCompatInfo) && in equals()
89 Objects.equals(daj.mConfiguration, mConfiguration); in equals()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionSessionLogger.java32 import java.util.Objects;
200 final String widgetType = Objects.toString(log.getTaggedData(WIDGET_TYPE), UNKNOWN); in debugLog()
201 final String widgetVersion = Objects.toString(log.getTaggedData(WIDGET_VERSION), ""); in debugLog()
204 final int index = Integer.parseInt(Objects.toString(log.getTaggedData(INDEX), ZERO)); in debugLog()
206 String sessionId = Objects.toString(log.getTaggedData(SESSION_ID), ""); in debugLog()
211 final String model = Objects.toString(log.getTaggedData(MODEL_NAME), UNKNOWN); in debugLog()
212 final String entity = Objects.toString(log.getTaggedData(ENTITY_TYPE), UNKNOWN); in debugLog()
216 Objects.toString(log.getTaggedData(SMART_START), ZERO)); in debugLog()
218 Objects.toString(log.getTaggedData(SMART_END), ZERO)); in debugLog()
220 Objects.toString(log.getTaggedData(EVENT_START), ZERO)); in debugLog()
[all …]
DGenerateLinksLogger.java30 import java.util.Objects;
133 final String callId = Objects.toString( in debugLog()
135 final String entityType = Objects.toString( in debugLog()
138 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_NUM_LINKS), ZERO)); in debugLog()
140 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_LINK_LENGTH), ZERO)); in debugLog()
142 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_TEXT_LENGTH), ZERO)); in debugLog()
144 Objects.toString(log.getTaggedData(MetricsEvent.FIELD_LINKIFY_LATENCY), ZERO)); in debugLog()
/frameworks/base/telephony/java/android/telephony/mbms/
DServiceInfo.java33 import java.util.Objects;
193 return Objects.equals(names, that.names) && in equals()
194 Objects.equals(className, that.className) && in equals()
195 Objects.equals(locales, that.locales) && in equals()
196 Objects.equals(serviceId, that.serviceId) && in equals()
197 Objects.equals(sessionStartTime, that.sessionStartTime) && in equals()
198 Objects.equals(sessionEndTime, that.sessionEndTime); in equals()
203 return Objects.hash(names, className, locales, serviceId, sessionStartTime, sessionEndTime); in hashCode()
DFileInfo.java25 import java.util.Objects;
100 return Objects.equals(uri, fileInfo.uri) && in equals()
101 Objects.equals(mimeType, fileInfo.mimeType); in equals()
106 return Objects.hash(uri, mimeType); in hashCode()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java24 import java.util.Objects;
67 hash = 31 * hash + Objects.hashCode(mResDir); in ResourcesKey()
72 hash = 31 * hash + Objects.hashCode(mOverrideConfiguration); in ResourcesKey()
73 hash = 31 * hash + Objects.hashCode(mCompatInfo); in ResourcesKey()
118 if (!Objects.equals(mResDir, peer.mResDir)) { in equals()
133 if (!Objects.equals(mOverrideConfiguration, peer.mOverrideConfiguration)) { in equals()
136 if (!Objects.equals(mCompatInfo, peer.mCompatInfo)) { in equals()
/frameworks/base/core/java/android/service/euicc/
DEuiccProfileInfo.java31 import java.util.Objects;
405 return Objects.equals(mIccid, that.mIccid) in equals()
406 && Objects.equals(mNickname, that.mNickname) in equals()
407 && Objects.equals(mServiceProviderName, that.mServiceProviderName) in equals()
408 && Objects.equals(mProfileName, that.mProfileName) in equals()
411 && Objects.equals(mCarrierIdentifier, that.mCarrierIdentifier) in equals()
419 result = 31 * result + Objects.hashCode(mIccid); in hashCode()
420 result = 31 * result + Objects.hashCode(mNickname); in hashCode()
421 result = 31 * result + Objects.hashCode(mServiceProviderName); in hashCode()
422 result = 31 * result + Objects.hashCode(mProfileName); in hashCode()
[all …]
/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java23 import java.util.Objects;
52 return Objects.equals(other.mPackageName, mPackageName) in equals()
53 && Objects.equals(other.mUserHandle, mUserHandle); in equals()
60 return Objects.hash(mPackageName, mUserHandle); in hashCode()
/frameworks/base/core/java/android/bluetooth/le/
DScanFilter.java30 import java.util.Objects;
379 + ", mServiceDataUuid=" + Objects.toString(mServiceDataUuid) + ", mServiceData=" in toString()
388 return Objects.hash(mDeviceName, mDeviceAddress, mManufacturerId, in hashCode()
406 return Objects.equals(mDeviceName, other.mDeviceName) in equals()
407 && Objects.equals(mDeviceAddress, other.mDeviceAddress) in equals()
409 && Objects.deepEquals(mManufacturerData, other.mManufacturerData) in equals()
410 && Objects.deepEquals(mManufacturerDataMask, other.mManufacturerDataMask) in equals()
411 && Objects.equals(mServiceDataUuid, other.mServiceDataUuid) in equals()
412 && Objects.deepEquals(mServiceData, other.mServiceData) in equals()
413 && Objects.deepEquals(mServiceDataMask, other.mServiceDataMask) in equals()
[all …]
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilter.java38 import java.util.Objects;
131 return Objects.equals(mNamePattern, that.mNamePattern) && in equals()
132 Objects.equals(mAddress, that.mAddress) && in equals()
133 Objects.equals(mServiceUuids, that.mServiceUuids) && in equals()
134 Objects.equals(mServiceUuidMasks, that.mServiceUuidMasks); in equals()
139 return Objects.hash(mNamePattern, mAddress, mServiceUuids, mServiceUuidMasks); in hashCode()
/frameworks/base/core/java/android/hardware/radio/
DProgramList.java32 import java.util.Objects;
107 mListCallbacks.add(Objects.requireNonNull(callback)); in registerListCallback()
117 mListCallbacks.remove(Objects.requireNonNull(callback)); in unregisterListCallback()
135 mOnCompleteListeners.add(Objects.requireNonNull(listener)); in addOnCompleteListener()
146 mOnCompleteListeners.remove(Objects.requireNonNull(listener)); in removeOnCompleteListener()
198 mPrograms.put(Objects.requireNonNull(key), value); in putLocked()
204 RadioManager.ProgramInfo removed = mPrograms.remove(Objects.requireNonNull(key)); in removeLocked()
229 return mPrograms.get(Objects.requireNonNull(id)); in get()
256 mIdentifierTypes = Objects.requireNonNull(identifierTypes); in Filter()
257 mIdentifiers = Objects.requireNonNull(identifiers); in Filter()
DRadioManager.java49 import java.util.Objects;
249 Objects.requireNonNull(entry.getKey()); in ModuleProperties()
250 Objects.requireNonNull(entry.getValue()); in ModuleProperties()
504 return Objects.hash(mId, mServiceName, mClassId, mImplementor, mProduct, mVersion, in hashCode()
518 if (!Objects.equals(mImplementor, other.mImplementor)) return false; in equals()
519 if (!Objects.equals(mProduct, other.mProduct)) return false; in equals()
520 if (!Objects.equals(mVersion, other.mVersion)) return false; in equals()
521 if (!Objects.equals(mSerial, other.mSerial)) return false; in equals()
526 if (!Objects.equals(mBands, other.mBands)) return false; in equals()
528 if (!Objects.equals(mDabFrequencyTable, other.mDabFrequencyTable)) return false; in equals()
[all …]
/frameworks/support/compat/src/main/java/androidx/core/util/
DObjectsCompat.java23 import java.util.Objects;
51 return Objects.equals(a, b); in equals()
93 return Objects.hash(values); in hash()

12345678910>>...17