Searched refs:SplitPartitionName (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/common/ |
D | utils_unittest.cc | 111 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num)); in TEST() 115 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num)); in TEST() 119 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num)); in TEST() 123 EXPECT_TRUE(utils::SplitPartitionName("/dev/ubiblock3_2", &disk, &part_num)); in TEST() 127 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num)); in TEST() 131 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop28p11", &disk, &part_num)); in TEST() 135 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10_0", &disk, &part_num)); in TEST() 139 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop28p11_0", &disk, &part_num)); in TEST() 143 EXPECT_FALSE(utils::SplitPartitionName("/dev/mmcblk0p", &disk, &part_num)); in TEST() 144 EXPECT_FALSE(utils::SplitPartitionName("/dev/sda", &disk, &part_num)); in TEST() [all …]
|
D | utils.h | 168 bool SplitPartitionName(const std::string& partition_name,
|
D | utils.cc | 473 bool SplitPartitionName(const string& partition_name, in SplitPartitionName() function 559 if (!SplitPartitionName(part_name, nullptr, &partition_num)) { in MakePartitionNameForMount()
|
/system/update_engine/ |
D | boot_control_chromeos.cc | 95 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init()
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 89 if (utils::SplitPartitionName(path, nullptr, &volume_no)) { in CreateFileDescriptor()
|