Searched refs:userIndex (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | process_recorder.cpp | 26 bool ProcessRecorder::IsDownloadFinish(int userIndex, const std::string &table) const in IsDownloadFinish() argument 28 return IsRecordFinish(userIndex, table, downloadRecord_); in IsDownloadFinish() 33 RecordFinish(userIndex, table, finish, downloadRecord_); in MarkDownloadFinish() 36 bool ProcessRecorder::IsUploadFinish(int userIndex, const std::string &table) const in IsUploadFinish() argument 38 return IsRecordFinish(userIndex, table, uploadRecord_); in IsUploadFinish() 43 RecordFinish(userIndex, table, finish, uploadRecord_); in MarkUploadFinish() 46 bool ProcessRecorder::IsRecordFinish(int userIndex, const std::string &table, in IsRecordFinish() argument 50 if (record.find(userIndex) == record.end()) { in IsRecordFinish() 53 if (record.at(userIndex).find(table) == record.at(userIndex).end()) { in IsRecordFinish() 56 return record.at(userIndex).at(table); in IsRecordFinish() [all …]
|
H A D | process_recorder.h | 30 bool IsDownloadFinish(int userIndex, const std::string &table) const; 31 void MarkDownloadFinish(int userIndex, const std::string &table, bool finish); 33 bool IsUploadFinish(int userIndex, const std::string &table) const; 34 void MarkUploadFinish(int userIndex, const std::string &table, bool finish); 36 bool IsRecordFinish(int userIndex, const std::string &table, 38 void RecordFinish(int userIndex, const std::string &table, bool finish,
|