/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstorePluginLibsJsunit.test.js | 23 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 D | RdbstoreRdbstoreJsunit.test.js | 91 let storeConfig = { class in AnonymousFunction9606c1070100.AnonymousFunction9606c1070800 96 await data_relationalStore.getRdbStore(context, storeConfig)
|
H A D | RdbStoreTransaction.test.js | 1666 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 D | connection_pool.cpp | 75 (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 D | RdbstoreRdbstoreJsunit.test.js | 87 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 D | distributeddb_single_ver_dlp_test.cpp | 50 KvStoreConfig storeConfig; in OpenDelegate() local 51 storeConfig.dataDir = dbPath; in OpenDelegate() 53 mgr.SetKvStoreConfig(storeConfig); in OpenDelegate()
|
H A D | distributeddb_single_ver_multi_sub_user_test.cpp | 78 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 D | connection_pool.h | 44 (const RdbStoreConfig &storeConfig, int &errCode); 119 explicit ConnectionPool(const RdbStoreConfig &storeConfig);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_stub.cpp | 502 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 D | kvdb_service_impl.cpp | 617 …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 D | kvdb_general_store.h | 79 void SetConfig(const StoreConfig &storeConfig) override;
|
H A D | kvdb_service_impl.h | 72 …Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) overr…
|
H A D | kvdb_general_store.cpp | 786 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 D | kvdb_service.h | 76 …l Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) = 0;
|
H A D | kvdb_service_client.h | 60 …Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) overr…
|
H A D | single_store_impl.h | 100 Status SetConfig(const StoreConfig &storeConfig) override;
|
/ohos5.0/foundation/communication/dsoftbus/core/adapter/kv_store/src/ |
H A D | lnn_kv_adapter.cpp | 415 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 D | single_kvstore.h | 330 virtual Status SetConfig(const StoreConfig &storeConfig) in SetConfig() argument
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | errorcode-data-rdb.md | 586 ## 14801002 storeConfig中传入的dataGroupId参数非法
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | general_store.h | 184 virtual void SetConfig(const StoreConfig &storeConfig) {}; in SetConfig() argument
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | kvdb_general_store_test.cpp | 455 GeneralStore::StoreConfig storeConfig; variable 456 storeConfig.enableCloud_ = true; 457 store->SetConfig(storeConfig);
|
H A D | kvdb_service_impl_test.cpp | 165 DistributedKv::StoreConfig storeConfig; variable 166 status = kvdbServiceImpl_->SetConfig(appId, id1, storeConfig);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | kvdb_service_client.cpp | 416 …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 D | errorcode-data-rdb.md | 567 ## 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 D | data-backup-and-restore.md | 347 let storeConfig: relationalStore.StoreConfig = {
|