Home
last modified time | relevance | path

Searched refs:DfxTransaction (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_dfx/src/
H A Ddfx_transaction.cpp28 DfxTransaction::DfxTransaction(std::string funcName) : funcName_(funcName) in DfxTransaction() function in OHOS::Media::DfxTransaction
33 DfxTransaction::~DfxTransaction() {} in ~DfxTransaction()
35 void DfxTransaction::Restart() in Restart()
40 void DfxTransaction::ReportIfTimeout() in ReportIfTimeout()
49 void DfxTransaction::ReportError(uint8_t abnormalType, int32_t errCode) in ReportError()
55 void DfxTransaction::Report(uint8_t abnormalType, int32_t errCode) in Report()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_dfx/include/
H A Ddfx_transaction.h24 class DfxTransaction {
34 EXPORT DfxTransaction(std::string funcName);
35 EXPORT ~DfxTransaction();
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/event_handler/
H A Dalbum_plugin_table_event_handler.cpp58 DfxTransaction reporter{ __func__ }; in InitiateData()
60 reporter.ReportError(DfxTransaction::AbnormalType::CREATE_ERROR, errCode); in InitiateData()
77 reporter.ReportError(DfxTransaction::AbnormalType::EXECUTE_ERROR, err); in InitiateData()
85 reporter.ReportError(DfxTransaction::AbnormalType::COMMIT_ERROR, err); in InitiateData()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdb_transaction.cpp59 reporter_.ReportError(DfxTransaction::AbnormalType::NULLPTR_ERROR, E_HAS_DB_ERROR); in Start()
82 reporter_.ReportError(DfxTransaction::AbnormalType::CREATE_ERROR, errCode); in Start()
91 reporter_.ReportError(DfxTransaction::AbnormalType::NULLPTR_ERROR, E_HAS_DB_ERROR); in Commit()
98 reporter_.ReportError(DfxTransaction::AbnormalType::COMMIT_ERROR, ret); in Commit()
109 reporter_.ReportError(DfxTransaction::AbnormalType::NULLPTR_ERROR, E_HAS_DB_ERROR); in Finish()
117 reporter_.ReportError(DfxTransaction::AbnormalType::COMMIT_ERROR, ret); in Finish()
188 reporter_.ReportError(DfxTransaction::AbnormalType::ROLLBACK_ERROR, ret); in Rollback()
H A Dmedialibrary_rdbstore.cpp993 DfxTransaction reporter{ __func__ }; in PrepareSystemAlbums()
995 reporter.ReportError(DfxTransaction::AbnormalType::CREATE_ERROR, errCode); in PrepareSystemAlbums()
1014 reporter.ReportError(DfxTransaction::AbnormalType::EXECUTE_ERROR, err); in PrepareSystemAlbums()
1023 reporter.ReportError(DfxTransaction::AbnormalType::COMMIT_ERROR, err); in PrepareSystemAlbums()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dmedia_library_db_upgrade.cpp216 DfxTransaction reporter{__func__}; in MoveSingleRelationshipToPhotos()
218 reporter.ReportError(DfxTransaction::AbnormalType::CREATE_ERROR, errCode); in MoveSingleRelationshipToPhotos()
226 reporter.ReportError(DfxTransaction::AbnormalType::EXECUTE_ERROR, ret); in MoveSingleRelationshipToPhotos()
236 reporter.ReportError(DfxTransaction::AbnormalType::COMMIT_ERROR, ret); in MoveSingleRelationshipToPhotos()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_rdb_transaction.h84 DfxTransaction reporter_;