Home
last modified time | relevance | path

Searched refs:AddObserver (Results 1 – 20 of 20) sorted by relevance

/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/
Ddsoftbus_adapter.cpp33 void DSoftbusAdapter::AddObserver(std::shared_ptr<IDSoftbusObserver> observer) in AddObserver() function in OHOS::Msdp::DeviceStatus::DSoftbusAdapter
35 DSoftbusAdapterImpl::GetInstance()->AddObserver(observer); in AddObserver()
Ddsoftbus_adapter_impl.cpp90 void DSoftbusAdapterImpl::AddObserver(std::shared_ptr<IDSoftbusObserver> observer) in AddObserver() function in OHOS::Msdp::DeviceStatus::DSoftbusAdapterImpl
/base/msdp/device_status/intention/adapters/ddp_adapter/src/
Dddp_adapter.cpp33 void DDPAdapter::AddObserver(std::shared_ptr<IDeviceProfileObserver> observer) in AddObserver() function in OHOS::Msdp::DeviceStatus::DDPAdapter
36 ddp_->AddObserver(observer); in AddObserver()
Dddp_adapter_impl.cpp62 void DDPAdapterImpl::AddObserver(std::shared_ptr<IDeviceProfileObserver> observer) in AddObserver() function in OHOS::Msdp::DeviceStatus::DDPAdapterImpl
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/include/
Ddsoftbus_adapter.h35 void AddObserver(std::shared_ptr<IDSoftbusObserver> observer) override;
Ddsoftbus_adapter_impl.h75 void AddObserver(std::shared_ptr<IDSoftbusObserver> observer) override;
/base/msdp/device_status/intention/prototype/include/
Di_dsoftbus_adapter.h47 virtual void AddObserver(std::shared_ptr<IDSoftbusObserver> observer) = 0;
Di_ddp_adapter.h38 virtual void AddObserver(std::shared_ptr<IDeviceProfileObserver> observer) = 0;
Di_cooperate.h50 virtual void AddObserver(std::shared_ptr<ICooperateObserver> observer) = 0;
/base/msdp/device_status/intention/adapters/ddp_adapter/include/
Dddp_adapter.h32 void AddObserver(std::shared_ptr<IDeviceProfileObserver> observer) override;
Dddp_adapter_impl.h70 void AddObserver(std::shared_ptr<IDeviceProfileObserver> observer) override;
/base/msdp/device_status/intention/cooperate/plugin/include/
Dcooperate.h36 void AddObserver(std::shared_ptr<ICooperateObserver> observer) override;
Dcooperate_context.h48 void AddObserver(std::shared_ptr<ICooperateObserver> observer);
Dstate_machine.h57 void AddObserver(Context &context, const CooperateEvent &event);
/base/msdp/device_status/intention/adapters/test/unittest/src/
Ddsoftbus_adapter_test.cpp165 ASSERT_NO_FATAL_FAILURE(dSoftbusAdapter.AddObserver(observer));
182 ASSERT_NO_FATAL_FAILURE(dSoftbusAdapter.AddObserver(observer));
/base/msdp/device_status/intention/cooperate/plugin/src/input_event_transmission/
Dinput_event_builder.cpp54 env_->GetDSoftbus().AddObserver(observer_); in Enable()
/base/msdp/device_status/intention/cooperate/plugin/src/
Dstate_machine.cpp62 AddHandler(CooperateEventType::ADD_OBSERVER, &StateMachine::AddObserver); in StateMachine()
122 void StateMachine::AddObserver(Context &context, const CooperateEvent &event) in AddObserver() function in OHOS::Msdp::DeviceStatus::Cooperate::StateMachine
125 context.AddObserver(notice.observer); in AddObserver()
Dcooperate_context.cpp159 void Context::AddObserver(std::shared_ptr<ICooperateObserver> observer) in AddObserver() function in OHOS::Msdp::DeviceStatus::Cooperate::Context
223 env_->GetDP().AddObserver(dpObserver_); in EnableDDP()
Dcooperate.cpp49 void Cooperate::AddObserver(std::shared_ptr<ICooperateObserver> observer) in AddObserver() function in OHOS::Msdp::DeviceStatus::Cooperate::Cooperate
Ddsoftbus_handler.cpp58 env_->GetDSoftbus().AddObserver(observer_); in DSoftbusHandler()