Home
last modified time | relevance | path

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

/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_JniStaticTest.cpp34 jint hash = env->CallIntMethod(coreClass, midHashCode); in Java_android_jni_cts_ClassLoaderHelper_nativeGetHashCode() local
36 return hash; in Java_android_jni_cts_ClassLoaderHelper_nativeGetHashCode()
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java180 assertArrayEquals(hash(contentResolver.openInputStream(downloadUri)), in testDownloadManager_mediaStoreEntry()
181 hash(contentResolver.openInputStream(mediaStoreUri))); in testDownloadManager_mediaStoreEntry()
222 assertArrayEquals(hash(new FileInputStream(file)), in testAddCompletedDownload_mediaStoreEntry()
223 hash(mContext.getContentResolver().openInputStream(mediaStoreUri))); in testAddCompletedDownload_mediaStoreEntry()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStorePendingTest.java23 import static android.provider.cts.ProviderTestUtils.hash;
212 assertArrayEquals(hash(mContext.getResources().openRawResource(R.raw.testmp3)), in testDuplicates()
213 hash(mResolver.openInputStream(publishUri1))); in testDuplicates()
214 assertArrayEquals(hash(mContext.getResources().openRawResource(R.raw.testmp3_2)), in testDuplicates()
215 hash(mResolver.openInputStream(publishUri2))); in testDuplicates()
DMediaStore_DownloadsTest.java19 import static android.provider.cts.ProviderTestUtils.hash;
362 hash(new FileInputStream(file)), in verifyScannedDownload()
363 hash(mContentResolver.openInputStream(mediaStoreUri))); in verifyScannedDownload()
DProviderTestUtils.java257 public static byte[] hash(InputStream in) throws Exception { in hash() method in ProviderTestUtils
/cts/suite/cts/utils/
Dgrapher.py68 clr = colors.get(name, "#%06X" % (hash(name) % 0xFFFFFF))
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java506 return Objects.hash(mStacks); in hashCode()
580 return Objects.hash(mResumedActivity, mTasks); in hashCode()
639 return Objects.hash(mActivities); in hashCode()
686 return Objects.hash(mComponentName, mLifeCycleState); in hashCode()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DFcpTemplate.java152 return Objects.hash(tag, length, value); in hashCode()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkCallbackTest.java62 return Objects.hash(state, network, arg); in hashCode()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java99 protected static byte[] hash(InputStream in) throws Exception { in hash() method in DownloadManagerTestBase
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt622 name: "hash"
DShell.apk.pb.txt1122 name: "hash"