Home
last modified time | relevance | path

Searched refs:SplitPartitionName (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/common/
Dutils_unittest.cc114 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num)); in TEST()
118 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num)); in TEST()
122 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num)); in TEST()
126 EXPECT_TRUE(utils::SplitPartitionName("/dev/ubiblock3_2", &disk, &part_num)); in TEST()
130 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num)); in TEST()
134 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop28p11", &disk, &part_num)); in TEST()
138 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10_0", &disk, &part_num)); in TEST()
142 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop28p11_0", &disk, &part_num)); in TEST()
146 EXPECT_FALSE(utils::SplitPartitionName("/dev/mmcblk0p", &disk, &part_num)); in TEST()
147 EXPECT_FALSE(utils::SplitPartitionName("/dev/sda", &disk, &part_num)); in TEST()
[all …]
Dutils.h154 bool SplitPartitionName(const std::string& partition_name,
Dutils.cc460 bool SplitPartitionName(const string& partition_name, in SplitPartitionName() function
545 if (!SplitPartitionName(part_name, nullptr, &partition_num)) { in MakePartitionNameForMount()
/system/update_engine/
Dboot_control_chromeos.cc102 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init()
/system/update_engine/payload_consumer/
Ddelta_performer.cc92 if (utils::SplitPartitionName(path, nullptr, &volume_no)) { in CreateFileDescriptor()