Home
last modified time | relevance | path

Searched refs:hashFunction (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java71 HashFunction hashFunction = Hashing.sha512(); in calibrateMethod() local
91 HashCode code1 = hashFunction.hashBytes(buffer); in calibrateMethod()
93 HashCode code2 = hashFunction.hashBytes(buffer); in calibrateMethod()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java983 Mac hashFunction = WifiConfigurationUtil.obtainMacRandHashFunction(uid); in testCalculatePersistentMacForConfiguration() local
985 config, hashFunction); in testCalculatePersistentMacForConfiguration()
1001 Mac hashFunction = mock(Mac.class); in testCalculatePersistentMacCatchesException() local
1002 when(hashFunction.doFinal(any())).thenThrow(new ProviderException("error occurred")); in testCalculatePersistentMacCatchesException()
1006 hashFunction)); in testCalculatePersistentMacCatchesException()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java258 Mac hashFunction) { in calculatePersistentMacForConfiguration() argument
259 if (config == null || hashFunction == null) { in calculatePersistentMacForConfiguration()
264 hashedBytes = hashFunction.doFinal( in calculatePersistentMacForConfiguration()