Home
last modified time | relevance | path

Searched refs:TYPE_INVALID (Results 1 – 16 of 16) sorted by relevance

/base/msdp/device_status/services/native/test/unittest/src/
Ddevicestatus_agent_test.cpp29 Type DeviceStatusAgentTest::g_agentTest = Type::TYPE_INVALID;
177 int32_t ret = g_agent1->SubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT,
182 ret = g_agent1->UnsubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT);
202 ret = g_agent1->UnsubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT);
219 int32_t ret = g_agent1->SubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT,
227 ret = g_agent1->UnsubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT);
263 int32_t ret = g_agent1->SubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT,
274 ret = g_agent1->UnsubscribeAgentEvent(Type::TYPE_INVALID, ActivityEvent::ENTER_EXIT);
Ddevicestatus_service_test.cpp37 Type g_type { Type::TYPE_INVALID };
355 invalidData.type = Type::TYPE_INVALID;
/base/msdp/device_status/interfaces/innerkits/include/
Dstationary_data.h26 TYPE_INVALID = -1, enumerator
80 Type type { TYPE_INVALID };
Di_devicestatus_storage.h29 Type type { TYPE_INVALID };
/base/msdp/device_status/frameworks/native/src/
Ddevicestatus_agent.cpp47 if (!(type > Type::TYPE_INVALID && type <= Type::TYPE_LID_OPEN) || in SubscribeAgentEvent()
59 …if (type > Type::TYPE_INVALID && type <= Type::TYPE_LID_OPEN && event > ActivityEvent::EVENT_INVAL… in UnsubscribeAgentEvent()
Ddevicestatus_client.cpp121 if (type > Type::TYPE_INVALID && type <= Type::TYPE_LID_OPEN) { in SubscribeCallback()
141 if ((type < TYPE_INVALID) || (type > TYPE_MAX)) { in UnsubscribeCallback()
157 devicestatusData.type = Type::TYPE_INVALID; in GetDeviceStatusData()
167 if (type > Type::TYPE_INVALID in GetDeviceStatusData()
/base/msdp/device_status/services/native/src/
Ddevicestatus_manager.cpp56 if ((type <= TYPE_INVALID) || (type >= TYPE_MAX)) { in GetLatestDeviceStatusData()
78 if (type == Type::TYPE_INVALID) { in Enable()
181 if ((type_ <= TYPE_INVALID) || (type_ >= TYPE_MAX)) { in Subscribe()
227 if ((type <= TYPE_INVALID) || (type >= TYPE_MAX)) { in Unsubscribe()
/base/msdp/device_status/libs/include/algorithm/
Dalgo_base.h61 Data reportInfo_ { TYPE_INVALID,
/base/msdp/device_status/test/systemtest/src/
Ddevicestatus_client_test.cpp81 Type type = Type::TYPE_INVALID;
269 Type type = Type::TYPE_INVALID;
274 EXPECT_TRUE(data.type == Type::TYPE_INVALID &&
293 EXPECT_TRUE(data.type == Type::TYPE_INVALID &&
/base/msdp/device_status/libs/include/
Ddevicestatus_algorithm_manager.h65 Type algoType_ { TYPE_INVALID };
/base/msdp/device_status/libs/test/unittest/src/
Ddevice_status_algorithm_test.cpp141 bool ret = still.Init(TYPE_INVALID);
161 bool ret = horizontal.Init(TYPE_INVALID);
179 bool ret = vertical.Init(TYPE_INVALID);
356 bool result = g_manager->StartSensor(Type::TYPE_INVALID);
411 bool result = g_manager->StartSensor(Type::TYPE_INVALID);
413 g_manager->GetSensorTypeId(Type::TYPE_INVALID);
Ddevice_status_mock_test.cpp152 EXPECT_TRUE(g_testMock->Enable(Type::TYPE_INVALID) == ERR_OK);
153 EXPECT_TRUE(g_testMock->Disable(Type::TYPE_INVALID) == ERR_OK);
358 EXPECT_FALSE(g_testMock->NotifyMsdpImpl({TYPE_INVALID, VALUE_INVALID}) == ERR_OK);
/base/msdp/device_status/services/native/include/
Ddevicestatus_dumper.h45 Type type { TYPE_INVALID };
/base/msdp/device_status/services/native/test/moduletest/src/
Ddevicestatus_module_test.cpp38 Type DeviceStatusModuleTest::g_moduleTest = Type::TYPE_INVALID;
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_napi.cpp133 return Type::TYPE_INVALID; in ConvertTypeToInt()
459 if (devicestatusData.type == Type::TYPE_INVALID) { in GetDeviceStatus()
/base/msdp/device_status/services/communication/client/src/
Ddevicestatus_srv_proxy.cpp98 devicestatusData.type = Type::TYPE_INVALID; in GetCache()