Searched refs:currentProcess (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/update/updater/services/flashd/daemon/ |
H A D | commander.cpp | 47 …uint8_t currentProcess = static_cast<uint8_t>(static_cast<int64_t>(currentSize_) * PERCENT_FINISH … in UpdateProgress() local 48 if (currentProcess > PERCENT_FINISH) { in UpdateProgress() 49 …OGW("currSize_ = %u, fileSize_ = %u, currentProces = %u", currentSize_, fileSize_, currentProcess); in UpdateProgress() 54 if (currentProcess == preProcess) { in UpdateProgress() 57 preProcess = currentProcess; in UpdateProgress() 58 callback_(type, UpdaterState::DOING, std::to_string(currentProcess)); in UpdateProgress()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | process_notifier.cpp | 78 std::map<std::string, SyncProcess> currentProcess; in NotifyProcess() local 92 currentProcess[device] = syncProcess_; in NotifyProcess() 95 currentProcess = multiSyncProcess_; in NotifyProcess() 110 …int errCode = RuntimeContext::GetInstance()->ScheduleQueuedTask(id, [callback, currentProcess, syn… in NotifyProcess() 117 callback(currentProcess); in NotifyProcess()
|