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

12

/frameworks/base/core/java/android/accounts/
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.java109 public int hashCode() { method in class:AuthenticatorDescription
110 return type.hashCode();
/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/core/tests/coretests/src/android/pim/vcard/test_utils/
H A DPropertyNode.java113 public int hashCode() { method in class:PropertyNode
115 // library which utilize hashCode() does not honor that, so intentionally throw an
118 "PropertyNode does not provide hashCode() implementation intentionally.");
/frameworks/base/graphics/java/android/graphics/
H A DPoint.java78 @Override public int hashCode() { method in class:Point
/frameworks/base/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/test-runner/src/android/test/
H A DClassPathPackageInfo.java76 public int hashCode() { method in class:ClassPathPackageInfo
77 return packageName.hashCode();
/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}
91 public int hashCode() { method in class:SyncAdapterType
93 result = 31 * result + authority.hashCode();
94 result = 31 * result + accountType.hashCode();
H A DComponentName.java201 public int hashCode() { method in class:ComponentName
202 return mPackage.hashCode() + mClass.hashCode();
H A DContentValues.java85 public int hashCode() { method in class:ContentValues
86 return mValues.hashCode();
H A DIntentSender.java207 public int hashCode() { method in class:IntentSender
208 return mTarget.asBinder().hashCode();
/frameworks/base/core/java/android/content/pm/
H A DSignature.java131 public int hashCode() { method in class:Signature
135 mHashCode = Arrays.hashCode(mSignature);
/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/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/services/java/com/android/server/am/
H A DReceiverList.java60 public int hashCode() { method in class:ReceiverList
/frameworks/base/telephony/java/android/telephony/gsm/
H A DGsmCellLocation.java98 public int hashCode() { method in class:GsmCellLocation
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java135 public int hashCode() { method in class:TestMethod
137 result = (enclosingClassname != null ? enclosingClassname.hashCode() : 0);
138 result = 31 * result + (testMethodName != null ? testMethodName.hashCode() : 0);
H A DTestGrouping.java101 public int hashCode() { method in class:TestGrouping
102 return testCaseClasses.hashCode();
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java144 public int hashCode() { method in class:UsbAccessory
145 return ((mManufacturer == null ? 0 : mManufacturer.hashCode()) ^
146 (mModel == null ? 0 : mModel.hashCode()) ^
147 (mDescription == null ? 0 : mDescription.hashCode()) ^
148 (mVersion == null ? 0 : mVersion.hashCode()) ^
149 (mUri == null ? 0 : mUri.hashCode()) ^
150 (mSerial == null ? 0 : mSerial.hashCode()));
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaCellLocation.java147 public int hashCode() { method in class:CdmaCellLocation
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIntRangeManager.java155 public int hashCode() { method in class:IntRangeManager.ClientRange
156 return (startId * 31 + endId) * 31 + client.hashCode();
/frameworks/base/core/java/android/app/
H A DPendingIntent.java450 public int hashCode() { method in class:PendingIntent
451 return mTarget.asBinder().hashCode();

Completed in 388 milliseconds

12