Home
last modified time | relevance | path

Searched refs:getCurrentHash (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java126 private static String getCurrentHash(String content) throws Exception { in getCurrentHash() method in CertPinInstallReceiverTest
138 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()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java74 String currentHash = getCurrentHash(getCurrentContent()); in onReceive()
155 private static String getCurrentHash(byte[] content) { in getCurrentHash() method in ConfigUpdateInstallReceiver