Searched refs:mHashAlgorithm (Results 1 – 3 of 3) sorted by relevance
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/ |
D | HmacKeyManagerTest.java | 35 private final int mHashAlgorithm = 1; field in HmacKeyManagerTest 51 mHashAlgorithm, mImageHash, hmac)); in testGenerateAndVerifyHmac() 60 mHashAlgorithm, mImageHash, hmac)); in testVerifyHmac_differentSalt() 68 mHashAlgorithm, mImageHash, hmac)); in testVerifyHmac_differentTimestamp() 77 mHashAlgorithm, mImageHash, hmac)); in testVerifyHmac_differentBounds() 93 mHashAlgorithm, new byte[]{0, 3, 4, 3, 5, 2, 5, 2}, hmac)); in testVerifyHmac_differentImageHash() 99 mHashAlgorithm, mImageHash, new byte[32])); in testVerifyHmac_differentHmac() 105 mHashAlgorithm, mImageHash, null)); in testVerifyHmac_invalidHmac() 108 mHashAlgorithm, mImageHash, new byte[8])); in testVerifyHmac_invalidHmac() 112 byte[] hmac = mHmacKeyManager.generateHmac(mSalt, mTimestamp, mBounds, mHashAlgorithm, in generateHmac()
|
D | DisplayHashingServiceImplTest.java | 46 private final String mHashAlgorithm = "PHASH"; field in DisplayHashingServiceImplTest 62 mService.onGenerateDisplayHash(mSalt, mBuffer, mBounds, mHashAlgorithm, in testOnGenerateAndOnVerifyDisplayHash() 79 mService.onGenerateDisplayHash(null, mBuffer, mBounds, mHashAlgorithm, in testOnGenerateDisplayHash_nullSalt() 101 mService.onGenerateDisplayHash(mSalt, null /* buffer */, mBounds, mHashAlgorithm, in testOnGenerateDisplayHash_nullBuffer() 109 mService.onGenerateDisplayHash(mSalt, mBuffer, mBounds, mHashAlgorithm, in testOnVerifyDisplayHash_nullSalt() 121 mService.onGenerateDisplayHash(mSalt, mBuffer, mBounds, mHashAlgorithm, in testOnVerifyDisplayHash_nullDisplayHash()
|
/packages/modules/ExtServices/java/src/android/ext/services/displayhash/ |
D | HmacKeyManager.java | 72 private final int mHashAlgorithm; field in HmacKeyManager.VerificationObject 78 mHashAlgorithm = hashAlgorithm; in VerificationObject() 86 parcel.writeInt(mHashAlgorithm); in convertToBytes()
|