Home
last modified time | relevance | path

Searched refs:hashAlgorithm (Results 1 – 8 of 8) sorted by relevance

/packages/modules/ExtServices/java/src/android/ext/services/displayhash/
DHmacKeyManager.java40 byte[] generateHmac(byte[] salt, long timestamp, Rect bounds, int hashAlgorithm, in generateHmac() argument
48 hashAlgorithm, imageHash); in generateHmac()
59 int hashAlgorithm, byte[] imageHash, byte[] hmac) { in verifyHmac() argument
64 byte[] calculatedHmac = generateHmac(salt, timestamp, bounds, hashAlgorithm, in verifyHmac()
75 VerificationObject(long timestamp, Rect bounds, int hashAlgorithm, byte[] imageHash) { in VerificationObject() argument
78 mHashAlgorithm = hashAlgorithm; in VerificationObject()
DDisplayHashingServiceImpl.java64 @NonNull String hashAlgorithm, @NonNull DisplayHashResultCallback callback) { in onGenerateDisplayHash() argument
71 int hashAlgorithmIndex = getIndexForHashAlgorithm(hashAlgorithm); in onGenerateDisplayHash()
85 byte[] imageHash = mImageHashManager.generateHash(buffer, hashAlgorithm); in onGenerateDisplayHash()
95 new DisplayHash(timestamp, bounds, hashAlgorithm, imageHash, hmac)); in onGenerateDisplayHash()
125 private int getIndexForHashAlgorithm(String hashAlgorithm) { in getIndexForHashAlgorithm() argument
126 return mDisplayHashParams.indexOfKey(hashAlgorithm); in getIndexForHashAlgorithm()
DImageHashManager.java36 String hashAlgorithm); in nativeGenerateHash() argument
39 @Size(8) byte[] generateHash(@NonNull HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash() argument
40 return nativeGenerateHash(hardwareBuffer, hashAlgorithm); in generateHash()
/packages/modules/ExtServices/jni/
Dandroid_ext_services_displayhash_ImageHashManager.cpp69 std::string hashAlgorithm(hashAlgorithmChars.c_str()); in nativeGenerateHash() local
71 transform(hashAlgorithm.begin(), hashAlgorithm.end(), hashAlgorithm.begin(), ::tolower); in nativeGenerateHash()
88 status = ImageHashManager::generateHash(hashAlgorithm, buf, bufferDesc, &imageHash); in nativeGenerateHash()
/packages/modules/ExtServices/native/
DImageHashManager.cpp68 int32_t ImageHashManager::generateHash(std::string hashAlgorithm, const uint8_t* buf, in generateHash() argument
71 if (hashAlgorithm == "phash") { in generateHash()
76 ALOGE("Failed to generate hash. Invalid hash algorithm sent %s", hashAlgorithm.c_str()); in generateHash()
DImageHashManager.h30 static int32_t generateHash(std::string hashAlgorithm, const uint8_t* buf,
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
DMockImageHashManager.java26 @Size(8) byte[] generateHash(HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash() argument
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...