Home
last modified time | relevance | path

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

12345678

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPresentationTest.java87 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
91 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
100 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
104 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
113 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
117 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
126 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
130 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
139 assertEquals(presentation1.hashCode(), presentation2.hashCode()); in testEqualsAndHashCode()
143 assertNotEquals(presentation1.hashCode(), presentation3.hashCode()); in testEqualsAndHashCode()
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchResultCtsTest.java41 assertThat(result1.hashCode()).isEqualTo(result2.hashCode()); in testResultEquals_identical()
51 assertThat(result3.hashCode()).isEqualTo(result4.hashCode()); in testResultEquals_identical()
61 assertThat(result1.hashCode()).isNotEqualTo(result2.hashCode()); in testResultEquals_failure()
63 assertThat(result1.hashCode()).isNotEqualTo(resultNull.hashCode()); in testResultEquals_failure()
72 assertThat(result3.hashCode()).isNotEqualTo(result4.hashCode()); in testResultEquals_failure()
78 assertThat(result3.hashCode()).isNotEqualTo(result5.hashCode()); in testResultEquals_failure()
85 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/tests/tests/car/src/android/car/cts/
DCarVersionTest.java58 expectWithMessage("TIRAMISU_0's hashcode").that(version.hashCode()) in testTiramisu_0()
59 .isEqualTo(anonymous.hashCode()); in testTiramisu_0()
60 expectWithMessage("anonymous' hashcode").that(anonymous.hashCode()) in testTiramisu_0()
61 .isEqualTo(version.hashCode()); in testTiramisu_0()
90 expectWithMessage("TIRAMISU_1's hashcode").that(version.hashCode()) in testTiramisu_1()
91 .isEqualTo(anonymous.hashCode()); in testTiramisu_1()
92 expectWithMessage("anonymous' hashcode").that(anonymous.hashCode()) in testTiramisu_1()
93 .isEqualTo(version.hashCode()); in testTiramisu_1()
122 expectWithMessage("TIRAMISU_2's hashcode").that(version.hashCode()) in testTiramisu_2()
123 .isEqualTo(anonymous.hashCode()); in testTiramisu_2()
[all …]
DPlatformVersionTest.java59 expectWithMessage("TIRAMISU_0's hashcode").that(version.hashCode()) in testTiramisu_0()
60 .isEqualTo(anonymous.hashCode()); in testTiramisu_0()
61 expectWithMessage("anonymous' hashcode").that(anonymous.hashCode()) in testTiramisu_0()
62 .isEqualTo(version.hashCode()); in testTiramisu_0()
91 expectWithMessage("TIRAMISU_1's hashcode").that(version.hashCode()) in testTiramisu_1()
92 .isEqualTo(anonymous.hashCode()); in testTiramisu_1()
93 expectWithMessage("anonymous' hashcode").that(anonymous.hashCode()) in testTiramisu_1()
94 .isEqualTo(version.hashCode()); in testTiramisu_1()
111 expectWithMessage("clone.hashCode()").that(clone.hashCode()).isEqualTo(original.hashCode()); in testMarshalling()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyController.java74 public int hashCode() { in hashCode() method in DevicePolicyController
75 return Objects.hashCode(mUser) in hashCode()
76 + Objects.hashCode(mPackage) in hashCode()
77 + Objects.hashCode(mComponentName); in hashCode()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/observer/
DSchemaChangeInfoCtsTest.java60 assertThat(info1Copy1.hashCode()).isEqualTo(info1Copy2.hashCode()); in testEqualsAndHasCode()
62 assertThat(info1Copy1.hashCode()).isNotEqualTo(info2.hashCode()); in testEqualsAndHasCode()
DDocumentChangeInfoCtsTest.java70 assertThat(info1Copy1.hashCode()).isEqualTo(info1Copy2.hashCode()); in testEqualsAndHasCode()
72 assertThat(info1Copy1.hashCode()).isNotEqualTo(info2.hashCode()); in testEqualsAndHasCode()
/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.java100 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2020_0082()
103 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2020_0082()
111 keyHash = key.hashCode(); in test_android_CVE_2020_0082()
116 key2Hash = key2.hashCode(); in test_android_CVE_2020_0082()
202 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2017_13310()
205 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2017_13310()
213 keyHash = key.hashCode(); in test_android_CVE_2017_13310()
223 key2Hash = key2.hashCode(); in test_android_CVE_2017_13310()
312 minHash = Math.min(minHash, s.hashCode()); in test_android_CVE_2018_9339()
315 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/tools/vm-tests-tf/build/src/util/build/
DSmaliBuildStep.java68 public int hashCode() { in hashCode() method in SmaliBuildStep
69 return inputFiles.hashCode() ^ outputFile.hashCode(); in hashCode()
DJavacBuildStep.java112 public int hashCode() { in hashCode() method in JavacBuildStep
113 return destPath.hashCode() ^ classPath.hashCode() ^ sourceFiles.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()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DUiccPortInfoTest.java49 assertThat(uiccPortInfo.hashCode()).isNotEqualTo(0); in testFakeUiccSlotInfoObject()
57 assertThat(uiccPortInfo.hashCode()).isEqualTo(toCompare.hashCode()); in testFakeUiccSlotInfoObject()
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/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/hostsidetests/securitybulletin/test-apps/CVE-2021-0685/src/android/security/cts/CVE_2021_0685/
DPocAmbiguator.java41 minHash = Math.min(minHash, s.hashCode()); in make()
44 minHash = Math.min(minHash, s.hashCode()); in make()
52 keyHash = key.hashCode(); in make()
131 } while ((key.hashCode() < minHash || bundle.containsKey(key)) in padBundle()
134 if (key.hashCode() < minHash) { in padBundle()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java46 public static final long CONFIG_ID = "cts_config".hashCode(); // evaluates to -1572883457
134 .setId(matcherName.hashCode()) in addEventMetric()
137 .setId(eventName.hashCode()) in addEventMetric()
138 .setWhat(matcherName.hashCode())); in addEventMetric()
209 .setId(whatName.hashCode()) in addGaugeMetricInternal()
216 .setId(triggerName.hashCode()) in addGaugeMetricInternal()
221 .setId(gaugeName.hashCode()) in addGaugeMetricInternal()
222 .setWhat(whatName.hashCode()) in addGaugeMetricInternal()
223 .setTriggerEvent(triggerName.hashCode()) in addGaugeMetricInternal()
/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/signature/lib/android/src/android/signature/cts/
DVirtualPath.java63 public abstract int hashCode(); in hashCode() method in VirtualPath
110 public int hashCode() { in hashCode() method in VirtualPath.LocalFilePath
150 public int hashCode() { in hashCode() method in VirtualPath.ZipEntryPath
188 public int hashCode() { in hashCode() method in VirtualPath.ResourcePath

12345678