#include "ui/events/ozone/evdev/imposter_checker_evdev.h"
#include <map>
#include "base/functional/callback_forward.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "third_party/re2/src/re2/re2.h"
#include "ui/events/ozone/evdev/imposter_checker_evdev_state.h"
#include "ui/events/ozone/features.h"
namespace ui {
namespace {
std::string StandardizedPhys(const std::string& phys_path) { … }
}
std::vector<int> ImposterCheckerEvdev::GetIdsOnSamePhys(
const std::string& phys_path) { … }
bool ImposterCheckerEvdev::IsSuspectedKeyboardImposter(
EventConverterEvdev* converter,
bool shared_phys) { … }
bool ImposterCheckerEvdev::IsSuspectedMouseImposter(
EventConverterEvdev* converter,
bool shared_phys) { … }
std::vector<int> ImposterCheckerEvdev::OnDeviceAdded(
EventConverterEvdev* converter) { … }
bool ImposterCheckerEvdev::FlagSuspectedImposter(
EventConverterEvdev* converter) { … }
std::vector<int> ImposterCheckerEvdev::OnDeviceRemoved(
EventConverterEvdev* converter) { … }
ImposterCheckerEvdev::ImposterCheckerEvdev()
: … { … }
ImposterCheckerEvdev::~ImposterCheckerEvdev() = default;
}