Searched refs:DistributedInputCollector (Results 1 – 4 of 4) sorted by relevance
39 DistributedInputCollector::DistributedInputCollector() : mEventBuffer{}, collectThreadID_(-1), in DistributedInputCollector() function in OHOS::DistributedHardware::DistributedInput::DistributedInputCollector45 DistributedInputCollector::~DistributedInputCollector() in ~DistributedInputCollector()50 DistributedInputCollector &DistributedInputCollector::GetInstance() in GetInstance()52 static DistributedInputCollector instance; in GetInstance()56 void DistributedInputCollector::PreInit() in PreInit()82 bool DistributedInputCollector::InitCollectEventsThread() in InitCollectEventsThread()107 DistributedInputCollector *pThis = reinterpret_cast<DistributedInputCollector *>(param); in CollectEventsThread()154 void DistributedInputCollector::StopCollectEventsThread() in StopCollectEventsThread()212 void DistributedInputCollector::StopCollectionThread() in StopCollectionThread()247 bool DistributedInputCollector::IsAllDevicesStoped() in IsAllDevicesStoped()[all …]
32 DistributedInputCollector::GetInstance().StopCollectionThread(); in TearDown()78 DistributedInputCollector::GetInstance().GetDeviceInfoByType(inputTypes, deviceInfo);79 DistributedInputCollector::GetInstance().GetMouseNodePath(dhIds, mouseNodePath, dhid);80 bool isStop = DistributedInputCollector::GetInstance().IsAllDevicesStoped();86 DistributedInputCollector::GetInstance().inputHub_ = nullptr;92 DistributedInputCollector::GetInstance().GetDeviceInfoByType(inputTypes, deviceInfo);93 DistributedInputCollector::GetInstance().GetMouseNodePath(dhIds, mouseNodePath, dhid);94 bool isStop = DistributedInputCollector::GetInstance().IsAllDevicesStoped();111 DistributedInputCollector::GetInstance().ReportDhIdSharingState(affectDhIds);112 DistributedInputCollector::GetInstance().sharingDhIdListeners_.clear();[all …]
234 DistributedInputCollector::GetInstance().ReportDhIdSharingState(affDhIds); in OnStartRemoteInput()268 DistributedInputCollector::GetInstance().ReportDhIdSharingState(stopIndeedOnes); in OnStopRemoteInput()316 DistributedInputCollector::GetInstance().ReportDhIdSharingState(affDhIds); in OnStartRemoteInputDhid()338 if (DistributedInputCollector::GetInstance().IsAllDevicesStoped()) { in OnStopRemoteInputDhid()390 DistributedInputCollector::GetInstance().ReportDhIdSharingState(affDhIds); in OnRelayStartDhidRemoteInput()412 if (DistributedInputCollector::GetInstance().IsAllDevicesStoped()) { in OnRelayStopDhidRemoteInput()475 DistributedInputCollector::GetInstance().ReportDhIdSharingState(affDhIds); in OnRelayStartTypeRemoteInput()670 DistributedInputCollector::GetInstance().PreInit(); in Init()673 int result = DistributedInputCollector::GetInstance().StartCollectionThread( in Init()697 DistributedInputCollector::GetInstance().StopCollectionThread(); in Release()[all …]
38 class DistributedInputCollector {40 static DistributedInputCollector &GetInstance();61 DistributedInputCollector();62 ~DistributedInputCollector();