Home
last modified time | relevance | path

Searched refs:InputDeviceInfo (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/device/
Dinput_service_proxy_browsertest.cc17 typedef InputServiceLinux::InputDeviceInfo InputDeviceInfo; typedef
31 void AddDeviceForTesting(const InputDeviceInfo& info) { AddDevice(info); } in AddDeviceForTesting()
44 virtual void OnInputDeviceAdded(const InputDeviceInfo& info) OVERRIDE { in OnInputDeviceAdded()
58 void WaitForDeviceAddition(const InputDeviceInfo& info) { in WaitForDeviceAddition()
83 static bool Equals(const InputDeviceInfo& lhs, const InputDeviceInfo& rhs) { in Equals()
95 InputDeviceInfo expected_info_;
110 void AddDevice(const InputDeviceInfo& device) { in AddDevice()
123 const std::vector<InputDeviceInfo>& devices) { in OnGetDevices()
130 const InputDeviceInfo& info) { in OnGetKeyboard()
139 const InputDeviceInfo& /* info */) { in OnGetMouse() argument
[all …]
Dinput_service_proxy.h23 typedef device::InputServiceLinux::InputDeviceInfo InputDeviceInfo; typedef
28 virtual void OnInputDeviceAdded(const InputDeviceInfo& info) = 0;
32 typedef base::Callback<void(const std::vector<InputDeviceInfo>& devices)>
34 typedef base::Callback<void(bool success, const InputDeviceInfo& info)>
53 void OnDeviceAdded(const device::InputServiceLinux::InputDeviceInfo& info);
Dinput_service_proxy.cc14 typedef device::InputServiceLinux::InputDeviceInfo InputDeviceInfo; typedef
36 std::vector<InputDeviceInfo> GetDevices() { in GetDevices()
38 std::vector<InputDeviceInfo> devices; in GetDevices()
48 InputDeviceInfo info; in GetDeviceInfo()
58 const InputServiceLinux::InputDeviceInfo& info) OVERRIDE { in OnInputDeviceAdded()
147 const InputServiceLinux::InputDeviceInfo& info) { in OnDeviceAdded()
/external/chromium_org/device/hid/
Dinput_service_linux.cc51 InputServiceLinux::InputDeviceInfo::Type GetDeviceType(udev_device* device) { in GetDeviceType()
54 return InputServiceLinux::InputDeviceInfo::TYPE_BLUETOOTH; in GetDeviceType()
57 return InputServiceLinux::InputDeviceInfo::TYPE_USB; in GetDeviceType()
59 return InputServiceLinux::InputDeviceInfo::TYPE_SERIO; in GetDeviceType()
60 return InputServiceLinux::InputDeviceInfo::TYPE_UNKNOWN; in GetDeviceType()
111 InputDeviceInfo info; in OnDeviceAdded()
118 info.subsystem = InputServiceLinux::InputDeviceInfo::SUBSYSTEM_HID; in OnDeviceAdded()
121 info.subsystem = InputServiceLinux::InputDeviceInfo::SUBSYSTEM_INPUT; in OnDeviceAdded()
152 InputServiceLinux::InputDeviceInfo::InputDeviceInfo() in InputDeviceInfo() function in device::InputServiceLinux::InputDeviceInfo
203 void InputServiceLinux::GetDevices(std::vector<InputDeviceInfo>* devices) { in GetDevices()
[all …]
Dinput_service_linux.h27 struct InputDeviceInfo { struct
31 InputDeviceInfo(); argument
51 virtual void OnInputDeviceAdded(const InputDeviceInfo& info) = 0; argument
65 void GetDevices(std::vector<InputDeviceInfo>* devices);
70 bool GetDeviceInfo(const std::string& id, InputDeviceInfo* info) const;
78 void AddDevice(const InputDeviceInfo& info);
86 typedef base::hash_map<std::string, InputDeviceInfo> DeviceMap;
Dinput_service_linux_unittest.cc18 std::vector<InputServiceLinux::InputDeviceInfo> devices; in TEST()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dhid_detection_screen_handler.h40 typedef device::InputServiceLinux::InputDeviceInfo InputDeviceInfo; typedef
81 virtual void OnInputDeviceAdded(const InputDeviceInfo& info) OVERRIDE;
114 void ProcessConnectedDevicesList(const std::vector<InputDeviceInfo>& devices);
124 const std::vector<InputDeviceInfo>& devices);
128 void OnGetInputDevicesList(const std::vector<InputDeviceInfo>& devices);
209 InputDeviceInfo::Type pointing_device_connect_type_;
215 InputDeviceInfo::Type keyboard_device_connect_type_;
Dhid_detection_screen_handler.cc55 bool DeviceIsPointing(const device::InputServiceLinux::InputDeviceInfo& info) { in DeviceIsPointing()
76 pointing_device_connect_type_(InputDeviceInfo::TYPE_UNKNOWN), in HIDDetectionScreenHandler()
78 keyboard_device_connect_type_(InputDeviceInfo::TYPE_UNKNOWN), in HIDDetectionScreenHandler()
193 !(pointing_device_connect_type_ == InputDeviceInfo::TYPE_BLUETOOTH || in HandleOnContinue()
194 keyboard_device_connect_type_ == InputDeviceInfo::TYPE_BLUETOOTH) && in HandleOnContinue()
346 const InputDeviceInfo& info) { in OnInputDeviceAdded()
370 keyboard_device_connect_type_ = InputDeviceInfo::TYPE_UNKNOWN; in OnInputDeviceRemoved()
376 pointing_device_connect_type_ = InputDeviceInfo::TYPE_UNKNOWN; in OnInputDeviceRemoved()
417 const std::vector<InputDeviceInfo>& devices) { in ProcessConnectedDevicesList()
418 for (std::vector<InputDeviceInfo>::const_iterator it = devices.begin(); in ProcessConnectedDevicesList()
[all …]
/external/chromium_org/chrome/browser/extensions/api/audio/
Daudio_service_chromeos.cc19 using api::audio::InputDeviceInfo;
119 linked_ptr<InputDeviceInfo> info(new InputDeviceInfo()); in StartGetInfo()
Daudio_service.h15 typedef std::vector<linked_ptr<api::audio::InputDeviceInfo> > InputInfo;
Daudio_service_linux.cc18 using api::audio::InputDeviceInfo;
/external/chromium_org/chrome/common/extensions/api/
Daudio.idl23 dictionary InputDeviceInfo {
48 InputDeviceInfo[] inputInfo);