Lines Matching refs:Device
324 struct Device { struct
325 Device* next; argument
358 Device(int fd, int32_t id, const String8& path, const InputDeviceIdentifier& identifier); argument
359 ~Device();
375 void addDeviceLocked(Device* device); argument
379 void closeDeviceLocked(Device* device);
386 Device* getDeviceByDescriptorLocked(String8& descriptor) const;
387 Device* getDeviceLocked(int32_t deviceId) const;
388 Device* getDeviceByPathLocked(const char* devicePath) const;
390 bool hasKeycodeLocked(Device* device, int keycode) const;
392 void loadConfigurationLocked(Device* device);
393 status_t loadVirtualKeyMapLocked(Device* device);
394 status_t loadKeyMapLocked(Device* device);
396 bool isExternalDeviceLocked(Device* device);
398 int32_t getNextControllerNumberLocked(Device* device);
399 void releaseControllerNumberLocked(Device* device);
400 void setLedForController(Device* device);
402 status_t mapLed(Device* device, int32_t led, int32_t* outScanCode) const;
403 void setLedStateLocked(Device* device, int32_t led, bool on);
421 KeyedVector<int32_t, Device*> mDevices;
423 Device *mOpeningDevices;
424 Device *mClosingDevices;