Home
last modified time | relevance | path

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

12345678910>>...14

/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
86 public static <T> int hashCode(T[] array) { in hashCode() method in HashCodeHelpers
93 int x = (o == null) ? 0 : o.hashCode(); in hashCode()
100 public static <T> int hashCode(T a) { in hashCode() method in HashCodeHelpers
101 return (a == null) ? 0 : a.hashCode(); in hashCode()
104 public static <T> int hashCode(T a, T b) { in hashCode() method in HashCodeHelpers
105 int h = hashCode(a); in hashCode()
107 int x = (b == null) ? 0 : b.hashCode(); in hashCode()
113 public static <T> int hashCode(T a, T b, T c) { in hashCode() method in HashCodeHelpers
[all …]
/frameworks/base/core/java/android/print/
DPrinterId.java109 public int hashCode() { in hashCode() method in PrinterId
111 int hashCode = 1; in hashCode() local
112 hashCode = prime * hashCode + ((mServiceName != null) in hashCode()
113 ? mServiceName.hashCode() : 1); in hashCode()
114 hashCode = prime * hashCode + mLocalId.hashCode(); in hashCode()
115 return hashCode; in hashCode()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
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()
69 assertFalse(Objects.equals(subtypeIw.hashCode(), subtypeHe.hashCode())); in testDeprecatedLocaleString()
/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/core/tests/coretests/src/android/content/pm/
DVerificationParamsTest.java156 assertEquals(params1.hashCode(), params2.hashCode()); in testHashCode_Success()
166 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_VerificationUri_Failure()
177 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_OriginatingUri_Failure()
188 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_Referrer_Failure()
199 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_Originating_Uid_Failure()
211 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_ManifestDigest_Failure()
224 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_InstallerUid_Failure()
DContainerEncryptionParamsTest.java242 assertEquals(params1.hashCode(), params2.hashCode()); in testHashCode_Success()
256 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_EncAlgo_Failure()
270 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_EncParams_Failure()
284 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_EncKey_Failure()
298 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_MacAlgo_Failure()
312 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_MacKey_Failure()
326 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_MacTag_Failure()
340 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_AuthenticatedStart_Failure()
354 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_EncryptedStart_Failure()
368 assertFalse(params1.hashCode() == params2.hashCode()); in testHashCode_DataEnd_Failure()
/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/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/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/telecomm/java/android/telecom/
DCall.java405 public int hashCode() { in hashCode() method in Call.Details
407 Objects.hashCode(mHandle) + in hashCode()
408 Objects.hashCode(mHandlePresentation) + in hashCode()
409 Objects.hashCode(mCallerDisplayName) + in hashCode()
410 Objects.hashCode(mCallerDisplayNamePresentation) + in hashCode()
411 Objects.hashCode(mAccountHandle) + in hashCode()
412 Objects.hashCode(mCallCapabilities) + in hashCode()
413 Objects.hashCode(mCallProperties) + in hashCode()
414 Objects.hashCode(mDisconnectCause) + in hashCode()
415 Objects.hashCode(mConnectTimeMillis) + in hashCode()
[all …]
DDisconnectCause.java207 public int hashCode() { in hashCode() method in DisconnectCause
208 return Objects.hashCode(mDisconnectCode) in hashCode()
209 + Objects.hashCode(mDisconnectLabel) in hashCode()
210 + Objects.hashCode(mDisconnectDescription) in hashCode()
211 + Objects.hashCode(mDisconnectReason) in hashCode()
212 + 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/telephony/java/android/telephony/
DPreciseDataConnectionState.java192 public int hashCode() { in hashCode() method in PreciseDataConnectionState
197 result = prime * result + ((mAPNType == null) ? 0 : mAPNType.hashCode()); in hashCode()
198 result = prime * result + ((mAPN == null) ? 0 : mAPN.hashCode()); in hashCode()
199 result = prime * result + ((mReason == null) ? 0 : mReason.hashCode()); in hashCode()
200 result = prime * result + ((mLinkProperties == null) ? 0 : mLinkProperties.hashCode()); in hashCode()
201 result = prime * result + ((mFailCause == null) ? 0 : mFailCause.hashCode()); in hashCode()
DCellInfoGsm.java68 public int hashCode() { in hashCode() method in CellInfoGsm
69 return super.hashCode() + mCellIdentityGsm.hashCode() + mCellSignalStrengthGsm.hashCode(); in hashCode()
DCellInfoWcdma.java68 public int hashCode() { in hashCode() method in CellInfoWcdma
69 … return super.hashCode() + mCellIdentityWcdma.hashCode() + mCellSignalStrengthWcdma.hashCode(); in hashCode()
DCellInfoCdma.java68 public int hashCode() { in hashCode() method in CellInfoCdma
69 return super.hashCode() + mCellIdentityCdma.hashCode() + mCellSignalStrengthCdma.hashCode(); in hashCode()
DCellInfoLte.java72 public int hashCode() { in hashCode() method in CellInfoLte
73 return super.hashCode() + mCellIdentityLte.hashCode() + mCellSignalStrengthLte.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/util/
DPair.java64 public int hashCode() { in hashCode() method in Pair
65 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()); in hashCode()
/frameworks/support/v4/java/android/support/v4/util/
DPair.java66 public int hashCode() { in hashCode() method in Pair
67 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()); in hashCode()
/frameworks/base/core/java/android/content/pm/
DContainerEncryptionParams.java263 public int hashCode() { in hashCode() method in ContainerEncryptionParams
266 hash += 5 * mEncryptionAlgorithm.hashCode(); in hashCode()
267 hash += 7 * Arrays.hashCode(mEncryptionSpec.getIV()); in hashCode()
268 hash += 11 * mEncryptionKey.hashCode(); in hashCode()
269 hash += 13 * mMacAlgorithm.hashCode(); in hashCode()
270 hash += 17 * mMacKey.hashCode(); in hashCode()
271 hash += 19 * Arrays.hashCode(mMacTag); in hashCode()
DVerificationParams.java174 public int hashCode() { in hashCode() method in VerificationParams
177 hash += 5 * (mVerificationURI == null ? 1 : mVerificationURI.hashCode()); in hashCode()
178 hash += 7 * (mOriginatingURI == null ? 1 : mOriginatingURI.hashCode()); in hashCode()
179 hash += 11 * (mReferrer == null ? 1 : mReferrer.hashCode()); in hashCode()
181 hash += 17 * (mManifestDigest == null ? 1 : mManifestDigest.hashCode()); in hashCode()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java216 public int hashCode() { in hashCode() method in SoundTrigger.SoundModel
219 result = prime * result + Arrays.hashCode(data); in hashCode()
221 result = prime * result + ((uuid == null) ? 0 : uuid.hashCode()); in hashCode()
222 result = prime * result + ((vendorUuid == null) ? 0 : vendorUuid.hashCode()); in hashCode()
327 public int hashCode() { in hashCode() method in SoundTrigger.Keyphrase
330 result = prime * result + ((text == null) ? 0 : text.hashCode()); in hashCode()
332 result = prime * result + ((locale == null) ? 0 : locale.hashCode()); in hashCode()
334 result = prime * result + Arrays.hashCode(users); in hashCode()
437 public int hashCode() { in hashCode() method in SoundTrigger.KeyphraseSoundModel
439 int result = super.hashCode(); in hashCode()
[all …]
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java251 final int hashCode; in setSpellCheckerSubtype() local
253 hashCode = 0; in setSpellCheckerSubtype()
255 hashCode = subtype.hashCode(); in setSpellCheckerSubtype()
257 sService.setCurrentSpellCheckerSubtype(null, hashCode); in setSpellCheckerSubtype()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java79 public int hashCode() { in hashCode() method in DisplayAdjustments
81 hash = hash * 31 + mCompatInfo.hashCode(); in hashCode()
83 hash = hash * 31 + (mActivityToken == null ? 0 : mActivityToken.hashCode()); in hashCode()

12345678910>>...14