/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchResultCtsTest.java | 33 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/media/src/android/media/cts/ |
D | AudioPresentationTest.java | 86 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/ |
D | EuiccProfileInfoTest.java | 156 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/ |
D | Outcome.java | 161 @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/ |
D | LocusIdTest.java | 71 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/ |
D | DevicePolicyController.java | 74 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/hostsidetests/packagemanager/parsing/processing/ |
D | ApkGenerator.py | 67 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/JobScheduler/src/android/jobscheduler/cts/ |
D | TimingConstraintsTest.java | 28 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/security/src/android/security/cts/ |
D | AmbiguousBundlesTest.java | 96 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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | ProcessReference.java | 71 public int hashCode() { in hashCode() method in ProcessReference 72 return mPackage.hashCode() + mPid + mUser.hashCode(); in hashCode()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | SmaliBuildStep.java | 68 public int hashCode() { in hashCode() method in SmaliBuildStep 69 return inputFiles.hashCode() ^ outputFile.hashCode(); in hashCode()
|
D | JavacBuildStep.java | 112 public int hashCode() { in hashCode() method in JavacBuildStep 113 return destPath.hashCode() ^ classPath.hashCode() ^ sourceFiles.hashCode(); in hashCode()
|
D | JarBuildStep.java | 119 public int hashCode() { in hashCode() method in JarBuildStep 120 return inputFile.hashCode() ^ outputFile.hashCode() in hashCode() 121 ^ outputJarEntryName.hashCode(); in hashCode()
|
D | D8BuildStep.java | 75 public int hashCode() { in hashCode() method in D8BuildStep 76 return inputFile.hashCode() ^ outputFile.hashCode(); in hashCode()
|
D | BuildStep.java | 50 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/location/location_privileged/src/android/location/cts/privileged/ |
D | CorrelationVectorTest.java | 63 assertEquals(correlationVector1.hashCode(), correlationVector2.hashCode()); in testHashCode() 64 assertNotEquals(correlationVector1.hashCode(), correlationVector3.hashCode()); in testHashCode()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0685/src/android/security/cts/CVE_2021_0685/ |
D | PocAmbiguator.java | 41 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/car/src/android/car/cts/powerpolicy/ |
D | TestResultTable.java | 101 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/statsdatom/src/android/cts/statsdatom/lib/ |
D | ConfigUtils.java | 46 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/tests/tests/os/src/android/os/cts/ |
D | VibrationEffectTest.java | 119 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 …]
|
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/ |
D | TestUtils.java | 65 public int hashCode() { in hashCode() method in TestUtils.MacWrapper 66 return Arrays.hashCode(mMac); in hashCode()
|
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/ |
D | ApkGenerator.kt | 64 val hashCode = androidManifestXml.hashCode().absoluteValue in <lambda>() constant 65 val apkFile = getFileFromZip(tempFolder, "$hashCode.apk") in <lambda>()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | NetworkRegistrationInfoTest.java | 66 assertEquals(nri1.hashCode(), nri2.hashCode()); in testEquals() 69 assertNotSame(nri1.hashCode(), nri3.hashCode()); in testEquals() 72 assertNotSame(nri2.hashCode(), nri3.hashCode()); in testEquals()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DynamicParameterizedAnnotation.java | 62 public int hashCode() { in hashCode() method in DynamicParameterizedAnnotation 64 result = 31 * result + Arrays.hashCode(mAnnotations); in hashCode()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | SignatureTest.java | 162 assertNotSame(byteSignature.hashCode(), stringSignature.hashCode()); in testTools() 182 assertEquals(signatureWithAllCaps.hashCode(), signatureWithNoCaps.hashCode()); in testSignatureHashCodeEquals_doesNotIncludeFlags()
|