• Home
  • Raw
  • Download

Lines Matching refs:fastboot

116 fastboot::FastBootDriver* fb = nullptr;
820 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement()
900 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()
919 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements()
956 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError()
1000 if (fb->GetVar(var_name, &value_str) != fastboot::SUCCESS || value_str.empty()) { in get_uint_var()
1148 return fb->GetVar("partition-type:vbmeta", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition()
1149 fb->GetVar("partition-type:vbmeta_a", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition()
1150 fb->GetVar("partition-type:vbmeta_b", &partition_type) == fastboot::SUCCESS; in has_vbmeta_partition()
1163 return fb->GetVar("is-logical:" + partition, &value) == fastboot::SUCCESS && value == "yes"; in is_logical()
1168 if (fb->GetVar("partition-size:" + partition, &partition_size_str) != fastboot::SUCCESS) { in get_partition_size()
1276 if (fb->GetVar("current-slot", &current_slot) != fastboot::SUCCESS) return ""; in get_current_slot()
1284 if (fb->GetVar("slot-count", &var) != fastboot::SUCCESS || in get_slot_count()
1362 if (fb->GetVar("has-slot:" + part_tokens[0], &has_slot) != fastboot::SUCCESS) { in do_for_partition()
1398 if (fb->GetVar("has-slot:" + part_tokens[0], &has_slot) != fastboot::SUCCESS) { in do_for_partitions()
1416 if (fb->GetVar("super-partition-name", &value) != fastboot::SUCCESS) { in is_retrofit_device()
1437 if (fb->FetchToFd(partition, fd, offset, chunk_size) != fastboot::RetCode::SUCCESS) { in fetch_partition()
1519 return fb->GetVar("is-userspace", &value) == fastboot::SUCCESS && value == "yes"; in is_userspace_fastboot()
1544 if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && in CancelSnapshotIfNeeded()
2005 if (fb->GetVar(name, &sizeString) != fastboot::SUCCESS || sizeString.empty()) { in fb_get_flash_block_size()
2042 if (fb->GetVar("partition-type:" + partition, &partition_type) != fastboot::SUCCESS) { in fb_perform_format()
2054 if (fb->GetVar("partition-size:" + partition, &partition_size) != fastboot::SUCCESS) { in fb_perform_format()
2371 fastboot::DriverCallbacks driver_callbacks = { in Main()
2378 fastboot::FastBootDriver fastboot_driver(transport, driver_callbacks, false); in Main()
2391 if (fb->GetVar("current-slot", &current_slot) == fastboot::SUCCESS) { in Main()
2415 fastboot::SUCCESS && in Main()