/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/src/ |
H A D | bootstrap.cpp | 15 #define LOG_TAG "Bootstrap" 30 Bootstrap &Bootstrap::GetInstance() in GetInstance() 32 static Bootstrap bootstrap; in GetInstance() 36 std::string Bootstrap::GetProcessLabel() in GetProcessLabel() 45 std::string Bootstrap::GetMetaDBName() in GetMetaDBName() 54 void Bootstrap::LoadComponents() in LoadComponents() 84 void Bootstrap::LoadCheckers() in LoadCheckers() 128 void Bootstrap::LoadBackup(std::shared_ptr<ExecutorPool> executors) in LoadBackup() 143 void Bootstrap [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/kvdbservicestub_fuzzer/ |
H A D | kvdbservicestub_fuzzer.cpp | 43 Bootstrap::GetInstance().LoadComponents(); in OnRemoteRequestFuzz() 44 Bootstrap::GetInstance().LoadDirectory(); in OnRemoteRequestFuzz() 45 Bootstrap::GetInstance().LoadCheckers(); in OnRemoteRequestFuzz() 46 Bootstrap::GetInstance().LoadNetworks(); in OnRemoteRequestFuzz()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | checker_manager_test.cpp | 77 Bootstrap::GetInstance().LoadComponents(); in SetUp() 78 Bootstrap::GetInstance().LoadDirectory(); in SetUp() 79 Bootstrap::GetInstance().LoadCheckers(); in SetUp() 80 Bootstrap::GetInstance().LoadNetworks(); in SetUp()
|
H A D | meta_data_test.cpp | 48 Bootstrap::GetInstance().LoadDirectory();
in SetUpTestCase() 49 Bootstrap::GetInstance().LoadCheckers();
in SetUpTestCase()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/include/ |
H A D | bootstrap.h | 23 class Bootstrap { class 25 API_EXPORT static Bootstrap &GetInstance();
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/store/ |
H A D | store_account_observer.cpp | 35 metaData.bundleName = DistributedData::Bootstrap::GetInstance().GetProcessLabel(); in OnAccountChanged() 36 metaData.appId = DistributedData::Bootstrap::GetInstance().GetProcessLabel(); in OnAccountChanged()
|
H A D | runtime_store.cpp | 458 metaData.bundleName = DistributedData::Bootstrap::GetInstance().GetProcessLabel();
in BuildMetaDataParam() 459 metaData.appId = DistributedData::Bootstrap::GetInstance().GetProcessLabel();
in BuildMetaDataParam()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/unittest/ |
H A D | session_manager_test.cpp | 66 Bootstrap::GetInstance().LoadComponents();
in SetUpTestCase() 67 Bootstrap::GetInstance().LoadDirectory();
in SetUpTestCase() 68 Bootstrap::GetInstance().LoadCheckers();
in SetUpTestCase()
|
H A D | kvstore_data_service_clear_test.cpp | 74 DistributedData::Bootstrap::GetInstance().LoadDirectory();
in SetUp() 75 DistributedData::Bootstrap::GetInstance().LoadCheckers();
in SetUp()
|
H A D | kvstore_data_service_test.cpp | 63 Bootstrap::GetInstance().LoadComponents(); in HWTEST_F() 64 Bootstrap::GetInstance().LoadCheckers(); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | meta_data_test.cpp | 95 DistributedData::Bootstrap::GetInstance().LoadComponents(); in SetUpTestCase() 96 DistributedData::Bootstrap::GetInstance().LoadDirectory(); in SetUpTestCase() 97 DistributedData::Bootstrap::GetInstance().LoadCheckers(); in SetUpTestCase()
|
H A D | udmf_run_time_store_test.cpp | 73 DistributedData::Bootstrap::GetInstance().LoadComponents(); in SetUpTestCase() 74 DistributedData::Bootstrap::GetInstance().LoadDirectory(); in SetUpTestCase() 75 DistributedData::Bootstrap::GetInstance().LoadCheckers(); in SetUpTestCase()
|
H A D | directory_manager_test.cpp | 76 Bootstrap::GetInstance().LoadDirectory(); in SetUp()
|
H A D | kvdb_service_impl_test.cpp | 605 Bootstrap::GetInstance().LoadDirectory(); in HWTEST_F() 606 Bootstrap::GetInstance().LoadCheckers(); in HWTEST_F()
|
H A D | device_matrix_test.cpp | 91 Bootstrap::GetInstance().LoadCheckers(); in SetUpTestCase()
|
H A D | water_version_manager_test.cpp | 94 Bootstrap::GetInstance().LoadCheckers(); in SetUpTestCase()
|
H A D | kvdb_service_test.cpp | 79 Bootstrap::GetInstance().LoadDirectory();
in SetUp()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | kvstore_meta_manager.cpp | 64 label_(Bootstrap::GetInstance().GetProcessLabel()), in KvStoreMetaManager() 65 delegateManager_(Bootstrap::GetInstance().GetProcessLabel(), "default") in KvStoreMetaManager() 104 auto pipe = Bootstrap::GetInstance().GetProcessLabel() + "-" + "default"; in InitBroadcast() 155 data.storeId = Bootstrap::GetInstance().GetMetaDBName(); in InitMetaData() 279 delegateManager_.GetKvStore(Bootstrap::GetInstance().GetMetaDBName(), option, in CreateMetaKvStore() 288 delegateManager_.GetKvStore(Bootstrap::GetInstance().GetMetaDBName(), option, in CreateMetaKvStore() 354 auto bundleName = Bootstrap::GetInstance().GetProcessLabel(); in CloudSyncTask() 355 auto storeName = Bootstrap::GetInstance().GetMetaDBName(); in CloudSyncTask() 442 Crypto::Sha256(label_ + "_" + Bootstrap::GetInstance().GetMetaDBName()));
|
H A D | kvstore_data_service.cpp | 115 KvStoreDelegateManager::SetProcessLabel(Bootstrap::GetInstance().GetProcessLabel(), "default"); in Initialize() 277 ZLOGI("Bootstrap configs and plugins."); in OnStart() 309 Bootstrap::GetInstance().LoadComponents(); in LoadConfigs() 310 Bootstrap::GetInstance().LoadDirectory(); in LoadConfigs() 311 Bootstrap::GetInstance().LoadCheckers(); in LoadConfigs() 312 Bootstrap::GetInstance().LoadNetworks(); in LoadConfigs() 313 Bootstrap::GetInstance().LoadBackup(executors_); in LoadConfigs() 314 Bootstrap::GetInstance().LoadCloud(); in LoadConfigs() 315 Bootstrap::GetInstance().LoadAppIdMappings(); in LoadConfigs() 348 DeviceMatrix::GetInstance().Initialize(IPCSkeleton::GetCallingTokenID(), Bootstrap in StartService() [all...] |
H A D | feature_stub_impl.cpp | 43 featureImpl_->OnBind({ Bootstrap::GetInstance().GetProcessLabel(), in OnInitialize()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_service_impl.cpp | 146 saveMeta.bundleName = DistributedData::Bootstrap::GetInstance().GetProcessLabel(); in OnInitialize() 147 saveMeta.appId = DistributedData::Bootstrap::GetInstance().GetProcessLabel(); in OnInitialize() 320 if (storeMeta.bundleName == DistributedData::Bootstrap::GetInstance().GetProcessLabel()) { in ResolveAutoLaunch()
|
H A D | object_manager.cpp | 300 std::string appId = DistributedData::Bootstrap::GetInstance().GetProcessLabel();
in Clear() 703 new DistributedDB::KvStoreDelegateManager(DistributedData::Bootstrap::GetInstance().GetProcessLabel(), userId);
in SetData() 1074 std::string appId = DistributedData::Bootstrap::GetInstance().GetProcessLabel();
in SaveUserToMeta()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/ |
H A D | auto_sync_matrix.cpp | 93 if (meta.bundleName == Bootstrap::GetInstance().GetProcessLabel()) { in IsAutoSync()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/ |
H A D | route_head_handler_impl.cpp | 77 if (appId_ == Bootstrap::GetInstance().GetProcessLabel()) {
in GetHeadDataSize()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_general_store.cpp | 148 if (data.appId == Bootstrap::GetInstance().GetProcessLabel()) { in GetDBOption() 161 : manager_(meta.appId, meta.appId == Bootstrap::GetInstance().GetProcessLabel() ? defaultAccountId : meta.user, in KVDBGeneralStore()
|