Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 81) sorted by relevance

1234

/cts/hostsidetests/systemui/src/android/host/systemui/
DSmallHash.java32 public static int hash(String in) { in hash() method in SmallHash
33 return hash(Objects.hashCode(in)); in hash()
41 public static int hash(int in) { in hash() method in SmallHash
/cts/hostsidetests/packagemanager/parsing/processing/
DApkGenerator.py23 hash = 0
25 hash = int((((31 * hash + ord(char)) ^ 0x80000000) & 0xFFFFFFFF) - 0x80000000)
26 return str(abs(hash))
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_JniStaticTest.cpp33 jint hash = env->CallIntMethod(coreClass, midHashCode); in Java_android_jni_cts_ClassLoaderHelper_nativeGetHashCode() local
35 return hash; in Java_android_jni_cts_ClassLoaderHelper_nativeGetHashCode()
/cts/tools/incremental-cts/
Dtarget_file_handler_test.py33 hash(b'placeholder\nplaceholder\n'))
35 hash(b'placeholder\nplaceholder\nplaceholder\n\n'))
Dtarget_file_handler.py42 hash_dict[file_name] = hash(f.read())
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetTestImageProvider.java121 int hash = uri.hashCode(); in uriToColor() local
124 (hash & 0x00ff0000) >>> 16, in uriToColor()
125 (hash & 0x0000ff00) >>> 8, in uriToColor()
126 hash & 0x000000ff); in uriToColor()
/cts/tests/signature/lib/android/src/android/signature/cts/
DVirtualPath.java111 return Objects.hash(path); in hashCode()
151 return Objects.hash(zip.getName(), entry.getName()); in hashCode()
189 return Objects.hash(url); in hashCode()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DComponentPowerStateInfo.java49 return Objects.hash(mPowerState, mComponentName); in hashCode()
DSilentModeInfo.java67 return Objects.hash(mSilentModeSupported, mMonitoringHWStateSignal, in hashCode()
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java210 assertArrayEquals(hash(contentResolver.openInputStream(downloadUri)), in testDownloadManager_mediaStoreEntry()
211 hash(contentResolver.openInputStream(mediaStoreUri))); in testDownloadManager_mediaStoreEntry()
258 assertArrayEquals(hash(new FileInputStream(file)), in testAddCompletedDownload_mediaStoreEntry()
259 hash(mContext.getContentResolver().openInputStream(mediaStoreUri))); in testAddCompletedDownload_mediaStoreEntry()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/transaction/
DBaseTransaction.java69 return Objects.hash(mResult, mException); in hashCode()
/cts/apps/CtsVerifier/jni/audio_loopback/
DAndroid.bp26 ldflags: ["-Wl,--hash-style=sysv"],
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DTimeDetectorShellHelper.java56 return Objects.hash(elapsedRealtimeMillis, unixEpochTimeMillis); in hashCode()
120 return Objects.hash(unixEpochTime, uncertaintyMillis); in hashCode()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/
DQueryableBase.java74 return Objects.hash(getClass(), mQuery); in hashCode()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDynamicParameterizedAnnotation.java64 int result = Objects.hash(mName); in hashCode()
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/
DMethodSignature.java163 return Objects.hash(type, proxyType); in hashCode()
180 return Objects.hash(mFrameworkClass, mReturnType, mName, mParameterTypes, mIsStatic); in hashCode()
DFieldSignature.java77 return Objects.hash(mFrameworkClass, mName, mType); in hashCode()
/cts/suite/cts/utils/
Dgrapher.py68 clr = colors.get(name, "#%06X" % (hash(name) % 0xFFFFFF))
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDisplayStateManager.java78 int result = Objects.hash(mAreUserDisabledHdrTypesAllowed); in hashCode()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/
DClassInfo.java112 return Objects.hash(mClassName); in hashCode()
/cts/tests/tests/util/src/android/util/cts/
DSparseArrayTest.java338 return Objects.hash(data); in hashCode()
360 return Objects.hash(data); in hashCode()
386 return Objects.hash(data); in hashCode()
412 return Objects.hash(data); in hashCode()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestParcelable.java88 return Objects.hash(mVal1, mVal2, mVal3); in hashCode()
/cts/tests/tests/gameservice/src/android/service/games/testing/
DGameSessionEventInfo.java99 return Objects.hash(mGamePackageName, mTaskId, mEvent); in hashCode()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStorePendingTest.java22 import static android.provider.cts.media.MediaProviderTestUtils.hash;
218 assertArrayEquals(hash(mContext.getResources().openRawResource(R.raw.testmp3)), in testDuplicates()
219 hash(mResolver.openInputStream(publishUri1))); in testDuplicates()
220 assertArrayEquals(hash(mContext.getResources().openRawResource(R.raw.testmp3_2)), in testDuplicates()
221 hash(mResolver.openInputStream(publishUri2))); in testDuplicates()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DBroadcastReceiverQueryHelper.java126 return Objects.hash(mReceiverClassQueryHelper); in hashCode()

1234