Home
last modified time | relevance | path

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

12345

/cts/tests/tests/media/src/android/media/cts/
DAudioPresentationTest.java86 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
90 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
99 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
103 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
112 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
116 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
125 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
129 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
138 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
142 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccProfileInfoTest.java156 assertEquals(p.hashCode(), copied.hashCode()); in testBuilder_BasedOnAnotherProfile()
185 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
189 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
193 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
197 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
201 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
206 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
211 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
215 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
219 assertNotEquals(p.hashCode(), t.hashCode()); in testEqualsHashCode()
/cts/libs/vogar-expect/src/vogar/expect/
DOutcome.java161 @Override public int hashCode() { in hashCode() method in Outcome
162 int hashCode = 17; in hashCode() local
163 hashCode = 37 * hashCode + outcomeName.hashCode(); in hashCode()
164 hashCode = 37 * hashCode + result.hashCode(); in hashCode()
165 hashCode = 37 * hashCode + output.hashCode(); in hashCode()
166 return hashCode; in hashCode()
/cts/tests/tests/content/src/android/content/cts/
DLocusIdTest.java71 assertThat(id1.hashCode()).isEqualTo(id2.hashCode()); in testHashcode()
72 assertThat(id2.hashCode()).isEqualTo(id1.hashCode()); in testHashcode()
75 assertThat(id1.hashCode()).isNotEqualTo(id3.hashCode()); in testHashcode()
76 assertThat(id3.hashCode()).isNotEqualTo(id1.hashCode()); in testHashcode()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java366 int metricId = metricName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
369 int partialWakelockIsOnId = partialWakelockIsOnName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
372 int partialWakelockOnId = partialWakelockOnName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
374 int partialWakelockOffId = partialWakelockOffName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
377 int partialWakelockAcquireId = partialWakelockAcquireName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
379 int partialWakelockChangeAcquireId = partialWakelockChangeAcquireName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
382 int partialWakelockReleaseId = partialWakelockReleaseName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
384 int partialWakelockChangeReleaseId = partialWakelockChangeReleaseName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
388 int screenOffBatteryOnId = screenOffBatteryOnName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
391 int screenStateUnknownId = screenStateUnknownName.hashCode(); in uploadWakelockDurationBatteryStatsConfig()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java96 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2020_0082()
99 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2020_0082()
107 keyHash = key.hashCode(); in test_android_CVE_2020_0082()
112 key2Hash = key2.hashCode(); in test_android_CVE_2020_0082()
197 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2017_13310()
200 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2017_13310()
208 keyHash = key.hashCode(); in test_android_CVE_2017_13310()
218 key2Hash = key2.hashCode(); in test_android_CVE_2017_13310()
306 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2018_9339()
309 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2018_9339()
[all …]
/cts/hostsidetests/statsd/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 …]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTimingConstraintsTest.java28 private static final int TIMING_JOB_ID = TimingConstraintsTest.class.hashCode() + 0;
29 private static final int CANCEL_JOB_ID = TimingConstraintsTest.class.hashCode() + 1;
30 private static final int EXPIRED_JOB_ID = TimingConstraintsTest.class.hashCode() + 2;
31 private static final int UNEXPIRED_JOB_ID = TimingConstraintsTest.class.hashCode() + 3;
32 private static final int ZERO_DELAY_JOB_ID = TimingConstraintsTest.class.hashCode() + 4;
/cts/tests/tests/os/src/android/os/cts/
DVibrationEffectTest.java104 assertEquals(TEST_ONE_SHOT.hashCode(), otherEffect.hashCode()); in testOneShotEquals()
128 assertEquals(effect.hashCode(), otherEffect.hashCode()); in testOneShotEqualsWithDefaultAmplitude()
153 assertEquals(TEST_PREBAKED.hashCode(), otherEffect.hashCode()); in testPrebakedEquals()
163 assertEquals(expectedEffect.hashCode(), predefinedEffect.hashCode()); in testCreatePredefined()
280 assertEquals(effect.hashCode(), otherEffect.hashCode()); in testWaveformEquals()
322 assertEquals(TEST_WAVEFORM_NO_AMPLITUDES.hashCode(), otherEffect.hashCode()); in testWaveformWithNoAmplitudesEquals()
427 assertEquals(effect.hashCode(), otherEffect.hashCode()); in testComposedEquals()
/cts/tools/vm-tests-tf/build/src/util/build/
DJavacBuildStep.java112 public int hashCode() { in hashCode() method in JavacBuildStep
113 return destPath.hashCode() ^ classPath.hashCode() ^ sourceFiles.hashCode(); in hashCode()
DSmaliBuildStep.java68 public int hashCode() { in hashCode() method in SmaliBuildStep
69 return inputFiles.hashCode() ^ outputFile.hashCode(); in hashCode()
DJarBuildStep.java119 public int hashCode() { in hashCode() method in JarBuildStep
120 return inputFile.hashCode() ^ outputFile.hashCode() in hashCode()
121 ^ outputJarEntryName.hashCode(); in hashCode()
DD8BuildStep.java75 public int hashCode() { in hashCode() method in D8BuildStep
76 return inputFile.hashCode() ^ outputFile.hashCode(); in hashCode()
DBuildStep.java50 public int hashCode() { in hashCode() method in BuildStep.BuildFile
51 return fileName.hashCode(); in hashCode()
102 public abstract int hashCode(); in hashCode() method in BuildStep
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DNetworkRegistrationInfoTest.java66 assertEquals(nri1.hashCode(), nri2.hashCode()); in testEquals()
69 assertNotSame(nri1.hashCode(), nri3.hashCode()); in testEquals()
72 assertNotSame(nri2.hashCode(), nri3.hashCode()); in testEquals()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java601 assertNotEquals(Half.hashCode(POSITIVE_INFINITY), Half.hashCode(NEGATIVE_INFINITY)); in hashCodeGeneration()
602 assertNotEquals(Half.hashCode(POSITIVE_ZERO), Half.hashCode(NEGATIVE_ZERO)); in hashCodeGeneration()
603 assertNotEquals(Half.hashCode(toHalf(1.999f)), Half.hashCode(toHalf(1.998f))); in hashCodeGeneration()
604 assertEquals(Half.hashCode(NaN), Half.hashCode((short) 0x7c01)); in hashCodeGeneration()
605 assertEquals(Half.hashCode(NaN), Half.hashCode((short) 0xfc98)); in hashCodeGeneration()
607 assertEquals(Half.hashCode(POSITIVE_INFINITY), Half.valueOf(POSITIVE_INFINITY).hashCode()); in hashCodeGeneration()
608 assertEquals(Half.hashCode(NEGATIVE_INFINITY), Half.valueOf(NEGATIVE_INFINITY).hashCode()); in hashCodeGeneration()
609 assertEquals(Half.hashCode(POSITIVE_ZERO), Half.valueOf(POSITIVE_ZERO).hashCode()); in hashCodeGeneration()
610 assertEquals(Half.hashCode(NEGATIVE_ZERO), Half.valueOf(NEGATIVE_ZERO).hashCode()); in hashCodeGeneration()
611 assertEquals(Half.hashCode(NaN), Half.valueOf(NaN).hashCode()); in hashCodeGeneration()
[all …]
/cts/hostsidetests/media/src/android/media/cts/
DMediaExtractorHostSideTest.java47 private static final long CONFIG_ID = "cts_config".hashCode();
129 .setId(atomName.hashCode()) in addAtomEvent()
133 .setId(eventName.hashCode()) in addAtomEvent()
134 .setWhat(atomName.hashCode())); in addAtomEvent()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DTestUtils.java65 public int hashCode() { in hashCode() method in TestUtils.MacWrapper
66 return Arrays.hashCode(mMac); in hashCode()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/wrapper/sidecarwrapperimpl/
DTestSidecarDeviceState.java66 public int hashCode() { in hashCode() method in TestSidecarDeviceState
67 return mSidecarDeviceState.hashCode(); in hashCode()
DTestSidecarDisplayFeature.java72 public int hashCode() { in hashCode() method in TestSidecarDisplayFeature
73 return mSidecarDisplayFeature.hashCode(); in hashCode()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/wrapper/extensionwrapperimpl/
DTestExtensionDeviceState.java67 public int hashCode() { in hashCode() method in TestExtensionDeviceState
68 return mExtensionDeviceState.hashCode(); in hashCode()
DTestExtensionDisplayFeature.java72 public int hashCode() { in hashCode() method in TestExtensionDisplayFeature
73 return mExtensionDisplayFeature.hashCode(); in hashCode()
DTestExtensionWindowLayoutInfo.java80 public int hashCode() { in hashCode() method in TestExtensionWindowLayoutInfo
81 return mExtensionWindowLayoutInfo.hashCode(); in hashCode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java90 public int hashCode() { in hashCode() method in StreamingVideoActivity.Stream
91 return name.hashCode() ^ uri.hashCode() ^ code.hashCode(); in hashCode()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyAutofillId.java32 public int hashCode() { in hashCode() method in MyAutofillId
35 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode()

12345