Searched refs:img (Results 1 – 10 of 10) sorted by relevance
/system/extras/verity/ |
D | VerityVerifier.java | 160 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/ |
D | CleanSpec.mk | 47 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system.img $(PRODUCT_OUT)/userdata.img)
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action_unittest.cc | 336 string img; in TEST_F() local 337 EXPECT_TRUE(utils::MakeTempFile("img.XXXXXX", &img, nullptr)); in TEST_F() 338 ScopedPathUnlinker img_unlinker(img); in TEST_F() 339 test_utils::CreateExtImageAtPath(img, nullptr); in TEST_F() 341 EXPECT_EQ(0, truncate(img.c_str(), 20 * 1024 * 1024)); in TEST_F() 347 kLegacyPartitionNameRoot, install_plan.source_slot, img); in TEST_F() 349 kLegacyPartitionNameKernel, install_plan.source_slot, img); in TEST_F()
|
/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/update_engine/common/ |
D | utils_unittest.cc | 196 string img; in TEST() local 197 EXPECT_TRUE(utils::MakeTempFile("img.XXXXXX", &img, nullptr)); in TEST() 198 ScopedPathUnlinker img_unlinker(img); in TEST() 199 test_utils::CreateExtImageAtPath(img, nullptr); in TEST() 203 img.c_str()))); in TEST() 204 EXPECT_EQ(20 * 1024 * 1024, utils::FileSize(img)); in TEST() 207 EXPECT_TRUE(utils::GetFilesystemSize(img, &block_count, &block_size)); in TEST()
|
/system/update_engine/ |
D | Android.mk | 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) 790 ue_unittest_disk_ext2_1k.img \ 791 ue_unittest_disk_ext2_4k.img \ 792 ue_unittest_disk_ext2_4k_empty.img \ 793 ue_unittest_disk_ext2_unittest.img \
|
/system/vold/ |
D | VolumeManager.cpp | 1735 int VolumeManager::mountObb(const char *img, const char *key, int ownerGid) { in mountObb() argument 1739 if (!asecHash(img, idHash, sizeof(idHash))) { in mountObb() 1740 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno)); in mountObb() 1746 SLOGE("OBB mount failed for %s: couldn't construct mountpoint", img); in mountObb() 1751 SLOGE("Image %s already mounted", img); in mountObb() 1757 if (setupLoopDevice(loopDevice, sizeof(loopDevice), img, idHash, mDebug)) in mountObb() 1781 …if (setupDevMapperDevice(dmDevice, sizeof(loopDevice), loopDevice, img,key, idHash, nr_sec, &clean… in mountObb() 1812 mActiveContainers->push_back(new ContainerData(strdup(img), OBB)); in mountObb() 1814 SLOGD("Image %s mounted", img); in mountObb()
|
/system/sepolicy/ |
D | README | 64 system.img. If one wishes to view it in a more human friendly format,
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 133 "boot" The previously downloaded data is a boot.img 135 procedure for a boot.img
|
/system/core/init/ |
D | readme.txt | 501 fastboot boot $ANDROID_PRODUCT_OUT/boot.img
|