Description:annoy string and fix code style

Match-id-b35226016f866ae3aae1dba6b3a328f717b64e50
This commit is contained in:
xxxx
2022-05-30 09:12:32 +08:00
parent 79fcf6c23d
commit 8271d9cf8a
30 changed files with 215 additions and 268 deletions
@@ -139,7 +139,7 @@ bool VirtualDevice::SetUp()
if (ioctl(fd_, UI_GET_SYSNAME(sizeof(sysfs_device_name)), sysfs_device_name) < 0) {
DHLOGE("Unable to get input device name: %s", __func__);
}
DHLOGI("get input device name: %s", sysfs_device_name);
DHLOGI("get input device name: %s", GetAnonyString(sysfs_device_name).c_str());
return true;
}
@@ -170,7 +170,7 @@ bool VirtualDevice::InjectInputEvent(const input_event& event)
void VirtualDevice::SetNetWorkId(const std::string netWorkId)
{
DHLOGI("SetNetWorkId %s\n", netWorkId.c_str());
DHLOGI("SetNetWorkId %s\n", GetAnonyString(netWorkId).c_str());
netWorkId_.append(netWorkId);
}
} // namespace DistributedInput