Lines Matching refs:deviceId
74 int32_t deviceId;
179 virtual uint32_t getDeviceClasses(int32_t deviceId) const = 0;
181 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const = 0;
183 virtual int32_t getDeviceControllerNumber(int32_t deviceId) const = 0;
185 virtual void getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const = 0;
187 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis,
190 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const = 0;
192 virtual bool hasInputProperty(int32_t deviceId, int property) const = 0;
194 virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
197 virtual status_t mapAxis(int32_t deviceId, int32_t scanCode,
221 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
222 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0;
223 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const = 0;
224 virtual status_t getAbsoluteAxisValue(int32_t deviceId, int32_t axis,
230 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
233 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const = 0;
234 virtual bool hasLed(int32_t deviceId, int32_t led) const = 0;
235 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0;
237 virtual void getVirtualKeyDefinitions(int32_t deviceId,
240 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const = 0;
241 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) = 0;
244 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0;
245 virtual void cancelVibrate(int32_t deviceId) = 0;
265 virtual uint32_t getDeviceClasses(int32_t deviceId) const;
267 virtual InputDeviceIdentifier getDeviceIdentifier(int32_t deviceId) const;
269 virtual int32_t getDeviceControllerNumber(int32_t deviceId) const;
271 virtual void getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const;
273 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis,
276 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const;
278 virtual bool hasInputProperty(int32_t deviceId, int property) const;
280 virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
283 virtual status_t mapAxis(int32_t deviceId, int32_t scanCode,
288 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
289 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const;
290 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const;
291 virtual status_t getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const;
293 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
298 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const;
299 virtual bool hasLed(int32_t deviceId, int32_t led) const;
300 virtual void setLedState(int32_t deviceId, int32_t led, bool on);
302 virtual void getVirtualKeyDefinitions(int32_t deviceId,
305 virtual sp<KeyCharacterMap> getKeyCharacterMap(int32_t deviceId) const;
306 virtual bool setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map);
308 virtual void vibrate(int32_t deviceId, nsecs_t duration);
309 virtual void cancelVibrate(int32_t deviceId);
383 Device* getDeviceLocked(int32_t deviceId) const;