Home
last modified time | relevance | path

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

12345678910>>...23

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkTest.java119 assertEquals(0, zero.hashCode()); in testZeroIsObviousForDebugging()
131 assertNotEquals(0, one.hashCode()); in testGetNetworkHandle()
132 assertNotEquals(0, two.hashCode()); in testGetNetworkHandle()
133 assertNotEquals(0, three.hashCode()); in testGetNetworkHandle()
136 assertNotEquals(one.hashCode(), two.hashCode()); in testGetNetworkHandle()
137 assertNotEquals(one.hashCode(), three.hashCode()); in testGetNetworkHandle()
138 assertNotEquals(two.hashCode(), three.hashCode()); in testGetNetworkHandle()
151 assertNotEquals(one.hashCode(), one.getNetworkHandle()); in testGetNetworkHandle()
152 assertNotEquals(two.hashCode(), two.getNetworkHandle()); in testGetNetworkHandle()
153 assertNotEquals(three.hashCode(), three.getNetworkHandle()); in testGetNetworkHandle()
DStaticIpConfigurationTest.java100 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
103 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
106 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
109 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
112 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
115 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
118 assertTrue(hashCodes.add(s.hashCode())); in testHashCodeAndEquals()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DValidationTests.java347 int metricId = metricName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
350 int partialWakelockIsOnId = partialWakelockIsOnName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
353 int partialWakelockOnId = partialWakelockOnName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
355 int partialWakelockOffId = partialWakelockOffName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
358 int partialWakelockAcquireId = partialWakelockAcquireName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
360 int partialWakelockChangeAcquireId = partialWakelockChangeAcquireName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
363 int partialWakelockReleaseId = partialWakelockReleaseName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
365 int partialWakelockChangeReleaseId = partialWakelockChangeReleaseName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
369 int screenOffBatteryOnId = screenOffBatteryOnName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
372 int screenStateUnknownId = screenStateUnknownName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPhonebookEntry.java53 public int hashCode() { in hashCode() method in PhonebookEntry.Name
54 int result = 23 * (family == null ? 0 : family.hashCode()); in hashCode()
55 result = 23 * result + (given == null ? 0 : given.hashCode()); in hashCode()
56 result = 23 * result + (middle == null ? 0 : middle.hashCode()); in hashCode()
57 result = 23 * result + (prefix == null ? 0 : prefix.hashCode()); in hashCode()
58 result = 23 * result + (suffix == null ? 0 : suffix.hashCode()); in hashCode()
96 public int hashCode() { in hashCode() method in PhonebookEntry.Phone
97 return 23 * type + number.hashCode(); in hashCode()
153 public int hashCode() { in hashCode() method in PhonebookEntry
154 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 …]
/packages/apps/ThemePicker/src/com/android/customization/module/
DStatsLogUserEventLogger.java104 wallpaperId != null ? wallpaperId.hashCode() : 0, in logLiveWallpaperInfoSelected()
114 wallpaperId != null ? wallpaperId.hashCode() : 0, in logLiveWallpaperCustomizeSelected()
123 wallpaperId != null ? wallpaperId.hashCode() : 0, in logWallpaperSet()
136 Objects.hashCode(getThemePackage(theme, OVERLAY_CATEGORY_COLOR)), in logThemeSelected()
137 Objects.hashCode(getThemePackage(theme,OVERLAY_CATEGORY_FONT)), in logThemeSelected()
138 Objects.hashCode(getThemePackage(theme, OVERLAY_CATEGORY_SHAPE)), in logThemeSelected()
145 Objects.hashCode(getThemePackage(theme, OVERLAY_CATEGORY_COLOR)), in logThemeApplied()
146 Objects.hashCode(getThemePackage(theme,OVERLAY_CATEGORY_FONT)), in logThemeApplied()
147 Objects.hashCode(getThemePackage(theme, OVERLAY_CATEGORY_SHAPE)), in logThemeApplied()
163 Objects.hashCode(clock.getId()), in logClockSelected()
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DValueMetricsTests.java121 MetricsUtils.startAtomMatcher(predicateTrueName.hashCode()); in testPullerAcrossBuckets()
123 MetricsUtils.stopAtomMatcher(predicateFalseName.hashCode()); in testPullerAcrossBuckets()
129 .setId(predicateName.hashCode()) in testPullerAcrossBuckets()
131 .setStart(predicateTrueName.hashCode()) in testPullerAcrossBuckets()
132 .setStop(predicateFalseName.hashCode()) in testPullerAcrossBuckets()
140 .setId(atomName.hashCode()) in testPullerAcrossBuckets()
147 .setWhat(atomName.hashCode()) in testPullerAcrossBuckets()
153 .setCondition(predicateName.hashCode()) in testPullerAcrossBuckets()
198 MetricsUtils.startAtomMatcher(predicateTrueName.hashCode()); in testMultipleEventsPerBucket()
200 MetricsUtils.stopAtomMatcher(predicateFalseName.hashCode()); in testMultipleEventsPerBucket()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java103 assertThat(unparceled.hashCode()).isEqualTo(original.hashCode()); in testBasicSettings()
108 assertThat(copy.hashCode()).isEqualTo(original.hashCode()); in testBasicSettings()
127 assertThat(unparceled.hashCode()).isEqualTo(original.hashCode()); in testWpa2()
132 assertThat(copy.hashCode()).isEqualTo(original.hashCode()); in testWpa2()
185 assertThat(unparceled.hashCode()).isEqualTo(original.hashCode()); in testWpa2WithAllFieldCustomized()
190 assertThat(copy.hashCode()).isEqualTo(original.hashCode()); in testWpa2WithAllFieldCustomized()
211 assertThat(unparceled.hashCode()).isEqualTo(original.hashCode()); in testWpa3Sae()
216 assertThat(copy.hashCode()).isEqualTo(original.hashCode()); in testWpa3Sae()
238 assertThat(unparceled.hashCode()).isEqualTo(original.hashCode()); in testWpa3SaeTransition()
243 assertThat(copy.hashCode()).isEqualTo(original.hashCode()); in testWpa3SaeTransition()
DWifiInfoTest.java598 assertEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
601 assertNotEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
605 assertNotEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
609 assertEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
612 assertNotEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
616 assertNotEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
620 assertEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
623 assertNotEquals(info1.hashCode(), info2.hashCode()); in testWifiInfoHashcode()
DWifiClientTest.java59 assertEquals(writeWifiClient.hashCode(), writeWifiClientEquals.hashCode()); in testWifiClientEquals()
73 assertNotEquals(writeWifiClient.hashCode(), writeWifiClientNotEquals.hashCode()); in testWifiClientNotEquals()
DSoftApCapabilityTest.java52 assertEquals(capability.hashCode(), copiedCapability.hashCode()); in testCopyOperator()
83 assertEquals(capability.hashCode(), fromParcel.hashCode()); in testParcelOperation()
/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/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetherStatsValue.java69 public int hashCode() { in hashCode() method in TetherStatsValue
70 return Long.hashCode(rxPackets) ^ Long.hashCode(rxBytes) ^ Long.hashCode(rxErrors) in hashCode()
71 ^ Long.hashCode(txPackets) ^ Long.hashCode(txBytes) ^ Long.hashCode(txErrors); 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()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java326 public int hashCode() { in hashCode() method in IkeConfigPayload.ConfigAttribute
461 public int hashCode() { in hashCode() method in IkeConfigPayload.TunnelModeChildConfigAttrIpv4AddressBase
462 return Objects.hash(super.hashCode(), address); in hashCode()
535 public int hashCode() { in hashCode() method in IkeConfigPayload.IkeConfigAttrIpv4AddressBase
536 return Objects.hash(super.hashCode(), address); in hashCode()
768 public int hashCode() { in hashCode() method in IkeConfigPayload.ConfigAttributeIpv4Subnet
769 return Objects.hash(super.hashCode(), linkAddress); in hashCode()
871 public int hashCode() { in hashCode() method in IkeConfigPayload.TunnelModeChildConfigAttrIpv6AddressBase
872 return Objects.hash(super.hashCode(), address); in hashCode()
945 public int hashCode() { in hashCode() method in IkeConfigPayload.IkeConfigAttrIpv6AddressBase
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DCommonNicknameCache.java80 int hashCode = normalizedName.hashCode(); in preloadNicknameBloomFilter() local
81 mNicknameBloomFilter.set(hashCode & NICKNAME_BLOOM_FILTER_SIZE); in preloadNicknameBloomFilter()
99 int hashCode = normalizedName.hashCode(); in getCommonNicknameClusters() local
100 if (!mNicknameBloomFilter.get(hashCode & NICKNAME_BLOOM_FILTER_SIZE)) { in getCommonNicknameClusters()
/packages/modules/IPsec/src/java/android/net/eap/
DEapSessionConfig.java201 public int hashCode() { in hashCode() method in EapSessionConfig
202 return Objects.hash(Arrays.hashCode(mEapIdentity), mEapConfigs); in hashCode()
499 public int hashCode() { in hashCode() method in EapSessionConfig.EapMethodConfig
580 public int hashCode() { in hashCode() method in EapSessionConfig.EapUiccConfig
581 return Objects.hash(super.hashCode(), mSubId, mApptype); in hashCode()
722 public int hashCode() { in hashCode() method in EapSessionConfig.EapAkaPrimeConfig
723 return Objects.hash(super.hashCode(), mNetworkName, mAllowMismatchedNetworkNames); in hashCode()
810 public int hashCode() { in hashCode() method in EapSessionConfig.EapMsChapV2Config
811 return Objects.hash(super.hashCode(), mUsername, mPassword); in hashCode()
937 public int hashCode() { in hashCode() method in EapSessionConfig.EapTtlsConfig
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DDiscoveredPrinter.java178 public int hashCode() { in hashCode() method in DiscoveredPrinter
180 result = 31 * result + name.hashCode(); in hashCode()
181 result = 31 * result + (uuid != null ? uuid.hashCode() : 0); in hashCode()
182 result = 31 * result + paths.hashCode(); in hashCode()
183 result = 31 * result + (location != null ? location.hashCode() : 0); in hashCode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java309 appInfo.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
343 appInfo1.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
353 appInfo2.extNetworkSuggestions.put(ewns2.hashCode(), ewns2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
376 appInfo1.extNetworkSuggestions.put(ewns1.hashCode(), ewns1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
379 appInfo1.extNetworkSuggestions.put(ewns2.hashCode(), ewns2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
392 appInfo2.extNetworkSuggestions.put(ewns3.hashCode(), ewns3); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
395 appInfo2.extNetworkSuggestions.put(ewns4.hashCode(), ewns4); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
485 appInfo.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSinglePasspointSuggestionFromSingleApp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DHomogenousBiMapTest.java84 assertThat(copy.hashCode()).isEqualTo(mBiMap.hashCode()); in hashCode_equalMaps_works()
92 assertThat(copy.hashCode()).isNotEqualTo(mBiMap.hashCode()); in hashCode_differentMaps_works()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java614 public int hashCode() { in hashCode() method in IkeSessionParams
618 Arrays.hashCode(mSaProposals), in hashCode()
624 Arrays.hashCode(mConfigRequests), in hashCode()
625 Arrays.hashCode(mRetransTimeoutMsList), in hashCode()
767 public int hashCode() { in hashCode() method in IkeSessionParams.IkeAuthConfig
835 public int hashCode() { in hashCode() method in IkeSessionParams.IkeAuthPskConfig
836 return Objects.hash(super.hashCode(), Arrays.hashCode(mPsk)); in hashCode()
934 public int hashCode() { in hashCode() method in IkeSessionParams.IkeAuthDigitalSignRemoteConfig
937 super.hashCode(), in hashCode()
1076 public int hashCode() { in hashCode() method in IkeSessionParams.IkeAuthDigitalSignLocalConfig
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java141 public int hashCode() { in hashCode() method in BluetoothMapAccountItem
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()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApCapability.java343 public int hashCode() { in hashCode() method in SoftApCapability
345 Arrays.hashCode(mSupportedChannelListIn24g), in hashCode()
346 Arrays.hashCode(mSupportedChannelListIn5g), in hashCode()
347 Arrays.hashCode(mSupportedChannelListIn6g), in hashCode()
348 Arrays.hashCode(mSupportedChannelListIn60g)); in hashCode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DIconInfoTest.java125 assertNotEquals(info1.hashCode(), info2.hashCode()); in testHashCode()
126 assertEquals(info1.hashCode(), info1Dup.hashCode()); in testHashCode()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsHeader.java90 public int hashCode() { in hashCode() method in SmsHeader
117 public int hashCode() { in hashCode() method in SmsHeader.PortAddrs
146 public int hashCode() { in hashCode() method in SmsHeader.ConcatRef
168 public int hashCode() { in hashCode() method in SmsHeader.SpecialSmsMsg
191 public int hashCode() { in hashCode() method in SmsHeader.MiscElt
193 result = 31 * result + Arrays.hashCode(data); in hashCode()

12345678910>>...23