Home
last modified time | relevance | path

Searched refs:AppDistributedKv (Results 1 – 25 of 47) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dkvstore_device_listener.cpp24 const AppDistributedKv::DeviceInfo &info, const AppDistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
26 if (type == AppDistributedKv::DeviceChangeType::DEVICE_ONLINE) { in OnDeviceChanged()
29 } else if (type == AppDistributedKv::DeviceChangeType::DEVICE_OFFLINE) { in OnDeviceChanged()
31 } else if (type == AppDistributedKv::DeviceChangeType::DEVICE_ONREADY) { in OnDeviceChanged()
37 void KvStoreDeviceListener::OnSessionReady(const AppDistributedKv::DeviceInfo &info, int32_t errCod… in OnSessionReady()
48 AppDistributedKv::ChangeLevelType KvStoreDeviceListener::GetChangeLevelType() const in GetChangeLevelType()
50 return AppDistributedKv::ChangeLevelType::MIN; in GetChangeLevelType()
H A Dkvstore_device_listener.h21 using AppDeviceChangeListener = AppDistributedKv::AppDeviceChangeListener;
27 …const AppDistributedKv::DeviceInfo &info, const AppDistributedKv::DeviceChangeType &type) const ov…
28 AppDistributedKv::ChangeLevelType GetChangeLevelType() const override;
29 … void OnSessionReady(const AppDistributedKv::DeviceInfo &info, int32_t errCode = 0) const override;
H A Dkvstore_meta_manager.h45 class MetaDeviceChangeListenerImpl : public AppDistributedKv::AppDeviceChangeListener {
46 void OnDeviceChanged(const AppDistributedKv::DeviceInfo &info,
47 const AppDistributedKv::DeviceChangeType &type) const override;
49 AppDistributedKv::ChangeLevelType GetChangeLevelType() const override;
113 class DBInfoDeviceChangeListenerImpl : public AppDistributedKv::AppDeviceChangeListener {
114 void OnDeviceChanged(const AppDistributedKv::DeviceInfo &info,
115 const AppDistributedKv::DeviceChangeType &type) const override;
117 AppDistributedKv::ChangeLevelType GetChangeLevelType() const override;
H A Dkvstore_meta_manager.cpp52 using Commu = AppDistributedKv::CommunicationProvider;
57 using namespace OHOS::AppDistributedKv;
93 if (status != AppDistributedKv::Status::SUCCESS) { in InitMetaListener()
106 [](const std::string &device, const AppDistributedKv::LevelInfo &levelInfo) { in InitBroadcast()
118 AppDistributedKv::LevelInfo level; in InitBroadcast()
404 const AppDistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
410 case AppDistributedKv::DeviceChangeType::DEVICE_OFFLINE: in OnDeviceChanged()
413 case AppDistributedKv::DeviceChangeType::DEVICE_ONLINE: in OnDeviceChanged()
424 AppDistributedKv::ChangeLevelType KvStoreMetaManager::MetaDeviceChangeListenerImpl::GetChangeLevelT… in GetChangeLevelType()
426 return AppDistributedKv::ChangeLevelType::LOW; in GetChangeLevelType()
[all …]
H A Dkvstore_data_service.h105 void SetCompatibleIdentify(const AppDistributedKv::DeviceInfo &info) const;
107 void OnDeviceOnline(const AppDistributedKv::DeviceInfo &info);
109 void OnDeviceOffline(const AppDistributedKv::DeviceInfo &info);
111 void OnDeviceOnReady(const AppDistributedKv::DeviceInfo &info);
113 void OnSessionReady(const AppDistributedKv::DeviceInfo &info);
H A Dkvstore_data_service.cpp118 …auto communicator = std::make_shared<AppDistributedKv::ProcessCommunicatorImpl>(RouteHeadHandlerIm… in Initialize()
123 AppDistributedKv::CommunicationProvider::GetInstance(); in Initialize()
575 void KvStoreDataService::SetCompatibleIdentify(const AppDistributedKv::DeviceInfo &info) const in SetCompatibleIdentify()
579 void KvStoreDataService::OnDeviceOnline(const AppDistributedKv::DeviceInfo &info) in OnDeviceOnline()
590 void KvStoreDataService::OnDeviceOffline(const AppDistributedKv::DeviceInfo &info) in OnDeviceOffline()
601 void KvStoreDataService::OnDeviceOnReady(const AppDistributedKv::DeviceInfo &info) in OnDeviceOnReady()
612 void KvStoreDataService::OnSessionReady(const AppDistributedKv::DeviceInfo &info) in OnSessionReady()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/
H A Dsecurity.h31 public AppDistributedKv::AppDeviceChangeListener {
56 void OnDeviceChanged(const AppDistributedKv::DeviceInfo &info,
57 const AppDistributedKv::DeviceChangeType &type) const override;
59 AppDistributedKv::ChangeLevelType GetChangeLevelType() const override;
H A Dsecurity.cpp48 AppDistributedKv::ChangeLevelType Security::GetChangeLevelType() const in GetChangeLevelType()
50 return AppDistributedKv::ChangeLevelType::LOW; in GetChangeLevelType()
136 void Security::OnDeviceChanged(const AppDistributedKv::DeviceInfo &info, in OnDeviceChanged()
137 const AppDistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
150 case AppDistributedKv::DeviceChangeType::DEVICE_OFFLINE: in OnDeviceChanged()
154 case AppDistributedKv::DeviceChangeType::DEVICE_ONLINE: in OnDeviceChanged()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Dsoftbus_adapter.h36 namespace AppDistributedKv {
37 class SoftBusAdapter : public AppDistributedKv::AppDeviceChangeListener {
85 void OnDeviceChanged(const AppDistributedKv::DeviceInfo &info,
86 const AppDistributedKv::DeviceChangeType &type) const override;
H A Dcommunication_provider.cpp20 namespace AppDistributedKv { namespace
H A Dark_communication_provider.h25 namespace AppDistributedKv {
H A Ddata_buffer.cpp19 namespace AppDistributedKv { namespace
H A Ddata_buffer.h23 namespace AppDistributedKv {
H A Dapp_pipe_handler.h34 namespace AppDistributedKv {
H A Dapp_pipe_mgr.h27 namespace AppDistributedKv {
H A Dark_communication_provider.cpp24 namespace AppDistributedKv { namespace
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/communicator/
H A Ddevice_manager_adapter.h48 using DeviceInfo = OHOS::AppDistributedKv::DeviceInfo;
49 using PipeInfo = OHOS::AppDistributedKv::PipeInfo;
50 using AppDeviceChangeListener = OHOS::AppDistributedKv::AppDeviceChangeListener;
92 … void SaveDeviceInfo(const DeviceInfo &deviceInfo, const AppDistributedKv::DeviceChangeType &type);
H A Dcommunicator_context.h30 using DevChangeListener = OHOS::AppDistributedKv::AppDeviceChangeListener;
31 using DeviceInfo = OHOS::AppDistributedKv::DeviceInfo;
H A Dapp_data_change_listener.h21 namespace AppDistributedKv {
H A Didevice_query.h21 namespace AppDistributedKv {
H A Dapp_device_change_listener.h21 namespace AppDistributedKv {
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/unittest/
H A Dsoftbus_adapter_standard_test.cpp29 using namespace OHOS::AppDistributedKv;
30 using DeviceInfo = OHOS::AppDistributedKv::DeviceInfo;
38 … void OnMessage(const OHOS::AppDistributedKv::DeviceInfo &info, const uint8_t *ptr, const int size,
42 void AppDataChangeListenerImpl::OnMessage(const OHOS::AppDistributedKv::DeviceInfo &info, in OnMessage()
H A Dcommunication_provider_impl_test.cpp29 using namespace OHOS::AppDistributedKv;
34 … void OnMessage(const OHOS::AppDistributedKv::DeviceInfo &info, const uint8_t *ptr, const int size,
37 void AppDataChangeListenerImpl::OnMessage(const OHOS::AppDistributedKv::DeviceInfo &info, in OnMessage()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/fuzztest/softbusadapter_fuzzer/
H A Dsoftbusadapter_fuzzer.cpp25 using namespace OHOS::AppDistributedKv;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Ddelegate_mgr_callback.h22 namespace AppDistributedKv {

12