Home
last modified time | relevance | path

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

/ohos5.0/base/msdp/device_status/test/unittest/interfaces/src/
H A Ddevicestatus_client_test.cpp60 auto stationaryMgr = StationaryManager::GetInstance(); variable
70 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_INVALID, activityEvent, cb);
85 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_LID_OPEN, activityEvent, cb);
90 result = stationaryMgr->UnsubscribeCallback(Type::TYPE_MAX, activityEvent, cb);
102 auto stationaryMgr = StationaryManager::GetInstance(); variable
107 Data data = stationaryMgr->GetDeviceStatusData(type);
111 data = stationaryMgr->GetDeviceStatusData(type);
115 data = stationaryMgr->GetDeviceStatusData(type);
119 data = stationaryMgr->GetDeviceStatusData(type);
123 data = stationaryMgr->GetDeviceStatusData(type);
[all …]
/ohos5.0/base/msdp/device_status/test/fuzztest/devicestatusclient_fuzzer/
H A Ddevicestatusclient_fuzzer.cpp44 auto stationaryMgr = StationaryManager::GetInstance(); variable
65stationaryMgr->SubscribeCallback(static_cast<Type>(type[0]), ActivityEvent::ENTER_EXIT, ReportLate… in TestSubscribeCallback()
74 stationaryMgr->GetDeviceStatusData(type); in TestGetDevicestatusData()
84 stationaryMgr->UnsubscribeCallback(type, ActivityEvent::ENTER_EXIT, cb); in TestUnSubscribeCallback()