Home
last modified time | relevance | path

Searched refs:prime (Results 1 – 25 of 32) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/hardware/display/
H A DDisplayViewport.java133 final int prime = 31; in hashCode() local
135 result += prime * result + (valid ? 1 : 0); in hashCode()
136 result += prime * result + (isActive ? 1 : 0); in hashCode()
137 result += prime * result + displayId; in hashCode()
138 result += prime * result + orientation; in hashCode()
139 result += prime * result + logicalFrame.hashCode(); in hashCode()
140 result += prime * result + physicalFrame.hashCode(); in hashCode()
141 result += prime * result + deviceWidth; in hashCode()
142 result += prime * result + deviceHeight; in hashCode()
143 result += prime * result + uniqueId.hashCode(); in hashCode()
[all …]
H A DAmbientBrightnessDayStats.java156 final int prime = 31; in hashCode() local
158 result = result * prime + mLocalDate.hashCode(); in hashCode()
159 result = result * prime + Arrays.hashCode(mBucketBoundaries); in hashCode()
160 result = result * prime + Arrays.hashCode(mStats); in hashCode()
/aosp14/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java406 final int prime = 31; in hashCode() local
408 result = prime * result + mId; in hashCode()
526 final int prime = 31; in hashCode() local
703 final int prime = 31; in hashCode() local
848 final int prime = 31; in hashCode() local
1015 final int prime = 31; in hashCode() local
1406 final int prime = 31; in hashCode() local
1624 final int prime = 31; in hashCode() local
1687 final int prime = 31; in hashCode() local
1857 final int prime = 31; in hashCode() local
[all …]
/aosp14/frameworks/base/core/java/android/speech/tts/
H A DVoice.java200 final int prime = 31; in hashCode() local
202 result = prime * result + ((mFeatures == null) ? 0 : mFeatures.hashCode()); in hashCode()
203 result = prime * result + mLatency; in hashCode()
204 result = prime * result + ((mLocale == null) ? 0 : mLocale.hashCode()); in hashCode()
205 result = prime * result + ((mName == null) ? 0 : mName.hashCode()); in hashCode()
206 result = prime * result + mQuality; in hashCode()
207 result = prime * result + (mRequiresNetworkConnection ? 1231 : 1237); in hashCode()
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStorePublicKey.java61 final int prime = 31; in hashCode() local
64 result = prime * result + super.hashCode(); in hashCode()
65 result = prime * result + Arrays.hashCode(mCertificate); in hashCode()
66 result = prime * result + Arrays.hashCode(mCertificateChain); in hashCode()
H A DAndroidKeyStoreKey.java108 final int prime = 31; in hashCode() local
111 result = prime * result + getClass().hashCode(); in hashCode()
112 result = prime * result + (int) (mKeyId >>> 32); in hashCode()
113 result = prime * result + (int) (mKeyId & 0xffffffff); in hashCode()
/aosp14/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java515 final int prime = 31; in hashCode() local
517 result = prime * result + userId; in hashCode()
518 result = prime * result + state; in hashCode()
519 result = prime * result + ((packageName == null) ? 0 : packageName.hashCode()); in hashCode()
520 result = prime * result + ((overlayName == null) ? 0 : overlayName.hashCode()); in hashCode()
521 result = prime * result + ((targetPackageName == null) ? 0 : targetPackageName.hashCode()); in hashCode()
522 result = prime * result + ((targetOverlayableName == null) ? 0 in hashCode()
524 result = prime * result + ((category == null) ? 0 : category.hashCode()); in hashCode()
525 result = prime * result + ((baseCodePath == null) ? 0 : baseCodePath.hashCode()); in hashCode()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaDevice.java403 final int prime = 31; in hashCode() local
405 result = prime * result + mCardNum; in hashCode()
406 result = prime * result + mDeviceNum; in hashCode()
407 result = prime * result + (mHasDevice[OUTPUT] ? 0 : 1); in hashCode()
408 result = prime * result + (mHasDevice[INPUT] ? 0 : 1); in hashCode()
409 result = prime * result + (mIsHeadset[INPUT] ? 0 : 1); in hashCode()
410 result = prime * result + (mIsHeadset[OUTPUT] ? 0 : 1); in hashCode()
411 result = prime * result + (mIsDock ? 0 : 1); in hashCode()
/aosp14/frameworks/base/core/java/android/print/
H A DPrintDocumentInfo.java229 final int prime = 31; in hashCode() local
231 result = prime * result + ((mName != null) ? mName.hashCode() : 0); in hashCode()
232 result = prime * result + mContentType; in hashCode()
233 result = prime * result + mPageCount; in hashCode()
234 result = prime * result + (int) mDataSize; in hashCode()
235 result = prime * result + (int) (mDataSize >> 32); in hashCode()
H A DPrinterInfo.java304 final int prime = 31; in hashCode() local
306 result = prime * result + mId.hashCode(); in hashCode()
307 result = prime * result + mName.hashCode(); in hashCode()
308 result = prime * result + mStatus; in hashCode()
309 result = prime * result + ((mDescription != null) ? mDescription.hashCode() : 0); in hashCode()
310 result = prime * result + ((mCapabilities != null) ? mCapabilities.hashCode() : 0); in hashCode()
311 result = prime * result + mIconResourceId; in hashCode()
312 result = prime * result + (mHasCustomPrinterIcon ? 1 : 0); in hashCode()
313 result = prime * result + mCustomPrinterIconGen; in hashCode()
314 result = prime * result + ((mInfoIntent != null) ? mInfoIntent.hashCode() : 0); in hashCode()
H A DPrintAttributes.java362 final int prime = 31; in hashCode() local
364 result = prime * result + mColorMode; in hashCode()
365 result = prime * result + mDuplexMode; in hashCode()
1062 final int prime = 31; in hashCode() local
1064 result = prime * result + mWidthMils; in hashCode()
1065 result = prime * result + mHeightMils; in hashCode()
1223 final int prime = 31; in hashCode() local
1345 final int prime = 31; in hashCode() local
1348 result = prime * result + mLeftMils; in hashCode()
1349 result = prime * result + mRightMils; in hashCode()
[all …]
H A DPageRange.java124 final int prime = 31; in hashCode() local
126 result = prime * result + mEnd; in hashCode()
127 result = prime * result + mStart; in hashCode()
H A DPrinterId.java111 final int prime = 31; in hashCode() local
113 hashCode = prime * hashCode + mServiceName.hashCode(); in hashCode()
114 hashCode = prime * hashCode + mLocalId.hashCode(); in hashCode()
H A DPrinterCapabilitiesInfo.java264 final int prime = 31; in hashCode() local
266 result = prime * result + ((mMinMargins == null) ? 0 : mMinMargins.hashCode()); in hashCode()
267 result = prime * result + ((mMediaSizes == null) ? 0 : mMediaSizes.hashCode()); in hashCode()
268 result = prime * result + ((mResolutions == null) ? 0 : mResolutions.hashCode()); in hashCode()
269 result = prime * result + mColorModes; in hashCode()
270 result = prime * result + mDuplexModes; in hashCode()
271 result = prime * result + Arrays.hashCode(mDefaults); in hashCode()
H A DPrintJobId.java56 final int prime = 31; in hashCode() local
58 result = prime * result + mValue.hashCode(); in hashCode()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DUserVisibilityChangedEvent.java35 final int prime = 31; in hashCode() local
37 result = prime * result + userId; in hashCode()
38 result = prime * result + (visible ? 1231 : 1237); in hashCode()
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DPackageAndUser.java46 final int prime = 31; in hashCode() local
48 result = prime * result + packageName.hashCode(); in hashCode()
49 result = prime * result + userId; in hashCode()
/aosp14/frameworks/base/core/java/android/view/autofill/
H A DAutofillId.java202 final int prime = 31; in hashCode() local
204 result = prime * result + mViewId; in hashCode()
205 result = prime * result + mVirtualIntId; in hashCode()
206 result = prime * result + (int) (mVirtualLongId ^ (mVirtualLongId >>> 32)); in hashCode()
207 result = prime * result + mSessionId; in hashCode()
/aosp14/frameworks/base/core/java/android/nfc/
H A DAvailableNfcAntenna.java96 final int prime = 31; in hashCode() local
98 result = prime * result + mLocationX; in hashCode()
99 result = prime * result + mLocationY; in hashCode()
/aosp14/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java697 final int prime = 31; in hashCode() local
699 result = prime * result + mRegion; in hashCode()
700 result = prime * result + mType; in hashCode()
701 result = prime * result + mLowerLimit; in hashCode()
702 result = prime * result + mUpperLimit; in hashCode()
703 result = prime * result + mSpacing; in hashCode()
827 final int prime = 31; in hashCode() local
915 final int prime = 31; in hashCode() local
1039 final int prime = 31; in hashCode() local
1170 final int prime = 31; in hashCode() local
[all …]
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DTestModelEnrollmentDatabase.java73 final int prime = 31; in hashCode() local
75 res = prime * res + mKeyphraseId; in hashCode()
76 res = prime * res + mUserIds.hashCode(); in hashCode()
77 res = prime * res + mLocale.hashCode(); in hashCode()
/aosp14/frameworks/base/core/java/android/telephony/
H A DDataConnectionRealTimeInfo.java112 final long prime = 17; in hashCode() local
114 result = (prime * result) + mTime; in hashCode()
115 result += (prime * result) + mDcPowerState; in hashCode()
/aosp14/frameworks/base/core/java/android/view/contentcapture/
H A DContentCaptureCondition.java86 final int prime = 31; in hashCode() local
88 result = prime * result + mFlags; in hashCode()
89 result = prime * result + ((mLocusId == null) ? 0 : mLocusId.hashCode()); in hashCode()
H A DContentCaptureSessionId.java53 final int prime = 31; in hashCode() local
55 result = prime * result + mValue; in hashCode()
/aosp14/frameworks/base/core/java/android/content/
H A DLocusId.java92 final int prime = 31; in hashCode() local
94 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()

12