Description:fix code style

Match-id-367e11f0b17000d1487945d1f290ab2c5f5e0ec8
This commit is contained in:
xxxx
2022-07-18 14:24:11 +08:00
parent 6405214d25
commit 6b3d4be414
17 changed files with 100 additions and 106 deletions
@@ -60,8 +60,8 @@ private:
void StopInputMonitorDeviceThread();
// The event queue.
static const int INPUT_DEVICR_BUFFER_SIZE = 32;
InputDeviceEvent mEventBuffer[INPUT_DEVICR_BUFFER_SIZE] = {};
static const int INPUT_DEVICE_BUFFER_SIZE = 32;
InputDeviceEvent mEventBuffer[INPUT_DEVICE_BUFFER_SIZE] = {};
std::mutex operationMutex_;
std::unique_ptr<InputHub> inputHub_;
};
@@ -166,7 +166,7 @@ void *DistributedInputHandler::CollectEventsThread(void *param)
void DistributedInputHandler::StartInputMonitorDeviceThread(const std::string deviceId)
{
while (isCollectingEvents_) {
size_t count = inputHub_->StartCollectInputHandler(mEventBuffer, INPUT_DEVICR_BUFFER_SIZE);
size_t count = inputHub_->StartCollectInputHandler(mEventBuffer, INPUT_DEVICE_BUFFER_SIZE);
if (count > 0) {
DHLOGI("Count: %zu", count);
for (size_t iCnt = 0; iCnt < count; iCnt++) {