Home
last modified time | relevance | path

Searched refs:storeConfig (Results 1 - 23 of 23) sorted by relevance

/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstorePluginLibsJsunit.test.js23 var storeConfig = {
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
[all...]
H A DRdbstoreRdbstoreJsunit.test.js91 let storeConfig = {
96 await data_relationalStore.getRdbStore(context, storeConfig)
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dconnection_pool.cpp76 const RdbStoreConfig &storeConfig, int &errCode) in HandleDataCorruption()
81 errCode = Connection::Repair(storeConfig); in HandleDataCorruption()
85 Connection::Delete(storeConfig); in HandleDataCorruption()
88 pool = Create(storeConfig, errCode); in HandleDataCorruption()
91 static_cast<uint32_t>(rebuiltType), SqliteUtils::Anonymous(storeConfig.GetName()).c_str(), in HandleDataCorruption()
92 storeConfig.IsEncrypt(), errCode, errno); in HandleDataCorruption()
94 Reportor::ReportRestore(Reportor::Create(storeConfig, E_OK, "RestoreType:Rebuild"), false); in HandleDataCorruption()
100 ConnPool::ConnectionPool(const RdbStoreConfig &storeConfig) in ConnectionPool() argument
101 : config_(storeConfig), attachConfig_(storeConfig), writers in ConnectionPool()
75 HandleDataCorruption( const RdbStoreConfig &storeConfig, int &errCode) HandleDataCorruption() argument
[all...]
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbstoreRdbstoreJsunit.test.js87 let storeConfig = {
91 await dataRdb.getRdbStore(storeConfig, 4);
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dconnection_pool.h44 (const RdbStoreConfig &storeConfig, int &errCode);
121 explicit ConnectionPool(const RdbStoreConfig &storeConfig);
/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()
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dsingle_kvstore.h330 virtual Status SetConfig(const StoreConfig &storeConfig) in SetConfig() argument
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dkvdb_service_client.h60 Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) override;
H A Dkvdb_service.h76 virtual Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) = 0;
H A Dsingle_store_impl.h100 Status SetConfig(const StoreConfig &storeConfig) override;
/foundation/communication/dsoftbus/core/adapter/kv_store/src/
H A Dlnn_kv_adapter.cpp424 DistributedKv::StoreConfig storeConfig = { in SetCloudAbility() local
434 status = kvStorePtr_->SetConfig(storeConfig); in SetCloudAbility()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/
H A Dgeneral_store.h181 virtual void SetConfig(const StoreConfig &storeConfig) {}; in SetConfig() argument
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.cpp611 Status KVDBServiceImpl::SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) in SetConfig() argument
618 meta.enableCloud = storeConfig.cloudConfig.enableCloud; in SetConfig()
619 meta.cloudAutoSync = storeConfig.cloudConfig.autoSync; in SetConfig()
625 syncMeta.enableCloud = storeConfig.cloudConfig.enableCloud; in SetConfig()
626 syncMeta.cloudAutoSync = storeConfig.cloudConfig.autoSync; in SetConfig()
633 store->SetConfig({ storeConfig.cloudConfig.enableCloud }); in SetConfig()
636 Anonymous::Change(storeId.storeId).c_str(), storeConfig.cloudConfig.enableCloud); in SetConfig()
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.h71 Status SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) override;
H A Dkvdb_general_store.h77 void SetConfig(const StoreConfig &storeConfig) override;
H A Dkvdb_general_store.cpp778 void KVDBGeneralStore::SetConfig(const GeneralStore::StoreConfig &storeConfig)
780 enableCloud_ = storeConfig.enableCloud_;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_general_store_test.cpp453 GeneralStore::StoreConfig storeConfig; in HWTEST_F() local
454 storeConfig.enableCloud_ = true; in HWTEST_F()
455 store->SetConfig(storeConfig); in HWTEST_F()
H A Dkvdb_service_impl_test.cpp167 DistributedKv::StoreConfig storeConfig; in HWTEST_F() local
168 status = kvdbServiceImpl_->SetConfig(appId, id1, storeConfig); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dkvdb_service_client.cpp416 Status KVDBServiceClient::SetConfig(const AppId &appId, const StoreId &storeId, const StoreConfig &storeConfig) in SetConfig() argument
420 static_cast<uint32_t>(KVDBServiceInterfaceCode::TRANS_SET_CONFIG), reply, appId, storeId, storeConfig); in SetConfig()
H A Dsingle_store_impl.cpp978 Status SingleStoreImpl::SetConfig(const StoreConfig &storeConfig)
984 return service->SetConfig({ appId_ }, { storeId_ }, storeConfig);
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsingle_store_impl_test.cpp1794 StoreConfig storeConfig; in HWTEST_F() local
1795 storeConfig.cloudConfig.enableCloud = true; in HWTEST_F()
1796 ASSERT_EQ(kvStore->SetConfig(storeConfig), Status::SUCCESS); in HWTEST_F()

Completed in 22 milliseconds