Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 18 of 18) 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.java182 assertArrayEquals(hash(contentResolver.openInputStream(downloadUri)), in testDownloadManager_mediaStoreEntry()
183 hash(contentResolver.openInputStream(mediaStoreUri))); in testDownloadManager_mediaStoreEntry()
225 assertArrayEquals(hash(new FileInputStream(file)), in testAddCompletedDownload_mediaStoreEntry()
226 hash(mContext.getContentResolver().openInputStream(mediaStoreUri))); in testAddCompletedDownload_mediaStoreEntry()
/cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/
DDownloadManagerLegacyTest.java113 assertArrayEquals(hash(mContext.getAssets().open(assetName)), in testAddCompletedDownload_mediaStoreEntry()
114 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.java285 public static byte[] hash(InputStream in) throws Exception { in hash() method
/cts/apps/CtsVerifier/jni/audio_loopback/
DAndroid.bp15 ldflags: ["-Wl,--hash-style=sysv"],
/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/suite/cts/utils/
Dgrapher.py68 clr = colors.get(name, "#%06X" % (hash(name) % 0xFFFFFF))
/cts/hostsidetests/hdmicec/app/src/com/android/server/hdmi/
DSadConfigurationReaderTest.java23 import com.google.common.hash.HashCode;
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DFcpTemplate.java152 return Objects.hash(tag, length, value); in hashCode()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesValidConfigTest.java128 return Objects.hash(changeId, changeName, targetSdk, disabled, hasOverrides); in hashCode()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkCallbackTest.java82 return Objects.hash(state, network, arg); in hashCode()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java115 protected static byte[] hash(InputStream in) throws Exception { in hash() method in DownloadManagerTestBase
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DIkeSessionTestBase.java490 return Objects.hash(ipSecTransform, direction);
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1095 int hash = (ssid ^ (tsid<<2) ^ (class<<4)) & 0x1ff; in grant() local
1096 u64 head = avc + hash * 8; in grant()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt622 name: "hash"
DShell.apk.pb.txt1122 name: "hash"