/packages/modules/ExtServices/java/src/android/ext/services/displayhash/ |
D | HmacKeyManager.java | 40 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()
|
D | DisplayHashingServiceImpl.java | 64 @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()
|
D | ImageHashManager.java | 36 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/ |
D | android_ext_services_displayhash_ImageHashManager.cpp | 69 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/ |
D | ImageHashManager.cpp | 68 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()
|
D | ImageHashManager.h | 30 static int32_t generateHash(std::string hashAlgorithm, const uint8_t* buf,
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/ |
D | MockImageHashManager.java | 26 @Size(8) byte[] generateHash(HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash() argument
|
/packages/apps/Car/DebuggingRestrictionController/libs/ |
D | okhttp-3.12.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/proguard/
okhttp3/
... |