/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | kvdb_service_client.h | 33 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) override; 37 Status Delete(const AppId &appId, const StoreId &storeId) override; 38 Status Close(const AppId &appId, const StoreId &storeId) override; 39 Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) override; 41 Status UnregServiceNotifier(const AppId &appIdd) override; 44 Status EnableCapability(const AppId &appId, const StoreId &storeId) override; 45 Status DisableCapability(const AppId &appId, const StoreId &storeId) override; 56 Status PutSwitch(const AppId &appId, const SwitchData &data) override; 58 Status SubscribeSwitchData(const AppId &appId) override; 59 Status UnsubscribeSwitchData(const AppId &appId) override; [all …]
|
H A D | kvdb_service.h | 49 virtual Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) = 0; 53 virtual Status Delete(const AppId &appId, const StoreId &storeId) = 0; 54 virtual Status Close(const AppId &appId, const StoreId &storeId) = 0; 55 virtual Status Sync(const AppId &appId, const StoreId &storeId, SyncInfo &syncInfo) = 0; 56 virtual Status RegServiceNotifier(const AppId &appId, sptr<IKVDBNotifier> notifier) = 0; 57 virtual Status UnregServiceNotifier(const AppId &appId) = 0; 60 virtual Status EnableCapability(const AppId &appId, const StoreId &storeId) = 0; 61 virtual Status DisableCapability(const AppId &appId, const StoreId &storeId) = 0; 72 virtual Status PutSwitch(const AppId &appId, const SwitchData &data) = 0; 74 virtual Status SubscribeSwitchData(const AppId &appId) = 0; [all …]
|
H A D | store_manager.h | 22 …std::shared_ptr<SingleKvStore> GetKVStore(const AppId &appId, const StoreId &storeId, const Option… 24 Status CloseKVStore(const AppId &appId, const StoreId &storeId); 25 Status CloseAllKVStore(const AppId &appId); 26 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds); 27 Status Delete(const AppId &appId, const StoreId &storeId, const std::string &path); 28 Status PutSwitch(const AppId &appId, const SwitchData &data); 29 std::pair<Status, SwitchData> GetSwitch(const AppId &appId, const std::string &networkId); 30 Status SubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> observer); 31 Status UnsubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> observer); 34 …Status GetSecretKeyFromService(const AppId &appId, const StoreId &storeId, const std::string &path…
|
H A D | store_factory.h | 28 …std::shared_ptr<SingleKvStore> GetOrOpenStore(const AppId &appId, const StoreId &storeId, const Op… 30 Status Delete(const AppId &appId, const StoreId &storeId, const std::string &path); 31 Status Close(const AppId &appId, const StoreId &storeId, bool isForce = false); 45 std::shared_ptr<DBManager> GetDBManager(const std::string &path, const AppId &appId);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_stub.h | 31 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply); 32 …int32_t OnGetStoreIds(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParc… 35 …int32_t OnDelete(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &r… 36 …int32_t OnClose(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &re… 37 …int32_t OnSync(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &rep… 38 …int32_t OnCloudSync(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel… 40 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply); 42 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply); 45 …int32_t OnEnableCap(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel… 56 int32_t OnSubscribeSwitchData(const AppId &appId, const StoreId &storeId, MessageParcel &data, [all …]
|
H A D | kvdb_service_impl.h | 49 Status Delete(const AppId &appId, const StoreId &storeId) override; 50 Status Close(const AppId &appId, const StoreId &storeId) override; 54 Status UnregServiceNotifier(const AppId &appId) override; 57 Status EnableCapability(const AppId &appId, const StoreId &storeId) override; 68 Status PutSwitch(const AppId &appId, const SwitchData &data) override; 70 Status SubscribeSwitchData(const AppId &appId) override; 71 Status UnsubscribeSwitchData(const AppId &appId) override; 102 AppId appId_; 106 void ReInit(pid_t pid, const AppId &appId); 120 StrategyMeta GetStrategyMeta(const AppId &appId, const StoreId &storeId); [all …]
|
H A D | kvdb_service_stub.cpp | 91 AppId appId; in GetStoreInfo() 118 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnGetStoreIds() 130 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnBeforeCreate() 148 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnAfterCreate() 207 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnCloudSync() 225 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnNotifyDataChange() 243 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnRegServiceNotifier() 262 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnUnregServiceNotifier() 274 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnSetSyncParam() 292 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnGetSyncParam() [all …]
|
H A D | kvdb_service_impl.cpp | 163 Status KVDBServiceImpl::GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) in GetStoreIds() 181 Status KVDBServiceImpl::Delete(const AppId &appId, const StoreId &storeId) in Delete() 213 Status KVDBServiceImpl::Close(const AppId &appId, const StoreId &storeId) in Close() 295 Status KVDBServiceImpl::PutSwitch(const AppId &appId, const SwitchData &data) in PutSwitch() 356 Status KVDBServiceImpl::UnregServiceNotifier(const AppId &appId) in UnregServiceNotifier() 370 Status KVDBServiceImpl::SubscribeSwitchData(const AppId &appId) in SubscribeSwitchData() 409 Status KVDBServiceImpl::UnsubscribeSwitchData(const AppId &appId) in UnsubscribeSwitchData() 487 Status KVDBServiceImpl::EnableCapability(const AppId &appId, const StoreId &storeId) in EnableCapability() 511 Status KVDBServiceImpl::SetCapability(const AppId &appId, const StoreId &storeId, in SetCapability() 922 int32_t KVDBServiceImpl::GetInstIndex(uint32_t tokenId, const AppId &appId) in GetInstIndex() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/ |
H A D | kvdb_service.h | 38 virtual Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) = 0; 39 …virtual Status BeforeCreate(const AppId &appId, const StoreId &storeId, const Options &options) = … 42 virtual Status Delete(const AppId &appId, const StoreId &storeId) = 0; 43 virtual Status Sync(const AppId &appId, const StoreId &storeId, const SyncInfo &syncInfo) = 0; 44 virtual Status UnregisterSyncCallback(const AppId &appId) = 0; 45 …virtual Status SetSyncParam(const AppId &appId, const StoreId &storeId, const KvSyncParam &syncPar… 46 …virtual Status GetSyncParam(const AppId &appId, const StoreId &storeId, KvSyncParam &syncParam) = … 47 virtual Status EnableCapability(const AppId &appId, const StoreId &storeId) = 0; 48 virtual Status DisableCapability(const AppId &appId, const StoreId &storeId) = 0; 51 …virtual Status AddSubscribeInfo(const AppId &appId, const StoreId &storeId, const SyncInfo &syncIn… [all …]
|
H A D | store_manager.h | 22 …std::shared_ptr<SingleKvStore> GetKVStore(const AppId &appId, const StoreId &storeId, const Option… 24 Status CloseKVStore(const AppId &appId, const StoreId &storeId); 25 Status CloseKVStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore); 26 Status CloseAllKVStore(const AppId &appId); 27 Status GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds); 28 Status Delete(const AppId &appId, const StoreId &storeId, const std::string &path);
|
H A D | store_factory.h | 27 …std::shared_ptr<SingleKvStore> GetOrOpenStore(const AppId &appId, const StoreId &storeId, const Op… 29 Status Delete(const AppId &appId, const StoreId &storeId, const std::string &path); 30 Status Close(const AppId &appId, const StoreId &storeId, bool isForce = false); 39 std::shared_ptr<DBManager> GetDBManager(const std::string &path, const AppId &appId);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | distributed_kv_data_manager.h | 62 …API_EXPORT Status GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &stor… 73 API_EXPORT Status GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds); 89 API_EXPORT Status CloseKvStore(const AppId &appId, const StoreId &storeId); 105 API_EXPORT Status CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore); 113 API_EXPORT Status CloseAllKvStore(const AppId &appId); 128 …API_EXPORT Status DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &pat… 139 API_EXPORT Status DeleteAllKvStore(const AppId &appId, const std::string &path = ""); 173 API_EXPORT Status PutSwitch(const AppId &appId, const SwitchData &data); 182 …API_EXPORT std::pair<Status, SwitchData> GetSwitch(const AppId &appId, const std::string &networkI… 195 …API_EXPORT Status SubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> observe… [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | kvdb_service_client.cpp | 106 Status KVDBServiceClient::GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) in GetStoreIds() 143 Status KVDBServiceClient::Delete(const AppId &appId, const StoreId &storeId) in Delete() 155 Status KVDBServiceClient::Close(const AppId &appId, const StoreId &storeId) in Close() 215 Status KVDBServiceClient::UnregServiceNotifier(const AppId &appId) in UnregServiceNotifier() 252 Status KVDBServiceClient::EnableCapability(const AppId &appId, const StoreId &storeId) in EnableCapability() 264 Status KVDBServiceClient::DisableCapability(const AppId &appId, const StoreId &storeId) in DisableCapability() 276 Status KVDBServiceClient::SetCapability(const AppId &appId, const StoreId &storeId, in SetCapability() 355 sptr<KVDBNotifierClient> KVDBServiceClient::GetServiceAgent(const AppId &appId) in GetServiceAgent() 370 Status KVDBServiceClient::PutSwitch(const AppId &appId, const SwitchData &data) in PutSwitch() 394 Status KVDBServiceClient::SubscribeSwitchData(const AppId &appId) in SubscribeSwitchData() [all …]
|
H A D | store_manager.cpp | 32 std::shared_ptr<SingleKvStore> StoreManager::GetKVStore(const AppId &appId, const StoreId &storeId, in GetKVStore() 83 Status StoreManager::GetSecretKeyFromService(const AppId &appId, const StoreId &storeId, const std:… in GetSecretKeyFromService() 111 Status StoreManager::CloseKVStore(const AppId &appId, const StoreId &storeId) in CloseKVStore() 121 Status StoreManager::CloseAllKVStore(const AppId &appId) in CloseAllKVStore() 131 Status StoreManager::GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) in GetStoreIds() 145 Status StoreManager::Delete(const AppId &appId, const StoreId &storeId, const std::string &path) in Delete() 162 Status StoreManager::PutSwitch(const AppId &appId, const SwitchData &data) in PutSwitch() 175 std::pair<Status, SwitchData> StoreManager::GetSwitch(const AppId &appId, const std::string &networ… in GetSwitch() 190 Status StoreManager::SubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> obser… in SubscribeSwitchData() 212 Status StoreManager::UnsubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObserver> obs… in UnsubscribeSwitchData()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/distributeddatafwk/include/ |
H A D | distributed_kv_data_manager.h | 49 …API_EXPORT Status GetSingleKvStore(const Options &options, const AppId &appId, const StoreId &stor… 53 API_EXPORT Status GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds); 65 API_EXPORT Status CloseKvStore(const AppId &appId, const StoreId &storeId); 78 API_EXPORT Status CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore); 82 API_EXPORT Status CloseAllKvStore(const AppId &appId); 92 …API_EXPORT Status DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &pat… 95 API_EXPORT Status DeleteAllKvStore(const AppId &appId, const std::string &path = "");
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 44 Status DistributedKvDataManager::GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds) in GetAllKvStoreId() 53 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 63 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() 80 Status DistributedKvDataManager::CloseAllKvStore(const AppId &appId) in CloseAllKvStore() 87 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore() 96 Status DistributedKvDataManager::DeleteAllKvStore(const AppId &appId, const std::string &path) in DeleteAllKvStore()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | distributed_kv_data_manager.cpp | 43 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 74 Status DistributedKvDataManager::GetAllKvStoreId(const AppId &appId, std::vector<StoreId> &storeIds) in GetAllKvStoreId() 82 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 96 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() 112 Status DistributedKvDataManager::CloseAllKvStore(const AppId &appId) in CloseAllKvStore() 121 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore() 138 Status DistributedKvDataManager::DeleteAllKvStore(const AppId &appId, const std::string &path) in DeleteAllKvStore() 243 Status DistributedKvDataManager::PutSwitch(const AppId &appId, const SwitchData &data) in PutSwitch() 248 std::pair<Status, SwitchData> DistributedKvDataManager::GetSwitch(const AppId &appId, const std::st… in GetSwitch() 253 Status DistributedKvDataManager::SubscribeSwitchData(const AppId &appId, std::shared_ptr<KvStoreObs… in SubscribeSwitchData() [all …]
|
H A D | kvstore_service_death_notifier.h | 34 static void SetAppId(const AppId &appId); 35 static AppId GetAppId(); 59 AppId appId_;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_manager.cpp | 28 std::shared_ptr<SingleKvStore> StoreManager::GetKVStore(const AppId &appId, const StoreId &storeId, in GetKVStore() 49 Status StoreManager::CloseKVStore(const AppId &appId, const StoreId &storeId) in CloseKVStore() 59 Status StoreManager::CloseKVStore(const AppId &appId, std::shared_ptr<SingleKvStore> &kvStore) in CloseKVStore() 70 Status StoreManager::CloseAllKVStore(const AppId &appId) in CloseAllKVStore() 80 Status StoreManager::Delete(const AppId &appId, const StoreId &storeId, const std::string &path) in Delete() 91 Status StoreManager::GetStoreIds(const AppId &appId, std::vector<StoreId> &storeIds) in GetStoreIds()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 38 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 43 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() 48 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore()
|
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 38 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 43 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() 48 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | distributed_kv_data_manager.cpp | 30 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 39 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 44 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() 49 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
H A D | mock_distributed_kv_data_manager.cpp | 42 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 77 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 82 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, std::shared_ptr<SingleKvStore> &k… in CloseKvStore() 87 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
H A D | mock_distributed_kv_data_manager.cpp | 34 Status DistributedKvDataManager::GetSingleKvStore(const Options &options, const AppId &appId, const… in GetSingleKvStore() 40 Status DistributedKvDataManager::CloseKvStore(const AppId &appId, const StoreId &storeId) in CloseKvStore() 48 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const st… in DeleteKvStore()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/ |
H A D | switch_adapter.cpp | 50 DistributedKv::AppId appID; in PutSwitch() 69 DistributedKv::AppId appID; in GetSwitch() 89 DistributedKv::AppId appID; in SubscribeSwitchData() 112 DistributedKv::AppId appID; in UnsubscribeSwitchData()
|