Home
last modified time | relevance | path

Searched refs:stationaryMgr (Results 1 - 2 of 2) sorted by relevance

/base/msdp/device_status/test/unittest/interfaces/src/
H A Ddevicestatus_client_test.cpp60 auto stationaryMgr = StationaryManager::GetInstance(); in HWTEST_F() local
63 int32_t result = stationaryMgr->SubscribeCallback(Type::TYPE_VERTICAL_POSITION, activityEvent, latency, cb); in HWTEST_F()
65 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_VERTICAL_POSITION, activityEvent, cb); in HWTEST_F()
68 result = stationaryMgr->SubscribeCallback(Type::TYPE_INVALID, activityEvent, latency, cb); in HWTEST_F()
70 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_INVALID, activityEvent, cb); in HWTEST_F()
73 result = stationaryMgr->SubscribeCallback(Type::TYPE_ABSOLUTE_STILL, activityEvent, latency, cb); in HWTEST_F()
75 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_ABSOLUTE_STILL, activityEvent, cb); in HWTEST_F()
78 result = stationaryMgr->SubscribeCallback(Type::TYPE_HORIZONTAL_POSITION, activityEvent, latency, cb); in HWTEST_F()
80 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_HORIZONTAL_POSITION, activityEvent, cb); in HWTEST_F()
83 result = stationaryMgr in HWTEST_F()
102 auto stationaryMgr = StationaryManager::GetInstance(); HWTEST_F() local
[all...]
/base/msdp/device_status/test/fuzztest/devicestatusclient_fuzzer/
H A Ddevicestatusclient_fuzzer.cpp44 auto stationaryMgr = StationaryManager::GetInstance();
65 stationaryMgr->SubscribeCallback(static_cast<Type>(type[0]), ActivityEvent::ENTER_EXIT, ReportLatencyNs::LONG, cb); in TestSubscribeCallback()
74 stationaryMgr->GetDeviceStatusData(type); in TestGetDevicestatusData()
84 stationaryMgr->UnsubscribeCallback(type, ActivityEvent::ENTER_EXIT, cb); in TestUnSubscribeCallback()

Completed in 2 milliseconds