/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | kvstore_device_listener.cpp | 24 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 D | kvstore_device_listener.h | 21 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 D | kvstore_meta_manager.h | 45 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 D | kvstore_meta_manager.cpp | 52 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 D | kvstore_data_service.h | 105 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 D | kvstore_data_service.cpp | 118 …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 D | security.h | 31 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 D | security.cpp | 48 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 D | softbus_adapter.h | 36 namespace AppDistributedKv { 37 class SoftBusAdapter : public AppDistributedKv::AppDeviceChangeListener { 85 void OnDeviceChanged(const AppDistributedKv::DeviceInfo &info, 86 const AppDistributedKv::DeviceChangeType &type) const override;
|
H A D | communication_provider.cpp | 20 namespace AppDistributedKv { namespace
|
H A D | ark_communication_provider.h | 25 namespace AppDistributedKv {
|
H A D | data_buffer.cpp | 19 namespace AppDistributedKv { namespace
|
H A D | data_buffer.h | 23 namespace AppDistributedKv {
|
H A D | app_pipe_handler.h | 34 namespace AppDistributedKv {
|
H A D | app_pipe_mgr.h | 27 namespace AppDistributedKv {
|
H A D | ark_communication_provider.cpp | 24 namespace AppDistributedKv { namespace
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/communicator/ |
H A D | device_manager_adapter.h | 48 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 D | communicator_context.h | 30 using DevChangeListener = OHOS::AppDistributedKv::AppDeviceChangeListener; 31 using DeviceInfo = OHOS::AppDistributedKv::DeviceInfo;
|
H A D | app_data_change_listener.h | 21 namespace AppDistributedKv {
|
H A D | idevice_query.h | 21 namespace AppDistributedKv {
|
H A D | app_device_change_listener.h | 21 namespace AppDistributedKv {
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/unittest/ |
H A D | softbus_adapter_standard_test.cpp | 29 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 D | communication_provider_impl_test.cpp | 29 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 D | softbusadapter_fuzzer.cpp | 25 using namespace OHOS::AppDistributedKv;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | delegate_mgr_callback.h | 22 namespace AppDistributedKv {
|