Searched refs:hashCode (Results 1 - 25 of 461) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
H A DReferencedByAnnotationWithOtherReferences.java25 return a.hashCode();
32 return b.hashCode();
H A DReferencedByClassInAnnotation.java25 return a.hashCode();
32 return b.hashCode();
/frameworks/base/core/java/android/print/
H A DPrinterId.java107 public int hashCode() { method in class:PrinterId
109 int hashCode = 1;
110 hashCode = prime * hashCode + mServiceName.hashCode();
111 hashCode = prime * hashCode + mLocalId.hashCode();
112 return hashCode;
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DHashCodeHelpers.java27 * <p>Useful to implement a {@link Object#hashCode} for uniformly distributed data.</p>
33 public static int hashCode(int... array) { method in class:HashCodeHelpers
40 * and used elsewhere in the runtime (e.g. Arrays#hashCode)
57 * <p>Useful to implement a {@link Object#hashCode} for uniformly distributed data.</p>
63 public static int hashCode(float... array) { method in class:HashCodeHelpers
80 * <p>Useful to implement a {@link Object#hashCode} for uniformly distributed data.</p>
93 int x = (o == null) ? 0 : o.hashCode();
/frameworks/base/core/java/android/security/net/config/
H A DPin.java31 mHashCode = Arrays.hashCode(digest) ^ digestAlgorithm.hashCode();
54 public int hashCode() { method in class:Pin
67 if (other.hashCode() != mHashCode) {
H A DDomain.java41 public int hashCode() { method in class:Domain
42 return hostname.hashCode() ^ (subdomainsIncluded ? 1231 : 1237);
/frameworks/base/core/java/android/transition/
H A DTransitionValues.java74 public int hashCode() { method in class:TransitionValues
75 return 31*view.hashCode() + values.hashCode();
80 String returnValue = "TransitionValues@" + Integer.toHexString(hashCode()) + ":\n";
/frameworks/support/transition/base/android/support/transition/
H A DTransitionValues.java67 public int hashCode() { method in class:TransitionValues
68 return 31 * view.hashCode() + values.hashCode();
73 String returnValue = "TransitionValues@" + Integer.toHexString(hashCode()) + ":\n";
/frameworks/base/core/java/android/accounts/
H A DAccountAndUser.java42 public int hashCode() { method in class:AccountAndUser
43 return account.hashCode() + userId;
/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbAccessory.java118 public int hashCode() { method in class:UsbAccessory
119 return ((mManufacturer == null ? 0 : mManufacturer.hashCode()) ^
120 (mModel == null ? 0 : mModel.hashCode()) ^
121 (mDescription == null ? 0 : mDescription.hashCode()) ^
122 (mVersion == null ? 0 : mVersion.hashCode()) ^
123 (mUri == null ? 0 : mUri.hashCode()) ^
124 (mSerial == null ? 0 : mSerial.hashCode()));
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkTest.java104 assertEquals(0, zero.hashCode());
116 assertNotEqual(0, one.hashCode());
117 assertNotEqual(0, two.hashCode());
118 assertNotEqual(0, three.hashCode());
121 assertNotEqual(one.hashCode(), two.hashCode());
122 assertNotEqual(one.hashCode(), three.hashCode());
123 assertNotEqual(two.hashCode(), three.hashCode());
[all...]
/frameworks/base/core/java/android/util/
H A DPair.java64 public int hashCode() { method in class:Pair
65 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStorePublicKey.java47 public int hashCode() { method in class:AndroidKeyStorePublicKey
49 int result = super.hashCode();
50 result = prime * result + Arrays.hashCode(mEncoded);
/frameworks/base/media/java/android/media/
H A DDrmInitData.java83 public int hashCode() { method in class:DrmInitData.SchemeInitData
84 return mimeType.hashCode() + 31 * Arrays.hashCode(data);
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodSubtypeTest.java41 // Make sure InputMethodSubtype#hashCode() returns the same hash code.
42 assertEquals(createDummySubtype(localeString).hashCode(),
43 createDummySubtype(localeString).hashCode());
44 assertEquals(createDummySubtype(localeString).hashCode(),
45 cloneViaParcel(createDummySubtype(localeString)).hashCode());
46 assertEquals(createDummySubtype(localeString).hashCode(),
47 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).hashCode());
73 assertFalse(Objects.equals(subtypeIw.hashCode(), subtypeHe.hashCode()));
/frameworks/base/location/tests/locationtests/src/android/location/
H A DCountryTester.java31 assertTrue(countryA.hashCode() == countryD.hashCode());
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
H A DMutableMediaMetadata.java51 public int hashCode() { method in class:MutableMediaMetadata
52 return trackId.hashCode();
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
H A DMutableMediaMetadata.java51 public int hashCode() { method in class:MutableMediaMetadata
52 return trackId.hashCode();
/frameworks/base/drm/java/android/drm/
H A DDrmSupportInfo.java132 public int hashCode() { method in class:DrmSupportInfo
133 return mFileSuffixList.hashCode() + mMimeTypeList.hashCode() + mDescription.hashCode();
/frameworks/base/opengl/java/android/opengl/
H A DEGLObjectHandle.java61 public int hashCode() { method in class:EGLObjectHandle
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DStatement.java122 public int hashCode() { method in class:Statement
123 int result = mTarget.hashCode();
124 result = 31 * result + mRelation.hashCode();
125 result = 31 * result + mSource.hashCode();
/frameworks/base/services/core/java/com/android/server/pm/
H A DIntentFilterVerificationKey.java57 public int hashCode() { method in class:IntentFilterVerificationKey
58 int result = domains != null ? domains.hashCode() : 0;
59 result = 31 * result + (packageName != null ? packageName.hashCode() : 0);
60 result = 31 * result + (className != null ? className.hashCode() : 0);
/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrength.java79 public abstract int hashCode(); method in class:CellSignalStrength
/frameworks/native/opengl/tools/glgen/static/egl/
H A DEGLObjectHandle.java61 public int hashCode() { method in class:EGLObjectHandle
/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java112 public int hashCode() { method in class:InputConfiguration
113 return HashCodeHelpers.hashCode(mWidth, mHeight, mFormat);

Completed in 773 milliseconds

1234567891011>>