Lines Matching refs:gsi_size_
499 gsi_size_ = params.gsiSize; in StartInstall()
581 if (gsi_size_ < 0) { in PerformSanityChecks()
582 LOG(ERROR) << "image size " << gsi_size_ << " is negative"; in PerformSanityChecks()
600 if (free_space <= (gsi_size_ + userdata_size_)) { in PerformSanityChecks()
676 StartAsyncOperation("create system", gsi_size_); in PreallocateSystem()
679 auto system_image = CreateFiemapWriter(system_gsi_path_, gsi_size_, &error); in PreallocateSystem()
688 .actual_size = gsi_size_, in PreallocateSystem()
794 StartAsyncOperation("write gsi", gsi_size_); in CommitGsiChunk()
825 int new_progress = ((gsi_size_ - remaining) * 1000) / gsi_size_; in CommitGsiChunk()
827 UpdateProgress(STATUS_WORKING, gsi_size_ - remaining); in CommitGsiChunk()
831 UpdateProgress(STATUS_COMPLETE, gsi_size_); in CommitGsiChunk()
840 if (static_cast<uint64_t>(bytes) > gsi_size_ - gsi_bytes_written_) { in CommitGsiChunk()
842 LOG(ERROR) << "chunk size " << bytes << " exceeds remaining image size (" << gsi_size_ in CommitGsiChunk()
856 if (gsi_bytes_written_ != gsi_size_) { in SetGsiBootable()
858 LOG(ERROR) << "image incomplete; expected " << gsi_size_ << " bytes, waiting for " in SetGsiBootable()
859 << (gsi_size_ - gsi_bytes_written_) << " bytes"; in SetGsiBootable()