Home
last modified time | relevance | path

Searched refs:MAX_TRY_TIMES (Results 1 - 12 of 12) sorted by relevance

/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_rdb_transaction.cpp32 constexpr int32_t MAX_TRY_TIMES = 30; member
80 int maxTryTimes = isUpgrade ? MAX_TRY_TIMES_FOR_UPGRADE : MAX_TRY_TIMES; in PrepareForTransaction()
150 while (curTryTime <= MAX_TRY_TIMES) { in TransactionCommit()
193 while (curTryTime <= MAX_TRY_TIMES) { in TransactionRollback()
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_rdb_transaction.cpp28 constexpr int32_t MAX_TRY_TIMES = 30; member
81 while (curTryTime < MAX_TRY_TIMES) { in BeginTransaction()
107 RINGTONE_ERR_LOG("RdbStore is still in transaction after try %{public}d times, abort.", MAX_TRY_TIMES); in BeginTransaction()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/commonevent/
H A Ddm_common_event_manager.cpp32 constexpr int32_t MAX_TRY_TIMES = 3; member
76 while (counter_ != MAX_TRY_TIMES) { in SubscribeServiceEvent()
82 if (++counter_ == MAX_TRY_TIMES) { in SubscribeServiceEvent()
/foundation/distributedhardware/device_manager/services/service/src/publishcommonevent/
H A Ddm_screen_common_event.cpp40 constexpr int32_t MAX_TRY_TIMES = 3; member
83 while (counter_ != MAX_TRY_TIMES) { in SubscribeScreenCommonEvent()
89 if (++counter_ == MAX_TRY_TIMES) { in SubscribeScreenCommonEvent()
H A Ddm_data_share_common_event.cpp40 constexpr int32_t MAX_TRY_TIMES = 3; member
84 while (counter_ != MAX_TRY_TIMES) { in SubscribeDataShareCommonEvent()
90 if (++counter_ == MAX_TRY_TIMES) { in SubscribeDataShareCommonEvent()
H A Ddm_account_common_event.cpp40 constexpr int32_t MAX_TRY_TIMES = 3; member
83 while (counter_ != MAX_TRY_TIMES) { in SubscribeAccountCommonEvent()
89 if (++counter_ == MAX_TRY_TIMES) { in SubscribeAccountCommonEvent()
H A Ddm_package_common_event.cpp40 constexpr int32_t MAX_TRY_TIMES = 3; member
83 while (counter_ != MAX_TRY_TIMES) { in SubscribePackageCommonEvent()
89 if (++counter_ == MAX_TRY_TIMES) { in SubscribePackageCommonEvent()
H A Ddm_publish_common_event.cpp42 constexpr int32_t MAX_TRY_TIMES = 3; member
85 while (counter_ != MAX_TRY_TIMES) { in SubscribePublishCommonEvent()
91 if (++counter_ == MAX_TRY_TIMES) { in SubscribePublishCommonEvent()
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_rdb_transaction.cpp31 constexpr int32_t MAX_TRY_TIMES = 5; member
87 while (curTryTime < MAX_TRY_TIMES) { in BeginTransaction()
114 LOGE("RdbStore is still in transaction after try %{public}d times, abort.", MAX_TRY_TIMES); in BeginTransaction()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node_autocache.cpp28 constexpr int32_t MAX_TRY_TIMES = 3; member
167 if (tryCacheTimes_ < MAX_TRY_TIMES) { in SetCacheStateByRetrytime()
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dclouddisk_rdb_transaction_mock.cpp31 constexpr int32_t MAX_TRY_TIMES = 5; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_updater_test/
H A Dbms_bundle_updater_test.cpp56 const int32_t MAX_TRY_TIMES = 1000; member
210 for (int32_t i = 0; i < MAX_TRY_TIMES; i++) { in UpdateBundle()

Completed in 7 milliseconds