Home
last modified time | relevance | path

Searched refs:GetVar (Results 1 – 8 of 8) sorted by relevance

/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp101 fb->GetVar("is-userspace", &value); in UserSpaceFastboot()
148 fb->GetVar("current-slot", &initial_slot); in SetUp()
256 EXPECT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()
267 ASSERT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()
296 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()
301 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()
326 ASSERT_EQ(fb->GetVar("slot-count", &var), SUCCESS) << "Getting slot count failed"; in SetUp()
330 ASSERT_EQ(fb->GetVar("partition-size:" + real_parts.front(), &var), SUCCESS) in SetUp()
335 ASSERT_EQ(fb->GetVar("max-download-size", &var), SUCCESS) << "Getting max download size failed"; in SetUp()
Dmain.cpp68 std::vector<std::pair<std::string, extension::Configuration::GetVar>> GETVAR_XML_TESTS;
186 if (fb->GetVar("partition-type:super", &partition_type) == SUCCESS) { in TEST_F()
188 EXPECT_EQ(fb->GetVar("is-logical:super", &is_logical), SUCCESS) in TEST_F()
192 EXPECT_EQ(fb->GetVar("super-partition-name", &super_name), SUCCESS) in TEST_F()
203 EXPECT_EQ(fb->GetVar("has-slot:system", &has_slot), SUCCESS) << "getvar has-slot:system failed"; in TEST_F()
209 ASSERT_EQ(fb->GetVar("current-slot", &current_slot), SUCCESS) in TEST_F()
217 EXPECT_EQ(fb->GetVar(is_logical_cmd_system, &is_logical), SUCCESS) in TEST_F()
220 EXPECT_EQ(fb->GetVar(is_logical_cmd_vendor, &is_logical), SUCCESS) in TEST_F()
223 EXPECT_EQ(fb->GetVar(is_logical_cmd_boot, &is_logical), SUCCESS) in TEST_F()
243 EXPECT_EQ(fb->GetVar("slot-count", &slot_count), SUCCESS) << "getvar slot-count failed"; in TEST_F()
[all …]
Dextensions.h54 struct GetVar { struct
60 friend ::std::ostream& operator<<(::std::ostream& os, const GetVar& self) {
120 std::unordered_map<std::string, GetVar> getvars;
Dfixtures.h103 std::pair<std::string, extension::Configuration::GetVar>> {};
Dextensions.cpp205 Configuration::GetVar getvar{reg, MakeRegex(reg, var->GetLineNum()), var->GetLineNum()}; in ExtractGetVars()
/system/core/fastboot/
Dfastboot.cpp681 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement()
762 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()
781 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements()
811 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError()
850 if (fb->GetVar("max-download-size", &max_download_size) != fastboot::SUCCESS || in get_target_sparse_limit()
995 return fb->GetVar("partition-type:vbmeta", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition()
996 fb->GetVar("partition-type:vbmeta_a", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition()
997 fb->GetVar("partition-type:vbmeta_b", &partition_type) == fastboot::SUCCESS; in has_vbmeta_partition()
1015 if (fb->GetVar("partition-size:" + partition, &partition_size_str) != fastboot::SUCCESS) { in copy_boot_avb_footer()
1099 if (fb->GetVar("current-slot", &current_slot) != fastboot::SUCCESS) return ""; in get_current_slot()
[all …]
Dfastboot_driver.cpp95 RetCode FastBootDriver::GetVar(const std::string& key, std::string* val, in GetVar() function in fastboot::FastBootDriver
102 return GetVar("all", &tmp, response); in GetVarAll()
Dfastboot_driver.h96 RetCode GetVar(const std::string& key, std::string* val,