Home
last modified time | relevance | path

Searched refs:TYPE_LID_OPEN (Results 1 – 13 of 13) sorted by relevance

/base/msdp/device_status/test/fuzztest/devicestatusclient_fuzzer/
Ddevicestatusclient_fuzzer.cpp38 client_.SubscribeCallback(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, cb); in TestSubscribeCallback()
47 client_.GetDevicestatusData(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN); in TestGetDevicestatusData()
57 client_.UnSubscribeCallback(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, cb); in TestUnSubscribeCallback()
/base/msdp/device_status/services/native/test/unittest/src/
Ddevicestatus_agent_test.cpp71 …= agent1_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEvent);
75 agent1_->UnSubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN);
89 …= agent1_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEvent);
93 ret = agent1_->UnSubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN);
97 …ret = agent1_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEv…
101 agent1_->UnSubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN);
117 … agent1_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEvent1);
119 …ret = agent2_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEv…
124 agent1_->UnSubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN);
127 agent2_->UnSubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN);
[all …]
Ddevicestatus_client_test.cpp123 client.SubscribeCallback(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, callback);
141 client.UnSubscribeCallback(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, callback);
157 auto data = client.GetDevicestatusData(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN);
159 EXPECT_TRUE(data.type == DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN && \
213 client.SubscribeCallback(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, callback);
214 client.SubscribeCallback(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, callback);
Ddevicestatus_service_test.cpp119 …icestatusDataUtils::DevicestatusType type = DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN;
124 EXPECT_TRUE(data.type == DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN && \
/base/msdp/device_status/interfaces/innerkits/include/
Ddevicestatus_data_utils.h31 TYPE_LID_OPEN, enumerator
71 {DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, "TYPE_LID_OPEN"}
/base/msdp/device_status/test/fuzztest/devicestatusagent_fuzzer/
Ddevicestatusagent_fuzzer.cpp39 … agent_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEvent_); in TestSubscribeAgentEvent()
47 agent_->UnSubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN); in TestUnSubscribeAgentEvent()
54 … agent_->SubscribeAgentEvent(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN, agentEvent_); in TestSubscribeAgentEventIsNullptr()
/base/msdp/device_status/frameworks/native/src/
Ddevicestatus_agent.cpp48 && type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in SubscribeAgentEvent()
60 && type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in UnSubscribeAgentEvent()
Ddevicestatus_client.cpp109 && type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in SubscribeCallback()
126 && type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in UnSubscribeCallback()
147 && type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in GetDevicestatusData()
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp30 …std::vector<int32_t> (static_cast<int32_t>(DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN),
57 type >= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in DataInit()
Ddevicestatus_msdp_mock.cpp76 type >= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN) { in Enable()
187 i <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN; ++i) { in GetDeviceStatusData()
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_napi.cpp313 (type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN), "type is illegal"); in SubscribeDeviceStatus()
346 (type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN), "type is illegal"); in UnsubscribeDeviceStatus()
397 (type <= DevicestatusDataUtils::DevicestatusType::TYPE_LID_OPEN), "type is illegal"); in GetDeviceStatus()
/base/msdp/device_status/services/native/src/
Ddevicestatus_service.cpp108 type <= DevicestatusDataUtils::TYPE_LID_OPEN; in Dump()
Ddevicestatus_dumper.cpp197 case DevicestatusDataUtils::TYPE_LID_OPEN: { in GetStatusType()