Home
last modified time | relevance | path

Searched refs:remaining_time (Results 1 – 2 of 2) sorted by relevance

/system/vold/
DEncryptInplace.cpp165 int remaining_time = 0; in UpdateProgress() local
167 remaining_time = (int)(elapsed_time * remaining_blocks / blocks_done_); in UpdateProgress()
171 if (remaining_time_ == -1 || remaining_time < remaining_time_ || in UpdateProgress()
172 remaining_time > remaining_time_ + 60) { in UpdateProgress()
173 remaining_time_ = remaining_time; in UpdateProgress()
175 std::to_string(remaining_time)); in UpdateProgress()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1950 auto remaining_time = timeout - duration_cast<std::chrono::milliseconds>(passed_time); in GetRemainingTime() local
1951 if (remaining_time.count() <= 0) { in GetRemainingTime()
1953 << remaining_time.count() << "ms remaining)"; in GetRemainingTime()
1958 return remaining_time; in GetRemainingTime()
2064 auto remaining_time = GetRemainingTime(params.timeout_ms, begin); in MapPartitionWithSnapshot() local
2065 if (remaining_time.count() < 0) return false; in MapPartitionWithSnapshot()
2069 cow_params.timeout_ms = remaining_time; in MapPartitionWithSnapshot()
2082 remaining_time = GetRemainingTime(params.timeout_ms, begin); in MapPartitionWithSnapshot()
2083 if (remaining_time.count() < 0) return false; in MapPartitionWithSnapshot()
2094 if (!MapSourceDevice(lock, params.GetPartitionName(), remaining_time, in MapPartitionWithSnapshot()
[all …]