Home
last modified time | relevance | path

Searched refs:GetPartitionNumber (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/
Dboot_control_chromeos_unittest.cc46 EXPECT_EQ(2, bootctl_.GetPartitionNumber("kernel", 0)); in TEST_F()
47 EXPECT_EQ(2, bootctl_.GetPartitionNumber("boot", 0)); in TEST_F()
48 EXPECT_EQ(2, bootctl_.GetPartitionNumber("KERNEL", 0)); in TEST_F()
49 EXPECT_EQ(2, bootctl_.GetPartitionNumber("BOOT", 0)); in TEST_F()
51 EXPECT_EQ(3, bootctl_.GetPartitionNumber("ROOT", 0)); in TEST_F()
52 EXPECT_EQ(3, bootctl_.GetPartitionNumber("system", 0)); in TEST_F()
54 EXPECT_EQ(3, bootctl_.GetPartitionNumber("ROOT", 0)); in TEST_F()
55 EXPECT_EQ(3, bootctl_.GetPartitionNumber("system", 0)); in TEST_F()
58 EXPECT_EQ(4, bootctl_.GetPartitionNumber("KERNEL", 1)); in TEST_F()
59 EXPECT_EQ(5, bootctl_.GetPartitionNumber("ROOT", 1)); in TEST_F()
[all …]
Dboot_control_chromeos.cc115 GetPartitionNumber(kChromeOSPartitionNameRoot, current_slot_)) { in Init()
145 int partition_num = GetPartitionNumber(partition_name, slot); in GetPartitionDevice()
158 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in IsSlotBootable()
182 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in MarkSlotUnbootable()
210 int partition_num = GetPartitionNumber(kChromeOSPartitionNameKernel, slot); in SetActiveBootSlot()
278 int BootControlChromeOS::GetPartitionNumber( in GetPartitionNumber() function in chromeos_update_engine::BootControlChromeOS
Dboot_control_chromeos.h70 int GetPartitionNumber(const std::string partition_name,