Searched defs:image (Results 1 - 5 of 5) sorted by relevance

/system/core/healthd/
H A DAndroid.mk62 define _add-charger-image
77 $(eval $(call _add-charger-image,$(_img))))
85 _add-charger-image :=
/system/extras/verity/
H A DBootSignature.java77 * Initializes the object for signing an image file
79 * @param length Length of the image, included in the signed data
88 * Initializes the object for verifying a signed image file
155 public byte[] generateSignableImage(byte[] image) throws IOException { argument
157 byte[] signable = Arrays.copyOf(image, image.length + attrs.length);
159 signable[i+image.length] = attrs[i];
164 public byte[] sign(byte[] image, PrivateKey key) throws Exception { argument
165 byte[] signable = generateSignableImage(image);
169 public boolean verify(byte[] image) throw argument
[all...]
H A DVerityVerifier.java47 private File image; field in class:VerityVerifier
138 * Unsparses a sparse image into a temporary file and returns a
140 * @param fname Path to a sparse image file
143 image = File.createTempFile("system", ".raw");
144 image.deleteOnExit();
147 " " + image.getAbsoluteFile());
151 throw new IllegalArgumentException("Invalid image: failed to unsparse");
156 * Reads the ext4 superblock and calculates the size of the system image,
158 * @param img File handle to the image file
166 throw new IllegalArgumentException("Invalid image
[all...]
/system/extras/verity/fec/
H A Dimage.h38 struct image { struct
74 image *ctx;
82 extern bool image_load(const std::vector<std::string>& filename, image *ctx,
84 extern bool image_save(const std::string& filename, image *ctx);
86 extern bool image_ecc_new(const std::string& filename, image *ctx);
87 extern bool image_ecc_load(const std::string& filename, image *ctx);
88 extern bool image_ecc_save(image *ctx);
90 extern bool image_process(image_proc_func f, image *ctx);
92 extern void image_init(image *ctx);
93 extern void image_free(image *ct
[all...]
/system/update_engine/
H A DAndroid.mk727 # Generate a prebuilt module that installs a sample image from the compressed
731 define ue-unittest-sample-image
745 $(call ue-unittest-sample-image,disk_ext2_1k.img)
746 $(call ue-unittest-sample-image,disk_ext2_4k.img)
747 $(call ue-unittest-sample-image,disk_ext2_4k_empty.img)
748 $(call ue-unittest-sample-image,disk_ext2_unittest.img)

Completed in 475 milliseconds