Searched refs:img (Results 1 - 3 of 3) sorted by relevance

/system/core/toolbox/
H A Dnewfs_msdos.c259 u_int8_t *img; local
641 if (!(img = malloc(bpb.bps)))
652 if ((n = read(fd1, img, bpb.bps)) == -1)
657 memset(img, 0, bpb.bps);
660 bsbpb = (struct bsbpb *)(img + x1);
675 bsxbpb = (struct bsxbpb *)(img + x1);
684 bsx = (struct bsx *)(img + x1);
702 bs = (struct bs *)img;
708 memcpy(img + x1, bootcode, sizeof(bootcode));
709 mk2(img
[all...]
/system/update_engine/
H A DAndroid.mk818 $(call ue-unittest-sample-image,disk_ext2_1k.img)
819 $(call ue-unittest-sample-image,disk_ext2_4k.img)
820 $(call ue-unittest-sample-image,disk_ext2_4k_empty.img)
821 $(call ue-unittest-sample-image,disk_ext2_unittest.img)
912 ue_unittest_disk_ext2_1k.img \
913 ue_unittest_disk_ext2_4k.img \
914 ue_unittest_disk_ext2_4k_empty.img \
915 ue_unittest_disk_ext2_unittest.img \
/system/vold/
H A DVolumeManager.cpp1802 * Mounts an image file <code>img</code>.
1804 int VolumeManager::mountObb(const char *img, const char *key, int ownerGid) { argument
1808 if (!asecHash(img, idHash, sizeof(idHash))) {
1809 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno));
1815 SLOGE("OBB mount failed for %s: couldn't construct mountpoint", img);
1820 SLOGE("Image %s already mounted", img);
1826 if (setupLoopDevice(loopDevice, sizeof(loopDevice), img, idHash, mDebug))
1850 if (setupDevMapperDevice(dmDevice, sizeof(loopDevice), loopDevice, img,key, idHash, nr_sec, &cleanupDm, mDebug)) {
1881 mActiveContainers->push_back(new ContainerData(strdup(img), OBB));
1883 SLOGD("Image %s mounted", img);
[all...]

Completed in 112 milliseconds