Searched refs:getCurrentHash (Results 1 – 2 of 2) sorted by relevance
126 private static String getCurrentHash(String content) throws Exception { in getCurrentHash() method in CertPinInstallReceiverTest138 return getCurrentHash(content); in getHashOfCurrentContent()221 assertEquals(text, runTest(TEST_CERT, "bcdef", getNextVersion(), getCurrentHash(text), "")); in testBadSignatureFails()235 assertEquals(text, runTestWithoutSig(TEST_CERT, "defgh", version, getCurrentHash(text))); in testBadVersionFails()
74 String currentHash = getCurrentHash(getCurrentContent()); in onReceive()155 private static String getCurrentHash(byte[] content) { in getCurrentHash() method in ConfigUpdateInstallReceiver