Home
last modified time | relevance | path

Searched refs:has_slot (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dfastboot.cpp739 std::string has_slot; in HandlePartitionExists() local
740 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()
741 (has_slot != "yes" && has_slot != "no")) { in HandlePartitionExists()
1070 std::string has_slot; in do_for_partition() local
1073 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partition()
1075 has_slot = "no"; in do_for_partition()
1077 if (has_slot == "yes") { in do_for_partition()
1103 std::string has_slot; in do_for_partitions() local
1106 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partitions()
1109 if (has_slot == "yes") { in do_for_partitions()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp202 std::string has_slot; in TEST_F() local
203 EXPECT_EQ(fb->GetVar("has-slot:system", &has_slot), SUCCESS) << "getvar has-slot:system failed"; in TEST_F()
207 if (has_slot == "yes") { in TEST_F()