Home
last modified time | relevance | path

Searched refs:ChecksumValidationException (Results 1 – 5 of 5) sorted by relevance

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DChecksumReporter.java91 public static ChecksumReporter load(File directory) throws ChecksumValidationException { in load()
94 throw new ChecksumValidationException("Capacity exceeded."); in load()
104 public ChecksumReporter(File directory) throws ChecksumValidationException { in ChecksumReporter()
117 throw new ChecksumValidationException("Unknown format of serialized data."); in ChecksumReporter()
120 throw new ChecksumValidationException("Unable to load checksum from file", e); in ChecksumReporter()
123 throw new ChecksumValidationException( in ChecksumReporter()
164 } catch (ChecksumValidationException e) { in addFile()
179 } catch (ChecksumValidationException e) { in containsFile()
347 static byte[] calculateFileChecksum(File file) throws ChecksumValidationException { in calculateFileChecksum()
363 throw new ChecksumValidationException("Unable to hash file.", e); in calculateFileChecksum()
[all …]
DResultHandler.java18 import com.android.compatibility.common.util.ChecksumReporter.ChecksumValidationException;
175 } catch (ChecksumValidationException e) { in getResultFromDir()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java18 import com.android.compatibility.common.util.ChecksumReporter.ChecksumValidationException;
92 throws ChecksumValidationException { in CertificationChecksumHelper()
106 throw new ChecksumValidationException("Unknown format of serialized data."); in CertificationChecksumHelper()
109 throw new ChecksumValidationException("Unable to load checksum from file", e); in CertificationChecksumHelper()
112 throw new ChecksumValidationException( in CertificationChecksumHelper()
262 } catch (ChecksumValidationException e) { in addFile()
279 } catch (ChecksumValidationException e) { in containsFile()
286 private static byte[] calculateFileChecksum(File file) throws ChecksumValidationException { in calculateFileChecksum()
302 throw new ChecksumValidationException("Unable to hash file.", e); in calculateFileChecksum()
304 throw new ChecksumValidationException("Unable to hash file.", e); in calculateFileChecksum()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelperTest.java21 import com.android.compatibility.common.util.ChecksumReporter.ChecksumValidationException;
65 public void testCreateChecksum() throws ChecksumValidationException { in testCreateChecksum()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DChecksumReporterTest.java20 import com.android.compatibility.common.util.ChecksumReporter.ChecksumValidationException;
139 public void testFileSerialization() throws IOException, ChecksumValidationException { in testFileSerialization()