Searched refs:GetVar (Results 1 – 8 of 8) sorted by relevance
93 fb->GetVar("is-userspace", &value); in UserSpaceFastboot()136 fb->GetVar("current-slot", &initial_slot); in SetUp()222 EXPECT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()233 ASSERT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()262 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()267 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()292 ASSERT_EQ(fb->GetVar("slot-count", &var), SUCCESS) << "Getting slot count failed"; in SetUp()296 ASSERT_EQ(fb->GetVar("partition-size:" + real_parts.front(), &var), SUCCESS) in SetUp()301 ASSERT_EQ(fb->GetVar("max-download-size", &var), SUCCESS) << "Getting max download size failed"; in SetUp()
68 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", ¤t_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()250 EXPECT_EQ(fb->GetVar("slot-count", &slot_count), SUCCESS) << "getvar slot-count failed"; in TEST_F()[all …]
54 struct GetVar { struct60 friend ::std::ostream& operator<<(::std::ostream& os, const GetVar& self) {120 std::unordered_map<std::string, GetVar> getvars;
100 std::pair<std::string, extension::Configuration::GetVar>> {};
205 Configuration::GetVar getvar{reg, MakeRegex(reg, var->GetLineNum()), var->GetLineNum()}; in ExtractGetVars()
659 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement()740 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()759 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements()789 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError()828 if (fb->GetVar("max-download-size", &max_download_size) != fastboot::SUCCESS || in get_target_sparse_limit()990 if (fb->GetVar("current-slot", ¤t_slot) != fastboot::SUCCESS) return ""; in get_current_slot()997 if (fb->GetVar("slot-count", &var) != fastboot::SUCCESS || in get_slot_count()1073 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partition()1106 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partitions()1123 return fb->GetVar("is-logical:" + partition, &value) == fastboot::SUCCESS && value == "yes"; in is_logical()[all …]
96 RetCode GetVar(const std::string& key, std::string* val,
95 RetCode FastBootDriver::GetVar(const std::string& key, std::string* val, in GetVar() function in fastboot::FastBootDriver102 return GetVar("all", &tmp, response); in GetVarAll()