Lines Matching refs:string

72   std::string name = updater->FindBlockDeviceName(partition->name);  in UpdateBlockDeviceNameForPartition()
85 std::vector<std::string> args; in UIPrintFn()
90 std::string buffer = android::base::Join(args, ""); in UIPrintFn()
109 std::vector<std::string> args; in PackageExtractFileFn()
114 const std::string& zip_path = args[0]; in PackageExtractFileFn()
115 std::string dest_path = args[1]; in PackageExtractFileFn()
126 if (std::string block_device_name = state->updater->FindBlockDeviceName(dest_path); in PackageExtractFileFn()
160 std::vector<std::string> args; in PackageExtractFileFn()
165 const std::string& zip_path = args[0]; in PackageExtractFileFn()
174 std::string buffer; in PackageExtractFileFn()
204 std::vector<std::string> args; in PatchPartitionCheckFn()
209 std::string err; in PatchPartitionCheckFn()
245 std::vector<std::string> args; in PatchPartitionFn()
250 std::string err; in PatchPartitionFn()
287 std::vector<std::string> args; in MountFn()
291 const std::string& fs_type = args[0]; in MountFn()
292 const std::string& partition_type = args[1]; in MountFn()
293 const std::string& location = args[2]; in MountFn()
294 const std::string& mount_point = args[3]; in MountFn()
295 std::string mount_options; in MountFn()
333 std::vector<std::string> args; in IsMountedFn()
337 const std::string& mount_point = args[0]; in IsMountedFn()
355 std::vector<std::string> args; in UnmountFn()
359 const std::string& mount_point = args[0]; in UnmountFn()
392 std::vector<std::string> args; in FormatFn()
396 const std::string& fs_type = args[0]; in FormatFn()
397 const std::string& partition_type = args[1]; in FormatFn()
398 const std::string& location = args[2]; in FormatFn()
399 const std::string& fs_size = args[3]; in FormatFn()
400 const std::string& mount_point = args[4]; in FormatFn()
425 std::vector<std::string> mke2fs_args = { in FormatFn()
451 std::vector<std::string> f2fs_args = { in FormatFn()
484 std::vector<std::string> args; in ShowProgressFn()
488 const std::string& frac_str = args[0]; in ShowProgressFn()
489 const std::string& sec_str = args[1]; in ShowProgressFn()
513 std::vector<std::string> args; in SetProgressFn()
517 const std::string& frac_str = args[0]; in SetProgressFn()
534 std::string key; in GetPropFn()
540 std::string value = updater_runtime->GetProperty(key, ""); in GetPropFn()
557 std::vector<std::string> args; in FileGetPropFn()
561 const std::string& filename = args[0]; in FileGetPropFn()
562 const std::string& key = args[1]; in FileGetPropFn()
564 std::string buffer; in FileGetPropFn()
571 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in FileGetPropFn()
573 std::string line = android::base::Trim(lines[i]); in FileGetPropFn()
580 if (equal_pos == std::string::npos) { in FileGetPropFn()
585 std::string str = android::base::Trim(line.substr(0, equal_pos)); in FileGetPropFn()
603 std::vector<std::string> args; in ApplyPatchSpaceFn()
607 const std::string& bytes_str = args[0]; in ApplyPatchSpaceFn()
637 std::vector<std::string> args; in RunProgramFn()
654 std::vector<std::string> args; in ReadFileFn()
658 const std::string& filename = args[0]; in ReadFileFn()
660 std::string contents; in ReadFileFn()
680 std::vector<std::string> args; in WriteValueFn()
685 const std::string& filename = args[1]; in WriteValueFn()
690 const std::string& value = args[0]; in WriteValueFn()
714 std::vector<std::string> args; in RebootNowFn()
718 const std::string& filename = args[0]; in RebootNowFn()
719 const std::string& property = args[1]; in RebootNowFn()
723 std::string err; in RebootNowFn()
755 std::vector<std::string> args; in SetStageFn()
759 const std::string& filename = args[0]; in SetStageFn()
760 const std::string& stagestr = args[1]; in SetStageFn()
767 std::string err; in SetStageFn()
788 std::vector<std::string> args; in GetStageFn()
792 const std::string& filename = args[0]; in GetStageFn()
795 std::string err; in GetStageFn()
810 std::vector<std::string> args; in WipeBlockDeviceFn()
814 const std::string& filename = args[0]; in WipeBlockDeviceFn()
815 const std::string& len_str = args[1]; in WipeBlockDeviceFn()
841 std::vector<std::string> args; in Tune2FsFn()
860 std::vector<std::string> args; in AddSlotSuffixFn()
864 const std::string& arg = args[0]; in AddSlotSuffixFn()