Home
last modified time | relevance | path

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

/system/update_engine/common/
Dutils_unittest.cc106 string disk; in TEST() local
109 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num)); in TEST()
110 EXPECT_EQ("/dev/sda", disk); in TEST()
113 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num)); in TEST()
114 EXPECT_EQ("/dev/sdp", disk); in TEST()
117 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num)); in TEST()
118 EXPECT_EQ("/dev/mmcblk0", disk); in TEST()
121 EXPECT_TRUE(utils::SplitPartitionName("/dev/ubiblock3_2", &disk, &part_num)); in TEST()
122 EXPECT_EQ("/dev/ubiblock", disk); in TEST()
125 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num)); in TEST()
[all …]
/system/vold/
DVolumeManager.cpp314 auto disk = new android::vold::Disk(eventPath, device, in handleBlockEvent() local
316 disk->create(); in handleBlockEvent()
317 mDisks.push_back(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()
325 for (auto disk : mDisks) { in handleBlockEvent() local
326 if (disk->getDevice() == device) { in handleBlockEvent()
327 disk->readMetadata(); in handleBlockEvent()
328 disk->readPartitions(); in handleBlockEvent()
357 for (auto disk : mDisks) { in findDisk() local
358 if (disk->getId() == id) { in findDisk()
359 return disk; in findDisk()
[all …]
DCommandListener.cpp168 auto disk = vm->findDisk(id); in runCommand() local
169 if (disk == nullptr) { in runCommand()
175 return sendGenericOkFail(cli, disk->partitionPublic()); in runCommand()
177 return sendGenericOkFail(cli, disk->partitionPrivate()); in runCommand()
183 return sendGenericOkFail(cli, disk->partitionMixed(frac)); in runCommand()
/system/core/metricsd/
DREADME.md69 * The uploader thread takes care of backing up the metrics to disk periodically
86 periodically to metricsd (this is the case for the disk utilization histogram).
/system/extras/tests/net_test/
DREADME31 machine" whose root filesystem is the supplied Debian disk image. The machine
/system/update_engine/
Dupdate_metadata.proto87 // Data is packed into blocks on disk, always starting from the beginning
94 // In general, files are stored sequentially on disk, so it's more efficient