Home
last modified time | relevance | path

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

/system/extras/verity/
DVerityVerifier.java160 public static long getMetadataPosition(RandomAccessFile img) in getMetadataPosition() argument
162 img.seek(EXT4_SB_OFFSET_MAGIC); in getMetadataPosition()
163 int magic = fromle(img.readShort()); in getMetadataPosition()
169 img.seek(EXT4_SB_OFFSET_BLOCKS_COUNT_LO); in getMetadataPosition()
170 long blocksCountLo = fromle(img.readInt()); in getMetadataPosition()
172 img.seek(EXT4_SB_OFFSET_LOG_BLOCK_SIZE); in getMetadataPosition()
173 long logBlockSize = fromle(img.readInt()); in getMetadataPosition()
175 img.seek(EXT4_SB_OFFSET_BLOCKS_COUNT_HI); in getMetadataPosition()
176 long blocksCountHi = fromle(img.readInt()); in getMetadataPosition()
217 private void readHashTree(RandomAccessFile img, byte[] table) in readHashTree() argument
[all …]
/system/extras/
DCleanSpec.mk47 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system.img $(PRODUCT_OUT)/userdata.img)
/system/core/toolbox/
Dnewfs_msdos.c259 u_int8_t *img; in newfs_msdos_main() local
641 if (!(img = malloc(bpb.bps))) in newfs_msdos_main()
652 if ((n = read(fd1, img, bpb.bps)) == -1) in newfs_msdos_main()
657 memset(img, 0, bpb.bps); in newfs_msdos_main()
660 bsbpb = (struct bsbpb *)(img + x1); in newfs_msdos_main()
675 bsxbpb = (struct bsxbpb *)(img + x1); in newfs_msdos_main()
684 bsx = (struct bsx *)(img + x1); in newfs_msdos_main()
702 bs = (struct bs *)img; in newfs_msdos_main()
708 memcpy(img + x1, bootcode, sizeof(bootcode)); in newfs_msdos_main()
709 mk2(img + MINBPS - 2, DOSMAGIC); in newfs_msdos_main()
[all …]
/system/vold/
DVolumeManager.cpp1741 int VolumeManager::mountObb(const char *img, const char *key, int ownerGid) { in mountObb() argument
1745 if (!asecHash(img, idHash, sizeof(idHash))) { in mountObb()
1746 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno)); in mountObb()
1752 SLOGE("OBB mount failed for %s: couldn't construct mountpoint", img); in mountObb()
1757 SLOGE("Image %s already mounted", img); in mountObb()
1763 if (setupLoopDevice(loopDevice, sizeof(loopDevice), img, idHash, mDebug)) in mountObb()
1787 …if (setupDevMapperDevice(dmDevice, sizeof(loopDevice), loopDevice, img,key, idHash, nr_sec, &clean… in mountObb()
1818 mActiveContainers->push_back(new ContainerData(strdup(img), OBB)); in mountObb()
1820 SLOGD("Image %s mounted", img); in mountObb()
/system/core/fastboot/
Dfastboot_protocol.txt128 "boot" The previously downloaded data is a boot.img
130 procedure for a boot.img
/system/core/init/
Dreadme.txt370 fastboot boot $ANDROID_PRODUCT_OUT/boot.img