Searched refs:DBTypeInner (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | runtime_config.cpp | 146 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 D | kv_store_delegate_manager.cpp | 574 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 D | auto_launch.h | 43 enum class DBTypeInner { enum 62 DBTypeInner type = DBTypeInner::DB_INVALID; 68 …static int GetAutoLaunchProperties(const AutoLaunchParam ¶m, 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 ¶m, DBTypeInner &openType); 200 std::map<DBTypeInner, AutoLaunchRequestCallback> autoLaunchRequestCallbackMap_;
|
H A D | runtime_context.h | 99 …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 D | auto_launch.cpp | 278 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 D | runtime_context_impl.h | 84 …void SetAutoLaunchRequestCallback(const AutoLaunchRequestCallback &callback, DBTypeInner type) ove… 126 void CloseAutoLaunchConnection(DBTypeInner type, const DBProperties &properties) override;
|
H A D | runtime_context_impl.cpp | 463 …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 D | distributeddb_auto_launch_test.cpp | 678 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 D | relational_store_manager.cpp | 234 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 D | distributeddb_data_generator.h | 37 enum DBTypeInner { enum
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 42 …[properties] { RuntimeContext::GetInstance()->CloseAutoLaunchConnection(DBTypeInner::DB_RELATION, … in TriggerCloseAutoLaunchConn()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_relational_ver_p2p_sync_test.cpp | 2907 RuntimeContext::GetInstance()->CloseAutoLaunchConnection(DBTypeInner::DB_RELATION, properties);
|