Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/
DCustomAudienceFixture.java183 buyer, /* sequenceString= */ generateHash(a, b, c))); in getNValidCustomAudiences()
188 .setName("testCustomAudience_%s".formatted(generateHash(b, c))) in getNValidCustomAudiences()
203 private static String generateHash(int... vargs) { in generateHash() method in CustomAudienceFixture
/packages/modules/ExtServices/native/tests/
DImageHashManager_test.cpp102 ImageHashManager::generateHash("phash", expandedBuffer.data(), desc, &outImageHash); in TEST()
123 ImageHashManager::generateHash("fakeHash", expandedBuffer.data(), desc, &outImageHash); in TEST()
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
DMockImageHashManager.java26 @Size(8) byte[] generateHash(HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash() method in MockImageHashManager
/packages/modules/ExtServices/native/
DImageHashManager.h30 static int32_t generateHash(std::string hashAlgorithm, const uint8_t* buf,
DImageHashManager.cpp68 int32_t ImageHashManager::generateHash(std::string hashAlgorithm, const uint8_t* buf, in generateHash() function in android::ImageHashManager
/packages/modules/ExtServices/java/src/android/ext/services/displayhash/
DImageHashManager.java39 @Size(8) byte[] generateHash(@NonNull HardwareBuffer hardwareBuffer, String hashAlgorithm) { in generateHash() method in ImageHashManager
DDisplayHashingServiceImpl.java85 byte[] imageHash = mImageHashManager.generateHash(buffer, hashAlgorithm); in onGenerateDisplayHash()
/packages/modules/ExtServices/jni/
Dandroid_ext_services_displayhash_ImageHashManager.cpp88 status = ImageHashManager::generateHash(hashAlgorithm, buf, bufferDesc, &imageHash); in nativeGenerateHash()