Home
last modified time | relevance | path

Searched refs:DBTypeInner (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Druntime_config.cpp146 DBTypeInner innerType = DBTypeInner::DB_INVALID; in SetAutoLaunchRequestCallback()
148 innerType = DBTypeInner::DB_KV; in SetAutoLaunchRequestCallback()
150 innerType = DBTypeInner::DB_RELATION; in SetAutoLaunchRequestCallback()
173 DBTypeInner innerType = (type == DBType::DB_KV ? DBTypeInner::DB_KV : DBTypeInner::DB_RELATION); in ReleaseAutoLaunch()
H A Dkv_store_delegate_manager.cpp574 int errCode = AutoLaunch::GetAutoLaunchProperties(param, DBTypeInner::DB_KV, true, ptr); in EnableKvStoreAutoLaunch()
611 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(callback, DBTypeInner::DB_KV); in SetAutoLaunchRequestCallback()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dauto_launch.h43 enum class DBTypeInner { enum
62 DBTypeInner type = DBTypeInner::DB_INVALID;
68 …static int GetAutoLaunchProperties(const AutoLaunchParam &param, const DBTypeInner &openType, bool…
87 void SetAutoLaunchRequestCallback(const AutoLaunchRequestCallback &callback, DBTypeInner type);
91 void CloseConnection(DBTypeInner type, const DBProperties &properties);
163 …aunchRequestCallBack(const std::string &identifier, AutoLaunchParam &param, DBTypeInner &openType);
200 std::map<DBTypeInner, AutoLaunchRequestCallback> autoLaunchRequestCallbackMap_;
H A Druntime_context.h99 …void SetAutoLaunchRequestCallback(const AutoLaunchRequestCallback &callback, DBTypeInner type) = 0;
141 virtual void CloseAutoLaunchConnection(DBTypeInner type, const DBProperties &properties) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dauto_launch.cpp278 case DBTypeInner::DB_KV: in TryCloseConnection()
281 case DBTypeInner::DB_RELATION: in TryCloseConnection()
323 case DBTypeInner::DB_RELATION: in RegisterObserver()
325 case DBTypeInner::DB_KV: in RegisterObserver()
518 case DBTypeInner::DB_KV: in OpenOneConnection()
521 case DBTypeInner::DB_RELATION: in OpenOneConnection()
755 DBTypeInner openType = DBTypeInner::DB_INVALID; in AutoLaunchExt()
978 case DBTypeInner::DB_KV: { in GetAutoLaunchProperties()
1058 DBTypeInner &openType) in ExtAutoLaunchRequestCallBack()
1132 case DBTypeInner::DB_KV: in RegisterLifeCycleCallback()
[all …]
H A Druntime_context_impl.h84 …void SetAutoLaunchRequestCallback(const AutoLaunchRequestCallback &callback, DBTypeInner type) ove…
126 void CloseAutoLaunchConnection(DBTypeInner type, const DBProperties &properties) override;
H A Druntime_context_impl.cpp463 …textImpl::SetAutoLaunchRequestCallback(const AutoLaunchRequestCallback &callback, DBTypeInner type) in SetAutoLaunchRequestCallback()
743 void RuntimeContextImpl::CloseAutoLaunchConnection(DBTypeInner type, const DBProperties &properties) in CloseAutoLaunchConnection()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_auto_launch_test.cpp678 DBTypeInner::DB_KV);
721 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(nullptr, DBTypeInner::DB_KV);
742 DBTypeInner::DB_KV);
760 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(nullptr, DBTypeInner::DB_KV);
778 …ntext::GetInstance()->SetAutoLaunchRequestCallback(AutoLaunchCallBackBadParam, DBTypeInner::DB_KV);
801 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(nullptr, DBTypeInner::DB_KV);
822 DBTypeInner::DB_KV);
824 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(nullptr, DBTypeInner::DB_KV);
841 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(nullptr, DBTypeInner::DB_KV);
962 DBTypeInner::DB_KV);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_manager.cpp234 RuntimeContext::GetInstance()->SetAutoLaunchRequestCallback(callback, DBTypeInner::DB_RELATION); in SetAutoLaunchRequestCallback()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributeddb_data_generator.h37 enum DBTypeInner { enum
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp42 …[properties] { RuntimeContext::GetInstance()->CloseAutoLaunchConnection(DBTypeInner::DB_RELATION, … in TriggerCloseAutoLaunchConn()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp2907 RuntimeContext::GetInstance()->CloseAutoLaunchConnection(DBTypeInner::DB_RELATION, properties);