Home
last modified time | relevance | path

Searched refs:storeConfig (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstorePluginLibsJsunit.test.js23 var storeConfig = { class
58 storeConfig.pluginLibs = [ "", "" ]
59 rdbStore = await data_relationalStore.getRdbStore(context, storeConfig);
75 storeConfig.pluginLibs = [ "./" ]
76 rdbStore = await data_relationalStore.getRdbStore(context, storeConfig);
93 storeConfig.pluginLibs = [ "/data/errPath/err.so" ]
94 rdbStore = await data_relationalStore.getRdbStore(context, storeConfig);
111 storeConfig.pluginLibs = [ "/data/app/el1/bundle/public/" ]
112 rdbStore = await data_relationalStore.getRdbStore(context, storeConfig);
130 storeConfig.pluginLibs = [ String(path) ]
[all …]
H A DRdbstoreRdbstoreJsunit.test.js91 let storeConfig = { class in AnonymousFunction9606c1070100.AnonymousFunction9606c1070800
96 await data_relationalStore.getRdbStore(context, storeConfig)
H A DRdbStoreTransaction.test.js1666 let storeConfig = { class in AnonymousFunctionbde2a6ab0100.AnonymousFunctionbde2a6ab2700
1670 let store = await data_relationalStore.getRdbStore(context, storeConfig);
1672 storeConfig.isReadOnly = true;
1673 let readOnlyStore = await data_relationalStore.getRdbStore(context, storeConfig);
1694 await data_relationalStore.deleteRdbStore(context, storeConfig);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dconnection_pool.cpp75 (const RdbStoreConfig &storeConfig, int &errCode) in HandleDataCorruption() argument
80 int repairErrCode = Connection::Repair(storeConfig); in HandleDataCorruption()
83 } else if (storeConfig.GetAllowRebuild()) { in HandleDataCorruption()
84 Connection::Delete(storeConfig); in HandleDataCorruption()
86 } else if (storeConfig.IsEncrypt() && errCode == E_INVALID_SECRET_KEY) { in HandleDataCorruption()
92 pool = Create(storeConfig, errCode); in HandleDataCorruption()
95 … static_cast<uint32_t>(rebuiltType), SqliteUtils::Anonymous(storeConfig.GetName()).c_str(), in HandleDataCorruption()
96 storeConfig.IsEncrypt(), errCode, errno); in HandleDataCorruption()
98 Reportor::ReportRestore(Reportor::Create(storeConfig, E_OK, "RestoreType:Rebuild"), false); in HandleDataCorruption()
104 ConnPool::ConnectionPool(const RdbStoreConfig &storeConfig) in ConnectionPool() argument
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbstoreRdbstoreJsunit.test.js87 let storeConfig = { class in AnonymousFunctiona2f28d470100.AnonymousFunctiona2f28d470800
91 await dataRdb.getRdbStore(storeConfig, 4);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_dlp_test.cpp50 KvStoreConfig storeConfig; in OpenDelegate() local
51 storeConfig.dataDir = dbPath; in OpenDelegate()
53 mgr.SetKvStoreConfig(storeConfig); in OpenDelegate()
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp78 KvStoreConfig storeConfig; in OpenDelegate() local
79 storeConfig.dataDir = dbPath; in OpenDelegate()
81 mgr.SetKvStoreConfig(storeConfig); in OpenDelegate()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dconnection_pool.h44 (const RdbStoreConfig &storeConfig, int &errCode);
119 explicit ConnectionPool(const RdbStoreConfig &storeConfig);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_stub.cpp502 StoreConfig storeConfig; in OnSetConfig() local
503 if (!ITypesUtil::Unmarshal(data, storeConfig)) { in OnSetConfig()
508 int32_t status = SetConfig(appId, storeId, storeConfig); in OnSetConfig()
H A Dkvdb_service_impl.cpp617 …BServiceImpl::SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) in SetConfig() argument
624 meta.enableCloud = storeConfig.cloudConfig.enableCloud; in SetConfig()
625 meta.cloudAutoSync = storeConfig.cloudConfig.autoSync; in SetConfig()
631 syncMeta.enableCloud = storeConfig.cloudConfig.enableCloud; in SetConfig()
632 syncMeta.cloudAutoSync = storeConfig.cloudConfig.autoSync; in SetConfig()
639 store->SetConfig({ storeConfig.cloudConfig.enableCloud }); in SetConfig()
642 Anonymous::Change(storeId.storeId).c_str(), storeConfig.cloudConfig.enableCloud); in SetConfig()
H A Dkvdb_general_store.h79 void SetConfig(const StoreConfig &storeConfig) override;
H A Dkvdb_service_impl.h72 …Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) overr…
H A Dkvdb_general_store.cpp786 void KVDBGeneralStore::SetConfig(const GeneralStore::StoreConfig &storeConfig) in SetConfig() argument
788 enableCloud_ = storeConfig.enableCloud_; in SetConfig()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dkvdb_service.h76 …l Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) = 0;
H A Dkvdb_service_client.h60 …Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) overr…
H A Dsingle_store_impl.h100 Status SetConfig(const StoreConfig &storeConfig) override;
/ohos5.0/foundation/communication/dsoftbus/core/adapter/kv_store/src/
H A Dlnn_kv_adapter.cpp415 DistributedKv::StoreConfig storeConfig = { in SetCloudAbility() local
425 status = kvStorePtr_->SetConfig(storeConfig); in SetCloudAbility()
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dsingle_kvstore.h330 virtual Status SetConfig(const StoreConfig &storeConfig) in SetConfig() argument
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Derrorcode-data-rdb.md586 ## 14801002 storeConfig中传入的dataGroupId参数非法
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/
H A Dgeneral_store.h184 virtual void SetConfig(const StoreConfig &storeConfig) {}; in SetConfig() argument
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_general_store_test.cpp455 GeneralStore::StoreConfig storeConfig; variable
456 storeConfig.enableCloud_ = true;
457 store->SetConfig(storeConfig);
H A Dkvdb_service_impl_test.cpp165 DistributedKv::StoreConfig storeConfig; variable
166 status = kvdbServiceImpl_->SetConfig(appId, id1, storeConfig);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dkvdb_service_client.cpp416 …erviceClient::SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) in SetConfig() argument
420 …ic_cast<uint32_t>(KVDBServiceInterfaceCode::TRANS_SET_CONFIG), reply, appId, storeId, storeConfig); in SetConfig()
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Derrorcode-data-rdb.md567 ## 14801002 Invalid dataGroupId in storeConfig
583 Obtain **dataGroupId** from the AppGallery and pass it to **storeConfig** correctly.
/ohos5.0/docs/zh-cn/application-dev/database/
H A Ddata-backup-and-restore.md347 let storeConfig: relationalStore.StoreConfig = {

12