Home
last modified time | relevance | path

Searched refs:hashCode (Results 1 – 25 of 192) sorted by relevance

12345678

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java56 notification.setDeleteIntent(PendingIntent.getService(context, instance.hashCode(), in showLowPriorityNotification()
64 PendingIntent.getService(context, instance.hashCode(), in showLowPriorityNotification()
69 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showLowPriorityNotification()
73 nm.notify(instance.hashCode(), notification.build()); in showLowPriorityNotification()
86 .setGroup(Integer.toString(instance.hashCode())) in showHighPriorityNotification()
98 PendingIntent.getService(context, instance.hashCode(), in showHighPriorityNotification()
103 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showHighPriorityNotification()
107 nm.notify(instance.hashCode(), notification.build()); in showHighPriorityNotification()
130 PendingIntent.getService(context, instance.hashCode(), in showSnoozeNotification()
135 notification.setContentIntent(PendingIntent.getActivity(context, instance.hashCode(), in showSnoozeNotification()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPhonebookEntry.java52 public int hashCode() { in hashCode() method in PhonebookEntry.Name
53 int result = 23 * (family == null ? 0 : family.hashCode()); in hashCode()
54 result = 23 * result + (given == null ? 0 : given.hashCode()); in hashCode()
55 result = 23 * result + (middle == null ? 0 : middle.hashCode()); in hashCode()
56 result = 23 * result + (prefix == null ? 0 : prefix.hashCode()); in hashCode()
57 result = 23 * result + (suffix == null ? 0 : suffix.hashCode()); in hashCode()
95 public int hashCode() { in hashCode() method in PhonebookEntry.Phone
96 return 23 * type + number.hashCode(); in hashCode()
152 public int hashCode() { in hashCode() method in PhonebookEntry
153 return name.hashCode() + 23 * phones.hashCode(); in hashCode()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionData.java221 public int hashCode() { in hashCode() method in SuggestionData
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()
227 result = prime * result + ((mIntentAction == null) ? 0 : mIntentAction.hashCode()); in hashCode()
228 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); in hashCode()
229 result = prime * result + ((mIntentExtraData == null) ? 0 : mIntentExtraData.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()
[all …]
DSuggestions.java95 Log.d(TAG, "addResults["+ hashCode() + "] source:" + in addResults()
137 if (DBG) Log.d(TAG, "close() [" + hashCode() + "]"); in close()
189 return "Suggestions@" + hashCode() + "{source=" + mSource in toString()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java50 public int hashCode() { in hashCode() method in CalendarEventModel.Attendee
51 return (mEmail == null) ? 0 : mEmail.hashCode(); in hashCode()
138 public int hashCode() { in hashCode() method in CalendarEventModel.ReminderEntry
482 public int hashCode() { in hashCode() method in CalendarEventModel
486 result = prime * result + ((mAttendeesList == null) ? 0 : getAttendeesString().hashCode()); in hashCode()
488 result = prime * result + ((mDescription == null) ? 0 : mDescription.hashCode()); in hashCode()
489 result = prime * result + ((mDuration == null) ? 0 : mDuration.hashCode()); in hashCode()
502 result = prime * result + ((mLocation == null) ? 0 : mLocation.hashCode()); in hashCode()
503 result = prime * result + ((mOrganizer == null) ? 0 : mOrganizer.hashCode()); in hashCode()
504 result = prime * result + ((mOriginalAllDay == null) ? 0 : mOriginalAllDay.hashCode()); in hashCode()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java88 public int hashCode() { in hashCode() method in MoreKeySpec
89 int hashCode = 1; in hashCode() local
90 hashCode = 31 + mCode; in hashCode()
91 hashCode = hashCode * 31 + mIconId; in hashCode()
93 hashCode = hashCode * 31 + (label == null ? 0 : label.hashCode()); in hashCode()
95 hashCode = hashCode * 31 + (outputText == null ? 0 : outputText.hashCode()); in hashCode()
96 return hashCode; in hashCode()
/packages/apps/Settings/src/com/android/settings/location/
DInjectedSetting.java131 public int hashCode() { in hashCode() method in InjectedSetting
132 int result = packageName.hashCode(); in hashCode()
133 result = 31 * result + className.hashCode(); in hashCode()
134 result = 31 * result + title.hashCode(); in hashCode()
136 result = 31 * result + mUserHandle.hashCode(); in hashCode()
137 result = 31 * result + settingsActivity.hashCode(); in hashCode()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java62 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode()
123 int hashCode = 0; in parse() local
133 hashCode = 0; in parse()
139 hashCode = hashCode * 10 + (c - '0'); in parse()
247 segment.accountHashCode = hashCode; in parse()
DAccountWithDataSet.java80 public int hashCode() { in hashCode() method in AccountWithDataSet
81 int result = mAccountName != null ? mAccountName.hashCode() : 0; in hashCode()
82 result = 31 * result + (mAccountType != null ? mAccountType.hashCode() : 0); in hashCode()
83 result = 31 * result + (mDataSet != null ? mDataSet.hashCode() : 0); in hashCode()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DCommonNicknameCache.java79 int hashCode = normalizedName.hashCode(); in preloadNicknameBloomFilter() local
80 mNicknameBloomFilter.set(hashCode & NICKNAME_BLOOM_FILTER_SIZE); in preloadNicknameBloomFilter()
95 int hashCode = normalizedName.hashCode(); in getCommonNicknameClusters() local
96 if (!mNicknameBloomFilter.get(hashCode & NICKNAME_BLOOM_FILTER_SIZE)) { in getCommonNicknameClusters()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallAnimationUtils.java123 + "(" + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
124 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
136 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
137 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
145 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
146 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeUtil.java104 private static void putSelectedInputMethodSubtype(ContentResolver resolver, int hashCode) { in putSelectedInputMethodSubtype() argument
105 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode); in putSelectedInputMethodSubtype()
204 final String subtypeHashCodeStr = String.valueOf(subtype.hashCode()); in saveInputMethodSubtypeList()
227 if (selectedInputMethodSubtype == subtype.hashCode()) { in saveInputMethodSubtypeList()
333 .findPreference(id + subtype.hashCode()); in setSubtypesPreferenceEnabled()
356 final String hashCode = String.valueOf(subtype.hashCode()); in updateSubtypesPreferenceChecked() local
358 Log.d(TAG, "--- Set checked state: " + "id" + ", " + hashCode + ", " in updateSubtypesPreferenceChecked()
359 + enabledSubtypesSet.contains(hashCode)); in updateSubtypesPreferenceChecked()
362 .findPreference(id + hashCode); in updateSubtypesPreferenceChecked()
364 pref.setChecked(enabledSubtypesSet.contains(hashCode)); in updateSubtypesPreferenceChecked()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactRequest.java73 public int hashCode() { in hashCode() method in ContactRequest
76 return mEmail != null ? mEmail.hashCode() : 0; in hashCode()
148 public int hashCode() { in hashCode() method in ContactRequest.ContactRequestHolder
149 int result = contactRequest != null ? contactRequest.hashCode() : 0; in hashCode()
150 result = 31 * result + (destination != null ? destination.hashCode() : 0); in hashCode()
/packages/apps/Dialer/src/com/android/dialer/contactinfo/
DContactInfoRequest.java57 public int hashCode() { in hashCode() method in ContactInfoRequest
60 result = prime * result + ((callLogInfo == null) ? 0 : callLogInfo.hashCode()); in hashCode()
61 result = prime * result + ((countryIso == null) ? 0 : countryIso.hashCode()); in hashCode()
62 result = prime * result + ((number == null) ? 0 : number.hashCode()); in hashCode()
DNumberWithCountryIso.java47 public int hashCode() { in hashCode() method in NumberWithCountryIso
48 int numberHashCode = number == null ? 0 : number.hashCode(); in hashCode()
49 int countryHashCode = countryIso == null ? 0 : countryIso.hashCode(); in hashCode()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DVeiledAddressMatcher.java103 final int hashCode = pattern.hashCode(); in loadPattern() local
104 if (hashCode != mProfilePatternLastHash) { in loadPattern()
105 mProfilePatternLastHash = hashCode; in loadPattern()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHTML.java142 public int hashCode() { in hashCode() method in HTML.Element
143 return this.name.hashCode(); in hashCode()
234 public int hashCode() { in hashCode() method in HTML.Attribute
235 return this.name.hashCode(); in hashCode()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java126 public int hashCode() { in hashCode() method in BluetoothMapAccountItem
129 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()
130 result = prime * result + ((mName == null) ? 0 : mName.hashCode()); in hashCode()
132 + ((mPackageName == null) ? 0 : mPackageName.hashCode()); in hashCode()
134 + ((mProviderAuthority == null) ? 0 : mProviderAuthority.hashCode()); in hashCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DNgramProperty.java31 public int hashCode() { in hashCode() method in NgramProperty
32 return mTargetWord.hashCode() ^ mNgramContext.hashCode(); in hashCode()
DProbabilityInfo.java64 public int hashCode() { in hashCode() method in ProbabilityInfo
66 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode()
68 return Arrays.hashCode(new Object[] { mProbability }); in hashCode()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DPair.java31 public int hashCode() { in hashCode() method in Pair
32 return (mFirst == null ? 0 : mFirst.hashCode()) in hashCode()
33 ^ (mSecond == null ? 0 : mSecond.hashCode()); in hashCode()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageCursor.java138 int hashCode = 17; in getStateHashCode() local
142 hashCode = 31 * hashCode + getMessage().getStateHashCode(); in getStateHashCode()
144 return hashCode; in getStateHashCode()
/packages/services/Car/car-lib/src/android/car/content/pm/
DAppBlockingPackageInfo.java162 public int hashCode() { in hashCode() method in AppBlockingPackageInfo
165 result = prime * result + Arrays.hashCode(activities); in hashCode()
169 result = prime * result + ((packageName == null) ? 0 : packageName.hashCode()); in hashCode()
170 result = prime * result + Arrays.hashCode(signatures); in hashCode()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DComponentKey.java38 mHashCode = Arrays.hashCode(new Object[] {componentName, user}); in ComponentKey()
60 mHashCode = Arrays.hashCode(new Object[] {componentName, user}); in ComponentKey()
75 public int hashCode() { in hashCode() method in ComponentKey
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java509 public int hashCode() { in hashCode() method in HostAuth
510 int hashCode = 29; in hashCode() local
512 hashCode += mPassword.hashCode(); in hashCode()
515 hashCode += (mClientCertAlias.hashCode() << 8); in hashCode()
517 return (hashCode << 8) + mFlags; in hashCode()

12345678