Searched refs:SplitPartitionName (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/common/ |
D | utils_unittest.cc | 114 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/loop10", &disk, &part_num)); in TEST() 130 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop28p11", &disk, &part_num)); in TEST() 134 EXPECT_FALSE(utils::SplitPartitionName("/dev/mmcblk0p", &disk, &part_num)); in TEST() 135 EXPECT_FALSE(utils::SplitPartitionName("/dev/sda", &disk, &part_num)); in TEST() 136 EXPECT_FALSE(utils::SplitPartitionName("/dev/foo/bar", &disk, &part_num)); in TEST() 137 EXPECT_FALSE(utils::SplitPartitionName("/", &disk, &part_num)); in TEST() 138 EXPECT_FALSE(utils::SplitPartitionName("", &disk, &part_num)); in TEST()
|
D | utils.h | 150 bool SplitPartitionName(const std::string& partition_name,
|
D | utils.cc | 418 bool SplitPartitionName(const string& partition_name, in SplitPartitionName() function
|
/system/update_engine/ |
D | boot_control_chromeos.cc | 106 if (!utils::SplitPartitionName(boot_device, &boot_disk_name_, &partition_num)) in Init()
|