Home
last modified time | relevance | path

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

1234

/aosp12/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()
/aosp12/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java394 final int prime = 31; in hashCode() local
396 result = prime * result + mId; in hashCode()
514 final int prime = 31; in hashCode() local
691 final int prime = 31; in hashCode() local
836 final int prime = 31; in hashCode() local
1003 final int prime = 31; in hashCode() local
1297 final int prime = 31; in hashCode() local
1522 final int prime = 31; in hashCode() local
1623 final int prime = 31; in hashCode() local
1748 final int prime = 31; in hashCode() local
[all …]
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionData.java222 final int prime = 31; in hashCode() local
224 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode()); in hashCode()
225 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode()); in hashCode()
226 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode()); in hashCode()
228 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); in hashCode()
230 result = prime * result + ((mLogType == null) ? 0 : mLogType.hashCode()); in hashCode()
231 result = prime * result + ((mShortcutId == null) ? 0 : mShortcutId.hashCode()); in hashCode()
232 result = prime * result + ((mSource == null) ? 0 : mSource.hashCode()); in hashCode()
233 result = prime * result + (mSpinnerWhileRefreshing ? 1231 : 1237); in hashCode()
235 result = prime * result + ((mText1 == null) ? 0 : mText1.hashCode()); in hashCode()
[all …]
/aosp12/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java123 final int prime = 31; in hashCode() local
125 result = prime * result + (allDay ? 1231 : 1237); in hashCode()
126 result = prime * result + (int) (id ^ (id >>> 32)); in hashCode()
127 result = prime * result + (int) (end ^ (end >>> 32)); in hashCode()
130 result = prime * result + visibTitle; in hashCode()
131 result = prime * result + visibWhen; in hashCode()
132 result = prime * result + visibWhere; in hashCode()
135 result = prime * result + color; in hashCode()
136 result = prime * result + selfAttendeeStatus; in hashCode()
215 final int prime = 31; in hashCode() local
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/content/pm/
H A DAppBlockingPackageInfo.java164 final int prime = 31; in hashCode() local
166 result = prime * result + Arrays.hashCode(activities); in hashCode()
167 result = prime * result + flags; in hashCode()
168 result = prime * result + maxRevisionCode; in hashCode()
169 result = prime * result + minRevisionCode; in hashCode()
170 result = prime * result + ((packageName == null) ? 0 : packageName.hashCode()); in hashCode()
171 result = prime * result + Arrays.hashCode(signatures); in hashCode()
/aosp12/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()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DIngestObjectInfo.java79 final int prime = 31; in hashCode() local
81 result = prime * result + mCompressedSize; in hashCode()
82 result = prime * result + (int) (mDateCreated ^ (mDateCreated >>> 32)); in hashCode()
83 result = prime * result + mFormat; in hashCode()
84 result = prime * result + mHandle; in hashCode()
H A DSimpleDate.java60 final int prime = 31; in hashCode() local
62 result = prime * result + day; in hashCode()
63 result = prime * result + month; in hashCode()
64 result = prime * result + year; in hashCode()
/aosp12/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java488 final int prime = 31; in hashCode() local
490 result = prime * result + userId; in hashCode()
491 result = prime * result + state; in hashCode()
492 result = prime * result + ((packageName == null) ? 0 : packageName.hashCode()); in hashCode()
493 result = prime * result + ((overlayName == null) ? 0 : overlayName.hashCode()); in hashCode()
494 result = prime * result + ((targetPackageName == null) ? 0 : targetPackageName.hashCode()); in hashCode()
495 result = prime * result + ((targetOverlayableName == null) ? 0 in hashCode()
497 result = prime * result + ((category == null) ? 0 : category.hashCode()); in hashCode()
498 result = prime * result + ((baseCodePath == null) ? 0 : baseCodePath.hashCode()); in hashCode()
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaDevice.java296 final int prime = 31; in hashCode() local
298 result = prime * result + mCardNum; in hashCode()
299 result = prime * result + mDeviceNum; in hashCode()
300 result = prime * result + (mHasOutput ? 0 : 1); in hashCode()
301 result = prime * result + (mHasInput ? 0 : 1); in hashCode()
302 result = prime * result + (mIsInputHeadset ? 0 : 1); in hashCode()
303 result = prime * result + (mIsOutputHeadset ? 0 : 1); in hashCode()
/aosp12/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()
/aosp12/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()
/aosp12/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java673 final int prime = 31; in hashCode() local
675 result = prime * result + mRegion; in hashCode()
676 result = prime * result + mType; in hashCode()
677 result = prime * result + mLowerLimit; in hashCode()
678 result = prime * result + mUpperLimit; in hashCode()
679 result = prime * result + mSpacing; in hashCode()
803 final int prime = 31; in hashCode() local
891 final int prime = 31; in hashCode() local
1012 final int prime = 31; in hashCode() local
1143 final int prime = 31; in hashCode() local
[all …]
/aosp12/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()
/aosp12/frameworks/base/core/java/android/view/autofill/
H A DAutofillId.java179 final int prime = 31; in hashCode() local
181 result = prime * result + mViewId; in hashCode()
182 result = prime * result + mVirtualIntId; in hashCode()
183 result = prime * result + (int) (mVirtualLongId ^ (mVirtualLongId >>> 32)); in hashCode()
184 result = prime * result + mSessionId; in hashCode()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountItem.java142 final int prime = 31; in hashCode() local
144 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()
145 result = prime * result + ((mName == null) ? 0 : mName.hashCode()); in hashCode()
146 result = prime * result + ((mPackageName == null) ? 0 : mPackageName.hashCode()); in hashCode()
148 prime * result + ((mProviderAuthority == null) ? 0 : mProviderAuthority.hashCode()); in hashCode()
/aosp12/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()
/aosp12/frameworks/base/core/java/android/view/contentcapture/
H A DContentCaptureCondition.java87 final int prime = 31; in hashCode() local
89 result = prime * result + mFlags; in hashCode()
90 result = prime * result + ((mLocusId == null) ? 0 : mLocusId.hashCode()); in hashCode()
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
H A DContactInfo.java77 final int prime = 31; in hashCode() local
79 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode()); in hashCode()
80 result = prime * result + ((name == null) ? 0 : name.hashCode()); in hashCode()

1234