Searched defs:hashCode (Results 1 - 25 of 107) sorted by relevance

12345

/frameworks/base/core/java/android/accounts/
H A DAccountAndUser.java42 public int hashCode() { method in class:AccountAndUser
43 return account.hashCode() + userId;
H A DAccount.java25 * {@link Parcelable} and also overrides {@link #equals} and {@link #hashCode}, making it
39 public int hashCode() { method in class:Account
41 result = 31 * result + name.hashCode();
42 result = 31 * result + type.hashCode();
H A DAuthenticatorDescription.java105 public int hashCode() { method in class:AuthenticatorDescription
106 return type.hashCode();
/frameworks/base/core/java/com/android/internal/util/
H A DObjects.java45 * calling {@link Arrays#hashCode(Object[])}.
47 * <p>This is useful for implementing {@link Object#hashCode()}. For example,
51 * public int hashCode() {
52 * return Objects.hashCode(getX(), getY(), getZ());
58 public static int hashCode(Object... objects) { method in class:Objects
59 return Arrays.hashCode(objects);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLDisplayImpl.java40 public int hashCode() { method in class:EGLDisplayImpl
H A DEGLContextImpl.java47 public int hashCode() { method in class:EGLContextImpl
H A DEGLSurfaceImpl.java45 public int hashCode() { method in class:EGLSurfaceImpl
/frameworks/base/core/java/android/os/
H A DParcelUuid.java77 public int hashCode() { method in class:ParcelUuid
78 return mUuid.hashCode();
H A DMessenger.java79 public int hashCode() { method in class:Messenger
80 return mTarget.asBinder().hashCode();
H A DRemoteCallback.java83 public int hashCode() { method in class:RemoteCallback
84 return mTarget.asBinder().hashCode();
/frameworks/base/core/java/android/util/
H A DPair.java29 * Constructor for a Pair. If either are null then equals() and hashCode() will throw
60 public int hashCode() { method in class:Pair
62 result = 31 * result + first.hashCode();
63 result = 31 * result + second.hashCode();
/frameworks/base/graphics/java/android/graphics/
H A DInsets.java97 public int hashCode() { method in class:Insets
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfo.java76 public int hashCode() { method in class:ClassPathPackageInfo
77 return packageName.hashCode();
/frameworks/native/opengl/tools/glgen/src/
H A DCType.java93 public int hashCode() { method in class:CType
94 return baseType.hashCode() ^ (isPointer ? 2 : 0) ^ (isConst ? 1 : 0);
/frameworks/base/core/java/android/content/pm/
H A DManifestDigest.java76 public int hashCode() { method in class:ManifestDigest
77 return Arrays.hashCode(mDigest);
H A DSignature.java170 public int hashCode() { method in class:Signature
174 mHashCode = Arrays.hashCode(mSignature);
H A DVerifierDeviceIdentity.java189 public int hashCode() { method in class:VerifierDeviceIdentity
/frameworks/base/core/java/android/net/
H A DLinkAddress.java85 public int hashCode() { method in class:LinkAddress
86 return ((null == address) ? 0 : address.hashCode()) + prefixLength;
H A DNetworkIdentity.java62 public int hashCode() { method in class:NetworkIdentity
63 return Objects.hashCode(mType, mSubType, mSubscriberId, mNetworkId, mRoaming);
/frameworks/base/core/java/android/nfc/
H A DNdefMessage.java232 public int hashCode() { method in class:NdefMessage
233 return Arrays.hashCode(mRecords);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNode.java114 public int hashCode() { method in class:PropertyNode
116 // library which utilize hashCode() does not honor that, so intentionally throw an
119 "PropertyNode does not provide hashCode() implementation intentionally.");
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthAppConfiguration.java81 public int hashCode() { method in class:BluetoothHealthAppConfiguration
83 result = 31 * result + (mName != null ? mName.hashCode() : 0);
/frameworks/base/core/java/android/content/
H A DSyncAdapterType.java25 * {@link #hashCode}, making it suitable for use as the key of a {@link java.util.Map}
163 public int hashCode() { method in class:SyncAdapterType
165 result = 31 * result + authority.hashCode();
166 result = 31 * result + accountType.hashCode();
/frameworks/base/core/java/android/text/util/
H A DRfc822Token.java172 public int hashCode() { method in class:Rfc822Token
174 if (mName != null) result = 31 * result + mName.hashCode();
175 if (mAddress != null) result = 31 * result + mAddress.hashCode();
176 if (mComment != null) result = 31 * result + mComment.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();

Completed in 7629 milliseconds

12345