Searched refs:DeviceStatusAgent (Results 1 – 6 of 6) sorted by relevance
27 class DeviceStatusAgent : public std::enable_shared_from_this<DeviceStatusAgent> {29 DeviceStatusAgent() {}; in DeviceStatusAgent() function30 ~DeviceStatusAgent() {}; in ~DeviceStatusAgent()40 … explicit DeviceStatusAgentCallback(std::shared_ptr<DeviceStatusAgent> agent) : agent_(agent) {}; in DeviceStatusAgentCallback()45 std::weak_ptr<DeviceStatusAgent> agent_;49 std::shared_ptr<DeviceStatusAgent::DeviceStatusAgentEvent> agentEvent);
30 void DeviceStatusAgent::DeviceStatusAgentCallback::OnDeviceStatusChanged( in OnDeviceStatusChanged()35 std::shared_ptr<DeviceStatusAgent> agent = agent_.lock(); in OnDeviceStatusChanged()41 int32_t DeviceStatusAgent::SubscribeAgentEvent(Type type, in SubscribeAgentEvent()44 std::shared_ptr<DeviceStatusAgent::DeviceStatusAgentEvent> agentEvent) in SubscribeAgentEvent()58 int32_t DeviceStatusAgent::UnsubscribeAgentEvent(Type type, ActivityEvent event) in UnsubscribeAgentEvent()69 void DeviceStatusAgent::RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latenc… in RegisterServiceEvent()77 void DeviceStatusAgent::UnRegisterServiceEvent(Type type, ActivityEvent event) in UnRegisterServiceEvent()
35 class DeviceStatusAgentListenerMockFirstClient : public DeviceStatusAgent::DeviceStatusAgentEvent {40 class DeviceStatusAgentListenerMockSecondClient : public DeviceStatusAgent::DeviceStatusAgentEvent {
28 std::shared_ptr<DeviceStatusAgent> g_agent1;29 std::shared_ptr<DeviceStatusAgent> g_agent2;40 g_agent1 = std::make_shared<DeviceStatusAgent>(); in SetUp()41 g_agent2 = std::make_shared<DeviceStatusAgent>(); in SetUp()273 …sptr<IRemoteDevStaCallback> callback = new (std::nothrow) DeviceStatusAgent::DeviceStatusAgentCall…
32 static std::shared_ptr<DeviceStatusAgent> agent_ = std::make_shared<DeviceStatusAgent>();
50 class DeviceStatusAgentClient : public DeviceStatusAgent::DeviceStatusAgentEvent {