Lines Matching refs:GetVar

681     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()
1106 if (fb->GetVar("slot-count", &var) != fastboot::SUCCESS || in get_slot_count()
1182 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partition()
1215 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partitions()
1232 return fb->GetVar("is-logical:" + partition, &value) == fastboot::SUCCESS && value == "yes"; in is_logical()
1237 if (fb->GetVar("super-partition-name", &value) != fastboot::SUCCESS) { in is_retrofit_device()
1272 return fb->GetVar("is-userspace", &value) == fastboot::SUCCESS && value == "yes"; in is_userspace_fastboot()
1297 if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && in CancelSnapshotIfNeeded()
1461 if (fb->GetVar("super-partition-name", &super_name) != fastboot::RetCode::SUCCESS) { in UpdateSuperPartition()
1560 if (fb->GetVar(name, &sizeString) != fastboot::SUCCESS || sizeString.empty()) { in fb_get_flash_block_size()
1598 if (fb->GetVar("partition-type:" + partition, &partition_type) != fastboot::SUCCESS) { in fb_perform_format()
1610 if (fb->GetVar("partition-size:" + partition, &partition_size) != fastboot::SUCCESS) { in fb_perform_format()
1942 if (fb->GetVar("current-slot", &current_slot) == fastboot::SUCCESS) { in Main()
1964 … if (fb->GetVar("partition-type:" + partition, &partition_type) == fastboot::SUCCESS && in Main()
2172 if (fb->GetVar("partition-type:" + partition, &partition_type) != fastboot::SUCCESS) { in Main()