Home
last modified time | relevance | path

Searched refs:hashCode (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkTest.java104 assertEquals(0, zero.hashCode()); in testZeroIsObviousForDebugging()
116 assertNotEqual(0, one.hashCode()); in testGetNetworkHandle()
117 assertNotEqual(0, two.hashCode()); in testGetNetworkHandle()
118 assertNotEqual(0, three.hashCode()); in testGetNetworkHandle()
121 assertNotEqual(one.hashCode(), two.hashCode()); in testGetNetworkHandle()
122 assertNotEqual(one.hashCode(), three.hashCode()); in testGetNetworkHandle()
123 assertNotEqual(two.hashCode(), three.hashCode()); in testGetNetworkHandle()
136 assertNotEqual(one.hashCode(), one.getNetworkHandle()); in testGetNetworkHandle()
137 assertNotEqual(two.hashCode(), two.getNetworkHandle()); in testGetNetworkHandle()
138 assertNotEqual(three.hashCode(), three.getNetworkHandle()); in testGetNetworkHandle()
/frameworks/base/core/java/android/print/
DPrinterId.java107 public int hashCode() { in hashCode() method in PrinterId
109 int hashCode = 1; in hashCode() local
110 hashCode = prime * hashCode + mServiceName.hashCode(); in hashCode()
111 hashCode = prime * hashCode + mLocalId.hashCode(); in hashCode()
112 return hashCode; in hashCode()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java42 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
43 createDummySubtype(localeString).hashCode()); in verifyLocale()
44 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
45 cloneViaParcel(createDummySubtype(localeString)).hashCode()); in verifyLocale()
46 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
47 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).hashCode()); in verifyLocale()
73 assertFalse(Objects.equals(subtypeIw.hashCode(), subtypeHe.hashCode())); in testDeprecatedLocaleString()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerificationParamsTest.java137 assertEquals(params1.hashCode(), params2.hashCode()); in testHashCode_Success()
147 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_VerificationUri_Failure()
158 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_OriginatingUri_Failure()
169 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_Referrer_Failure()
180 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_Originating_Uid_Failure()
192 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_InstallerUid_Failure()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java118 public int hashCode() { in hashCode() method in UsbAccessory
119 return ((mManufacturer == null ? 0 : mManufacturer.hashCode()) ^ in hashCode()
120 (mModel == null ? 0 : mModel.hashCode()) ^ in hashCode()
121 (mDescription == null ? 0 : mDescription.hashCode()) ^ in hashCode()
122 (mVersion == null ? 0 : mVersion.hashCode()) ^ in hashCode()
123 (mUri == null ? 0 : mUri.hashCode()) ^ in hashCode()
124 (mSerial == null ? 0 : mSerial.hashCode())); in hashCode()
/frameworks/base/packages/Osu/src/com/android/anqp/
DOSUProvider.java86 int result = mNames.hashCode(); in OSUProvider()
87 result = 31 * result + mSSID.hashCode(); in OSUProvider()
88 result = 31 * result + mOSUServer.hashCode(); in OSUProvider()
89 result = 31 * result + mOSUMethods.hashCode(); in OSUProvider()
90 result = 31 * result + mIcons.hashCode(); in OSUProvider()
91 result = 31 * result + (mOsuNai != null ? mOsuNai.hashCode() : 0); in OSUProvider()
92 result = 31 * result + mServiceDescriptions.hashCode(); in OSUProvider()
143 public int hashCode() {
DIconInfo.java72 public int hashCode() { in hashCode() method in IconInfo
75 result = 31 * result + mLanguage.hashCode(); in hashCode()
76 result = 31 * result + mIconType.hashCode(); in hashCode()
77 result = 31 * result + mFileName.hashCode(); in hashCode()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java174 public int hashCode() { in hashCode() method in UsbAccessory
175 return ((mManufacturer == null ? 0 : mManufacturer.hashCode()) ^ in hashCode()
176 (mModel == null ? 0 : mModel.hashCode()) ^ in hashCode()
177 (mDescription == null ? 0 : mDescription.hashCode()) ^ in hashCode()
178 (mVersion == null ? 0 : mVersion.hashCode()) ^ in hashCode()
179 (mUri == null ? 0 : mUri.hashCode()) ^ in hashCode()
180 (mSerial == null ? 0 : mSerial.hashCode())); in hashCode()
/frameworks/support/transition/base/android/support/transition/
DTransitionValues.java67 public int hashCode() { in hashCode() method in TransitionValues
68 return 31 * view.hashCode() + values.hashCode(); in hashCode()
73 String returnValue = "TransitionValues@" + Integer.toHexString(hashCode()) + ":\n"; in toString()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java66 hash = 31 * hash + Objects.hashCode(mResDir); in ResourcesKey()
67 hash = 31 * hash + Arrays.hashCode(mSplitResDirs); in ResourcesKey()
68 hash = 31 * hash + Arrays.hashCode(mOverlayDirs); in ResourcesKey()
69 hash = 31 * hash + Arrays.hashCode(mLibDirs); in ResourcesKey()
71 hash = 31 * hash + Objects.hashCode(mOverrideConfiguration); in ResourcesKey()
72 hash = 31 * hash + Objects.hashCode(mCompatInfo); in ResourcesKey()
101 public int hashCode() { in hashCode() method in ResourcesKey
/frameworks/base/core/java/android/security/net/config/
DPin.java31 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode(); in Pin()
54 public int hashCode() { in hashCode() method in Pin
67 if (other.hashCode() != mHashCode) { in equals()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DOSUProvider.java83 int result = mNames.hashCode(); in OSUProvider()
84 result = 31 * result + mOSUServer.hashCode(); in OSUProvider()
85 result = 31 * result + mOSUMethods.hashCode(); in OSUProvider()
86 result = 31 * result + mIcons.hashCode(); in OSUProvider()
87 result = 31 * result + (mOsuNai != null ? mOsuNai.hashCode() : 0); in OSUProvider()
88 result = 31 * result + mServiceDescriptions.hashCode(); in OSUProvider()
134 public int hashCode() {
DIconInfo.java73 public int hashCode() { in hashCode() method in IconInfo
76 result = 31 * result + mLanguage.hashCode(); in hashCode()
77 result = 31 * result + mIconType.hashCode(); in hashCode()
78 result = 31 * result + mFileName.hashCode(); in hashCode()
/frameworks/base/core/java/android/transition/
DTransitionValues.java74 public int hashCode() { in hashCode() method in TransitionValues
75 return 31*view.hashCode() + values.hashCode(); in hashCode()
80 String returnValue = "TransitionValues@" + Integer.toHexString(hashCode()) + ":\n"; in toString()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DCredential.java216 public int hashCode() { in hashCode() method in Credential
219 result = 31 * result + mRealm.hashCode(); in hashCode()
221 result = 31 * result + (mUserName != null ? mUserName.hashCode() : 0); in hashCode()
222 result = 31 * result + (mPassword != null ? mPassword.hashCode() : 0); in hashCode()
224 result = 31 * result + (mSTokenApp != null ? mSTokenApp.hashCode() : 0); in hashCode()
226 result = 31 * result + mEAPMethod.hashCode(); in hashCode()
227 result = 31 * result + (mCertType != null ? mCertType.hashCode() : 0); in hashCode()
228 result = 31 * result + (mFingerPrint != null ? Arrays.hashCode(mFingerPrint) : 0); in hashCode()
229 result = 31 * result + (mImsi != null ? mImsi.hashCode() : 0); in hashCode()
/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java100 final int hash = key.hashCode(); in expect()
138 mTasks.delete(key.hashCode()); in forget()
167 final int hash = key.hashCode(); in execute()
201 final int hash = first.hashCode(); in maybeExecuteNow()
224 final int hash = key.hashCode(); in onFirstExpectedChanged()
240 return mTasks.get(key.hashCode()) != null; in contains()
257 final int hash = key.hashCode(); in prettyPrint()
/frameworks/base/services/core/java/com/android/server/pm/
DIntentFilterVerificationKey.java57 public int hashCode() { in hashCode() method in IntentFilterVerificationKey
58 int result = domains != null ? domains.hashCode() : 0; in hashCode()
59 result = 31 * result + (packageName != null ? packageName.hashCode() : 0); in hashCode()
60 result = 31 * result + (className != null ? className.hashCode() : 0); in hashCode()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DStatement.java122 public int hashCode() { in hashCode() method in Statement
123 int result = mTarget.hashCode(); in hashCode()
124 result = 31 * result + mRelation.hashCode(); in hashCode()
125 result = 31 * result + mSource.hashCode(); in hashCode()
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java190 public int hashCode() { in hashCode() method in PreciseDataConnectionState
195 result = prime * result + ((mAPNType == null) ? 0 : mAPNType.hashCode()); in hashCode()
196 result = prime * result + ((mAPN == null) ? 0 : mAPN.hashCode()); in hashCode()
197 result = prime * result + ((mReason == null) ? 0 : mReason.hashCode()); in hashCode()
198 result = prime * result + ((mLinkProperties == null) ? 0 : mLinkProperties.hashCode()); in hashCode()
199 result = prime * result + ((mFailCause == null) ? 0 : mFailCause.hashCode()); in hashCode()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java220 public int hashCode() { in hashCode() method in DisconnectCause
221 return Objects.hashCode(mDisconnectCode) in hashCode()
222 + Objects.hashCode(mDisconnectLabel) in hashCode()
223 + Objects.hashCode(mDisconnectDescription) in hashCode()
224 + Objects.hashCode(mDisconnectReason) in hashCode()
225 + Objects.hashCode(mToneToPlay); in hashCode()
/frameworks/base/drm/java/android/drm/
DDrmSupportInfo.java132 public int hashCode() { in hashCode() method in DrmSupportInfo
133 return mFileSuffixList.hashCode() + mMimeTypeList.hashCode() + mDescription.hashCode(); in hashCode()
/frameworks/base/sax/java/android/sax/
DChildren.java31 int hash = uri.hashCode() * 31 + localName.hashCode(); in getOrCreate()
66 int hash = uri.hashCode() * 31 + localName.hashCode(); in get()
/frameworks/base/core/java/android/hardware/camera2/utils/
DHashCodeHelpers.java33 public static int hashCode(int... array) { in hashCode() method in HashCodeHelpers
63 public static int hashCode(float... array) { in hashCode() method in HashCodeHelpers
93 int x = (o == null) ? 0 : o.hashCode(); in hashCodeGeneric()
/frameworks/base/media/java/android/media/
DDrmInitData.java83 public int hashCode() { in hashCode() method in DrmInitData.SchemeInitData
84 return mimeType.hashCode() + 31 * Arrays.hashCode(data); in hashCode()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStorePublicKey.java47 public int hashCode() { in hashCode() method in AndroidKeyStorePublicKey
49 int result = super.hashCode(); in hashCode()
50 result = prime * result + Arrays.hashCode(mEncoded); in hashCode()

12345678910>>...19