Searched refs:img (Results 1 – 5 of 5) sorted by relevance
/system/extras/verity/ |
D | VerityVerifier.java | 85 public static long getMetadataPosition(RandomAccessFile img) in getMetadataPosition() argument 87 img.seek(EXT4_SB_OFFSET_MAGIC); in getMetadataPosition() 88 int magic = fromle(img.readShort()); in getMetadataPosition() 94 img.seek(EXT4_SB_OFFSET_BLOCKS_COUNT_LO); in getMetadataPosition() 95 long blocksCountLo = fromle(img.readInt()); in getMetadataPosition() 97 img.seek(EXT4_SB_OFFSET_LOG_BLOCK_SIZE); in getMetadataPosition() 98 long logBlockSize = fromle(img.readInt()); in getMetadataPosition() 100 img.seek(EXT4_SB_OFFSET_BLOCKS_COUNT_HI); in getMetadataPosition() 101 long blocksCountHi = fromle(img.readInt()); in getMetadataPosition() 114 public static boolean verifyMetaData(RandomAccessFile img, PublicKey key) in verifyMetaData() argument [all …]
|
/system/extras/ |
D | CleanSpec.mk | 47 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system.img $(PRODUCT_OUT)/userdata.img)
|
/system/core/toolbox/ |
D | newfs_msdos.c | 259 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/ |
D | VolumeManager.cpp | 1379 int VolumeManager::mountObb(const char *img, const char *key, int ownerGid) { in mountObb() argument 1383 if (!asecHash(img, idHash, sizeof(idHash))) { in mountObb() 1384 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno)); in mountObb() 1390 SLOGE("OBB mount failed for %s: couldn't construct mountpoint", img); in mountObb() 1395 SLOGE("Image %s already mounted", img); in mountObb() 1401 if (setupLoopDevice(loopDevice, sizeof(loopDevice), img, idHash, mDebug)) in mountObb() 1424 …if (setupDevMapperDevice(dmDevice, sizeof(loopDevice), loopDevice, img,key, idHash , nr_sec, &clea… in mountObb() 1450 mActiveContainers->push_back(new ContainerData(strdup(img), OBB)); in mountObb() 1452 SLOGD("Image %s mounted", img); in mountObb()
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 128 "boot" The previously downloaded data is a boot.img 130 procedure for a boot.img
|