Home
last modified time | relevance | path

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

123456

/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/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchResultCtsTest.java33 assertThat(result1.hashCode()).isEqualTo(result2.hashCode()); in testResultEquals_identical()
43 assertThat(result3.hashCode()).isEqualTo(result4.hashCode()); in testResultEquals_identical()
53 assertThat(result1.hashCode()).isNotEqualTo(result2.hashCode()); in testResultEquals_failure()
55 assertThat(result1.hashCode()).isNotEqualTo(resultNull.hashCode()); in testResultEquals_failure()
64 assertThat(result3.hashCode()).isNotEqualTo(result4.hashCode()); in testResultEquals_failure()
70 assertThat(result3.hashCode()).isNotEqualTo(result5.hashCode()); in testResultEquals_failure()
77 assertThat(result3.hashCode()).isNotEqualTo(result6.hashCode()); in testResultEquals_failure()
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyController.java78 public int hashCode() { in hashCode() method in DevicePolicyController
79 return Objects.hashCode(mUser) in hashCode()
80 + Objects.hashCode(mPackage) in hashCode()
81 + Objects.hashCode(mComponentName); in hashCode()
/cts/hostsidetests/packagemanager/parsing/processing/
DApkGenerator.py67 hashCode = java_string_hashcode(string) variable
69 if hashCode in usedHashCodes:
70 if usedHashCodes[hashCode] != string:
72 usedHashCodes[hashCode] = string
77 packageName = PACKAGE_NAME_PREFIX + hashCode
/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/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/location/location_privileged/src/android/location/cts/privileged/
DCorrelationVectorTest.java63 assertEquals(correlationVector1.hashCode(), correlationVector2.hashCode()); in testHashCode()
64 assertNotEquals(correlationVector1.hashCode(), correlationVector3.hashCode()); in testHashCode()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java46 public static final long CONFIG_ID = "cts_config".hashCode(); // evaluates to -1572883457
135 .setId(matcherName.hashCode()) in addEventMetric()
138 .setId(eventName.hashCode()) in addEventMetric()
139 .setWhat(matcherName.hashCode())); in addEventMetric()
210 .setId(whatName.hashCode()) in addGaugeMetricInternal()
217 .setId(triggerName.hashCode()) in addGaugeMetricInternal()
222 .setId(gaugeName.hashCode()) in addGaugeMetricInternal()
223 .setWhat(whatName.hashCode()) in addGaugeMetricInternal()
224 .setTriggerEvent(triggerName.hashCode()) in addGaugeMetricInternal()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DTestResultTable.java101 public int hashCode() { in hashCode() method in TestResultTable.RecordEntry
102 int code = mTestcase.hashCode() + mAction.hashCode() + mData.hashCode(); in hashCode()
103 code += mSubject != null ? mSubject.hashCode() : 0; in hashCode()
/cts/tests/tests/os/src/android/os/cts/
DVibrationEffectTest.java119 assertEquals(TEST_ONE_SHOT.hashCode(), otherEffect.hashCode()); in testOneShotEquals()
143 assertEquals(effect.hashCode(), otherEffect.hashCode()); in testOneShotEqualsWithDefaultAmplitude()
167 assertEquals(TEST_PREBAKED.hashCode(), otherEffect.hashCode()); in testPrebakedEquals()
177 assertEquals(expectedEffect.hashCode(), predefinedEffect.hashCode()); in testCreatePredefined()
276 assertEquals(effect.hashCode(), otherEffect.hashCode()); in testWaveformEquals()
318 assertEquals(TEST_WAVEFORM_NO_AMPLITUDES.hashCode(), otherEffect.hashCode()); in testWaveformWithNoAmplitudesEquals()
433 assertEquals(effect.hashCode(), otherEffect.hashCode()); in testComposedEquals()
582 assertEquals(TEST_WAVEFORM_BUILT.hashCode(), other.hashCode()); in testStartWaveformEquals()
587 assertEquals(TEST_ONE_SHOT.hashCode(), builder.build().hashCode()); in testStartWaveformEquals()
595 assertEquals(TEST_WAVEFORM_NO_AMPLITUDES.hashCode(), builder.build().hashCode()); in testStartWaveformEquals()
[all …]
DCombinedVibrationTest.java88 assertEquals(TEST_MONO.hashCode(), otherMono.hashCode()); in testParallelEquals()
95 assertEquals(TEST_STEREO.hashCode(), otherStereo.hashCode()); in testParallelEquals()
146 assertEquals(TEST_SEQUENTIAL.hashCode(), otherSequential.hashCode()); in testSequentialEquals()
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DProcessReference.java68 public int hashCode() { in hashCode() method in ProcessReference
69 return mPackage.hashCode() + mProcessId + mUser.hashCode(); in hashCode()
/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/content/src/android/content/pm/cts/
DSignatureTest.java162 assertNotSame(byteSignature.hashCode(), stringSignature.hashCode()); in testTools()
182 assertEquals(signatureWithAllCaps.hashCode(), signatureWithNoCaps.hashCode()); in testSignatureHashCodeEquals_doesNotIncludeFlags()
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/
DApkGenerator.kt64 val hashCode = androidManifestXml.hashCode().absoluteValue in <lambda>() constant
65 val apkFile = getFileFromZip(tempFolder, "$hashCode.apk") in <lambda>()
/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/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()

123456