Home
last modified time | relevance | path

Searched refs:image (Results 1 – 6 of 6) sorted by relevance

/system/extras/verity/
DBootSignature.java154 public byte[] generateSignableImage(byte[] image) throws IOException { in generateSignableImage() argument
156 byte[] signable = Arrays.copyOf(image, image.length + attrs.length); in generateSignableImage()
158 signable[i+image.length] = attrs[i]; in generateSignableImage()
163 public byte[] sign(byte[] image, PrivateKey key) throws Exception { in sign() argument
164 byte[] signable = generateSignableImage(image); in sign()
168 public boolean verify(byte[] image) throws Exception { in verify() argument
169 if (length.getValue().intValue() != image.length) { in verify()
173 byte[] signable = generateSignableImage(image); in verify()
194 ByteBuffer image = ByteBuffer.wrap(data); in getSignableImageSize() local
195 image.order(ByteOrder.LITTLE_ENDIAN); in getSignableImageSize()
[all …]
DVerityVerifier.java47 private File image; field in VerityVerifier
143 image = File.createTempFile("system", ".raw"); in openImage()
144 image.deleteOnExit(); in openImage()
147 " " + image.getAbsoluteFile()); in openImage()
266 try (RandomAccessFile img = new RandomAccessFile(image, "r")) { in readVerityData()
363 try (RandomAccessFile img = new RandomAccessFile(image, "r")) { in verifyData()
DUtils.java285 byte[] image = new byte[(int)length]; in read()
288 offset += fis.read(image, (int)offset, (int)(length - offset)); in read()
291 return image; in read()
/system/core/healthd/
DAndroid.mk53 define _add-charger-image
68 $(eval $(call _add-charger-image,$(_img))))
76 _add-charger-image :=
/system/extras/tests/net_test/
DREADME31 machine" whose root filesystem is the supplied Debian disk image. The machine
/system/core/fastboot/
Dfastboot_protocol.txt123 "flash:%s" Write the previously downloaded image to the