Searched refs:num_slots (Results 1 – 5 of 5) sorted by relevance
/aosp14/system/core/fastboot/fuzzy_fastboot/ |
H A D | test_utils.cpp | 76 std::vector<std::string> GeneratePartitionNames(const std::string& base, int num_slots) { in GeneratePartitionNames() argument 77 if (!num_slots) { in GeneratePartitionNames() 81 for (char c = 'a'; c < 'a' + num_slots; c++) { in GeneratePartitionNames()
|
H A D | main.cpp | 247 if (num_slots > 0) { in TEST_F() 451 int32_t num_slots = strtol(var.c_str(), nullptr, 10); in TEST_F() local 460 if (num_slots > 0) { in TEST_F() 493 EXPECT_EQ(char_set.size(), num_slots) in TEST_F() 514 for (char c = 'a'; c < 'a' + num_slots; c++) { in TEST_F() 1486 int num_slots = 1; in TEST_P() local 1489 num_slots = strtol(var.c_str(), nullptr, 10); in TEST_P() 1497 for (int i = 0; i < num_slots; i++) { in TEST_P() 1565 int num_slots = 1; in TEST_P() local 1568 num_slots = strtol(var.c_str(), nullptr, 10); in TEST_P() [all …]
|
H A D | test_utils.h | 86 std::vector<std::string> GeneratePartitionNames(const std::string& base, int num_slots = 0);
|
H A D | fixtures.cpp | 327 int32_t num_slots = strtol(var.c_str(), nullptr, 10); in SetUp() local 328 real_parts = GeneratePartitionNames(name, GetParam().second.slots ? num_slots : 0); in SetUp()
|
/aosp14/system/core/fastboot/device/ |
H A D | utility.cpp | 203 size_t num_slots = 1; in UpdateAllPartitionMetadata() local 206 num_slots = boot_control_hal->GetNumSlots(); in UpdateAllPartitionMetadata() 210 for (size_t i = 0; i < num_slots; i++) { in UpdateAllPartitionMetadata()
|