Lines Matching refs:dhId

275             DHLOGI("Find mouse BTN_MOUSE UP state that not down effective at sink side, dhId: %{public}s",
594 void InputHub::IncreaseLogTimes(const std::string& dhId)
596 if (logTimesMap_.find(dhId) != logTimesMap_.end() && logTimesMap_[dhId] >= INT32_MAX - 1) {
597 logTimesMap_[dhId] = 0;
599 logTimesMap_[dhId]++;
603 bool InputHub::IsNeedPrintLog(const std::string& dhId) const
605 return logTimesMap_.find(dhId) == logTimesMap_.end() || logTimesMap_.at(dhId) <= MAX_LOG_TIMES;
669 DHLOGI("QueryEventInfo: devName: %{public}s, dhId: %{public}s!", device->identifier.name.c_str(),
802 DHLOGI("The device has abs info, devName: %{public}s, dhId: %{public}s!",
1206 void InputHub::SaveAffectDhId(bool isEnable, const std::string &dhId, AffectDhIds &affDhIds)
1209 affDhIds.sharingDhIds.push_back(dhId);
1211 affDhIds.noSharingDhIds.push_back(dhId);
1238 for (auto dhId : dhIds) {
1239 DHLOGI("SetSharingDevices dhId: %{public}s, size: %{public}zu, enabled: %{public}d",
1240 GetAnonyString(dhId).c_str(), devices_.size(), enabled);
1241 sharedDHIds_[dhId] = enabled;
1243 DHLOGI("deviceName %{public}s ,dhId: %{public}s ", device->identifier.name.c_str(),
1245 if (device->identifier.descriptor == dhId) {
1276 for (const auto &dhId : dhIds) {
1284 if ((device->identifier.descriptor == dhId) && ((device->classes & INPUT_DEVICE_CLASS_CURSOR) != 0 ||
1287 sharedMouseDhId = dhId;
1300 for (const auto &dhId : dhIds) {
1308 if ((device->identifier.descriptor == dhId) &&
1310 sharedKeyboardDhIds.push_back(dhId);
1343 for (auto dhId : dhidsVec) {
1346 if (device->identifier.descriptor == dhId) {
1347 datas.insert(std::pair<int32_t, std::string>(device->fd, dhId));
1356 for (const auto &[dhId, isShared] : sharedDHIds_) {
1357 DHLOGI("the dhId: %{public}s, isShared: %{public}d", GetAnonyString(dhId).c_str(), isShared);
1531 DHLOGI("Find Pressed key: %{public}d, device path: %{public}s, dhId: %{public}s", keyCode, dev->path.c_str(),