/cts/hostsidetests/systemui/src/android/host/systemui/ |
D | SmallHash.java | 32 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/ |
D | ApkGenerator.py | 23 hash = 0 25 hash = int((((31 * hash + ord(char)) ^ 0x80000000) & 0xFFFFFFFF) - 0x80000000) 26 return str(abs(hash))
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_JniStaticTest.cpp | 33 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/ |
D | target_file_handler_test.py | 33 hash(b'placeholder\nplaceholder\n')) 35 hash(b'placeholder\nplaceholder\nplaceholder\n\n'))
|
D | target_file_handler.py | 42 hash_dict[file_name] = hash(f.read())
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/ |
D | SharesheetTestImageProvider.java | 121 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/ |
D | VirtualPath.java | 111 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/ |
D | ComponentPowerStateInfo.java | 49 return Objects.hash(mPowerState, mComponentName); in hashCode()
|
D | SilentModeInfo.java | 67 return Objects.hash(mSilentModeSupported, mMonitoringHWStateSignal, in hashCode()
|
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/ |
D | DownloadManagerApi28Test.java | 210 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/ |
D | BaseTransaction.java | 69 return Objects.hash(mResult, mException); in hashCode()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | Android.bp | 26 ldflags: ["-Wl,--hash-style=sysv"],
|
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/ |
D | TimeDetectorShellHelper.java | 56 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/ |
D | QueryableBase.java | 74 return Objects.hash(getClass(), mQuery); in hashCode()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DynamicParameterizedAnnotation.java | 64 int result = Objects.hash(mName); in hashCode()
|
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/ |
D | MethodSignature.java | 163 return Objects.hash(type, proxyType); in hashCode() 180 return Objects.hash(mFrameworkClass, mReturnType, mName, mParameterTypes, mIsStatic); in hashCode()
|
D | FieldSignature.java | 77 return Objects.hash(mFrameworkClass, mName, mType); in hashCode()
|
/cts/suite/cts/utils/ |
D | grapher.py | 68 clr = colors.get(name, "#%06X" % (hash(name) % 0xFFFFFF))
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DisplayStateManager.java | 78 int result = Objects.hash(mAreUserDisabledHdrTypesAllowed); in hashCode()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/ |
D | ClassInfo.java | 112 return Objects.hash(mClassName); in hashCode()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseArrayTest.java | 338 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/ |
D | TestParcelable.java | 88 return Objects.hash(mVal1, mVal2, mVal3); in hashCode()
|
/cts/tests/tests/gameservice/src/android/service/games/testing/ |
D | GameSessionEventInfo.java | 99 return Objects.hash(mGamePackageName, mTaskId, mEvent); in hashCode()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStorePendingTest.java | 22 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/ |
D | BroadcastReceiverQueryHelper.java | 126 return Objects.hash(mReceiverClassQueryHelper); in hashCode()
|