Lines Matching defs:deviceId
255 void addDisabledDevice(int32_t deviceId) { mConfig.disabledDevices.insert(deviceId); } in addDisabledDevice()
257 void removeDisabledDevice(int32_t deviceId) { mConfig.disabledDevices.erase(deviceId); } in removeDisabledDevice()
259 void setPointerController(int32_t deviceId, const sp<FakePointerController>& controller) { in setPointerController()
321 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) { in obtainPointerController()
409 void addDevice(int32_t deviceId, const std::string& name, uint32_t classes) { in addDevice()
417 void removeDevice(int32_t deviceId) { in removeDevice()
424 bool isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled()
433 status_t enableDevice(int32_t deviceId) { in enableDevice()
448 status_t disableDevice(int32_t deviceId) { in disableDevice()
465 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) { in addConfigurationProperty()
470 void addConfigurationMap(int32_t deviceId, const PropertyMap* configuration) { in addConfigurationMap()
475 void addAbsoluteAxis(int32_t deviceId, int axis, in addAbsoluteAxis()
489 void addRelativeAxis(int32_t deviceId, int32_t axis) { in addRelativeAxis()
494 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { in setKeyCodeState()
499 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { in setScanCodeState()
504 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { in setSwitchState()
509 void setAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t value) { in setAbsoluteAxisValue()
514 void addKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, in addKey()
528 void addLed(int32_t deviceId, int32_t led, bool initialState) { in addLed()
533 bool getLedState(int32_t deviceId, int32_t led) { in getLedState()
542 void addVirtualKeyDefinition(int32_t deviceId, const VirtualKeyDefinition& definition) { in addVirtualKeyDefinition()
547 void enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, in enqueueEvent()
599 virtual void getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration()
606 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo()
620 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
632 virtual status_t mapKey(int32_t deviceId, in mapKey()
690 virtual std::vector<TouchVideoFrame> getVideoFrames(int32_t deviceId) { in getVideoFrames()
700 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
711 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
722 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
733 virtual status_t getAbsoluteAxisValue(int32_t deviceId, int32_t axis, in getAbsoluteAxisValue()
747 virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes()
770 virtual bool hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode()
779 virtual bool hasLed(int32_t deviceId, int32_t led) const { in hasLed()
784 virtual void setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState()
798 virtual void getVirtualKeyDefinitions(int32_t deviceId, in getVirtualKeyDefinitions()
916 virtual sp<PointerControllerInterface> getPointerController(int32_t deviceId) { in getPointerController()
1144 std::shared_ptr<InputDevice> newDevice(int32_t deviceId, const std::string& name, in newDevice()
1389 void disableDevice(int32_t deviceId) { in disableDevice()
1394 void enableDevice(int32_t deviceId) { in enableDevice()
1399 FakeInputMapper& addDeviceWithFakeInputMapper(int32_t deviceId, int32_t eventHubId, in addDeviceWithFakeInputMapper()
1437 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1474 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1507 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1540 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1573 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1625 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1646 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local
1679 constexpr int32_t deviceId = 1; in TEST_F() local
1694 constexpr int32_t deviceId = END_RESERVED_ID + 1000; in TEST_F() local