修改告警

Signed-off-by: li-tiangang4 <litiangang4@huawei.com>
This commit is contained in:
li-tiangang4
2024-08-21 14:28:27 +08:00
parent 407a3c76a6
commit 1fa09bc580
19 changed files with 287 additions and 122 deletions
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
* Copyright (c) 2021-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -60,14 +60,14 @@ private:
pthread_t collectThreadID_;
bool isCollectingEvents_;
bool isStartCollectEventThread;
bool isStartCollectEventThread_;
static void *CollectEventsThread(void *param);
void StartInputMonitorDeviceThread();
void StopInputMonitorDeviceThread();
// The event queue.
static const int inputDeviceBufferSize = 32;
InputDeviceEvent mEventBuffer[inputDeviceBufferSize] = {};
static const int inputDeviceBufferSize_ = 32;
InputDeviceEvent mEventBuffer_[inputDeviceBufferSize_] = {};
std::mutex operationMutex_;
std::unique_ptr<InputHub> inputHub_;
};