Home
last modified time | relevance | path

Searched refs:currentVersion (Results 1 - 25 of 36) sorted by relevance

12

/base/customization/enterprise_device_management/services/edm/src/database/
H A Dedm_rdb_open_callback.cpp30 int32_t EdmRdbOpenCallback::OnUpgrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnUpgrade() argument
32 EDMLOGD("EdmRdbOpenCallback OnUpgrade : database upgrade. currentVersion = %{public}d, newVersion = %{public}d", in OnUpgrade()
33 currentVersion, targetVersion); in OnUpgrade()
34 if (currentVersion < EDM_RDB_VERSION_TWO && targetVersion >= EDM_RDB_VERSION_TWO) { in OnUpgrade()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/rdb/src/
H A Dcm_rdb_open_callback.cpp33 int32_t CmRdbOpenCallback::OnUpgrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnUpgrade() argument
39 int32_t CmRdbOpenCallback::OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnDowngrade() argument
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/rdb/include/
H A Dcm_rdb_open_callback.h30 int32_t OnUpgrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
31 int32_t OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/telephony/telephony_data/sms_mms/src/
H A Drdb_sms_mms_callback.cpp46 int RdbSmsMmsCallback::OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnDowngrade() argument
49 "Data_Storage RdbSmsMmsCallback::OnDowngrade##currentVersion " in OnDowngrade()
51 currentVersion, targetVersion); in OnDowngrade()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmsdatabaseonupgrade_fuzzer/
H A Dpmsdatabaseonupgrade_fuzzer.cpp35 int32_t currentVersion = static_cast<int32_t>(size); in PmsDatabaseOnUpgradeFuzzTest() local
37 callBack.OnUpgrade(*(rdbStore.get()), currentVersion, targetVersion); in PmsDatabaseOnUpgradeFuzzTest()
/base/telephony/telephony_data/sim/src/
H A Drdb_sim_callback.cpp53 int RdbSimCallback::OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnDowngrade() argument
56 "Data_Storage RdbSimCallback::OnDowngrade##currentVersion = " in OnDowngrade()
58 currentVersion, targetVersion); in OnDowngrade()
/base/customization/enterprise_device_management/services/edm/include/database/
H A Dedm_rdb_open_callback.h28 int OnUpgrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/update/sys_installer_lite/frameworks/source/updater/
H A Dhota_updater.c163 static bool IsLatestVersion(const char *pkgVersion, const char *currentVersion) in IsLatestVersion() argument
173 ret += strcpy_s(currentVerCopy, PKG_VERSION_LENGTH, currentVersion); in IsLatestVersion()
199 if (isLatest && strncmp(currentVersion, pkgVersion, PKG_VERSION_LENGTH) == EOK) { in IsLatestVersion()
204 isLatest = HotaHalCheckVersionValid(currentVersion, pkgVersion, PKG_VERSION_LENGTH) ? true : false; in IsLatestVersion()
215 const char *currentVersion = GetIncrementalVersion(); in CheckPkgVersionValid() local
216 if (currentVersion == NULL) { in CheckPkgVersionValid()
220 if (!IsLatestVersion(pkgVersion, currentVersion)) { in CheckPkgVersionValid()
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/include/database/
H A Dsandbox_manager_rdb_open_callback.h45 int32_t OnUpgrade(NativeRdb::RdbStore &rdbStore, int32_t currentVersion, int32_t targetVersion) override;
/base/telephony/telephony_data/pdp_profile/include/
H A Drdb_pdp_profile_callback.h34 int OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/update/sys_installer_lite/hals/
H A Dhal_hota_board.h255 * @return Returns <b>1</b> if pkgVersion is valid compared to currentVersion; returns <b>0</b> otherwise.
260 int HotaHalCheckVersionValid(const char *currentVersion, const char *pkgVersion, unsigned int pkgVersionLength);
/base/telephony/telephony_data/sim/include/
H A Drdb_sim_callback.h34 int OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/telephony/telephony_data/sms_mms/include/
H A Drdb_sms_mms_callback.h34 int OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/telephony/telephony_data/opkey/src/
H A Drdb_opkey_callback.cpp39 int RdbOpKeyCallback::OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnDowngrade() argument
42 "Data_Storage RdbOpKeyCallback::OnDowngrade##currentVersion = " in OnDowngrade()
44 currentVersion, targetVersion); in OnDowngrade()
/base/telephony/telephony_data/pdp_profile/src/
H A Drdb_pdp_profile_callback.cpp60 int RdbPdpProfileCallback::OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnDowngrade() argument
63 "RdbPdpProfileCallback::OnDowngrade##currentVersion = %d, " in OnDowngrade()
65 currentVersion, targetVersion); in OnDowngrade()
/base/telephony/telephony_data/opkey/include/
H A Drdb_opkey_callback.h35 int OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/telephony/telephony_data/global_params/include/
H A Drdb_global_params_callback.h34 int OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/
H A Daccess_token_open_callback.h50 int32_t OnUpgrade(NativeRdb::RdbStore& rdbStore, int32_t currentVersion, int32_t targetVersion) override;
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/
H A Dohos_web_data_base_adapter_impl.h35 int32_t OnUpgrade(OHOS::NativeRdb::RdbStore& rdbStore, int32_t currentVersion, int32_t targetVersion) override;
H A Dohos_web_permission_data_base_adapter_impl.h35 int32_t OnUpgrade(OHOS::NativeRdb::RdbStore& rdbStore, int32_t currentVersion, int32_t targetVersion) override;
/base/telephony/telephony_data/global_params/src/
H A Drdb_global_params_callback.cpp40 int RdbGlobalParamsCallback::OnDowngrade(NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) in OnDowngrade() argument
43 "RdbGlobalParamsCallback::OnDowngrade##currentVersion = %d, " in OnDowngrade()
45 currentVersion, targetVersion); in OnDowngrade()
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/database/
H A Dsandbox_manager_rdb_open_callback.cpp57 NativeRdb::RdbStore &rdbStore, int32_t currentVersion, int32_t targetVersion) { return NativeRdb::E_OK; } in OnUpgrade()
56 OnUpgrade( NativeRdb::RdbStore &rdbStore, int32_t currentVersion, int32_t targetVersion) OnUpgrade() argument
/base/time/time_service/services/timer/include/
H A Dtimer_database.h61 int OnDowngrade(OHOS::NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/request/request/services/include/
H A Dc_request_database.h148 int OnDowngrade(OHOS::NativeRdb::RdbStore &rdbStore, int currentVersion, int targetVersion) override;
/base/usb/usb_manager/services/native/include/
H A Dusb_right_database.h83 int32_t OnDowngrade(OHOS::NativeRdb::RdbStore &rdbStore, int32_t currentVersion, int32_t targetVersion) override;

Completed in 9 milliseconds

12