• Home
  • Raw
  • Download

Lines Matching defs:deviceId

918 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis,  in getAbsoluteAxisInfo()
937 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
946 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty()
955 bool EventHub::hasMscEvent(int32_t deviceId, int mscEvent) const { in hasMscEvent()
964 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
978 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
999 int32_t EventHub::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
1039 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
1053 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue()
1075 bool EventHub::markSupportedKeyCodes(int32_t deviceId, const std::vector<int32_t>& keyCodes, in markSupportedKeyCodes()
1091 void EventHub::addKeyRemapping(int32_t deviceId, int32_t fromKeyCode, int32_t toKeyCode) const { in addKeyRemapping()
1103 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t metaState, in mapKey()
1150 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
1165 base::Result<std::pair<InputDeviceSensorType, int32_t>> EventHub::mapSensor(int32_t deviceId, in mapSensor()
1199 std::optional<RawBatteryInfo> EventHub::getRawBatteryInfo(int32_t deviceId, in getRawBatteryInfo()
1236 std::optional<RawLightInfo> EventHub::getRawLightInfo(int32_t deviceId, int32_t lightId) const { in getRawLightInfo()
1249 std::optional<int32_t> EventHub::getLightBrightness(int32_t deviceId, int32_t lightId) const { in getLightBrightness()
1266 int32_t deviceId, int32_t lightId) const { in getLightIntensities()
1305 void EventHub::setLightBrightness(int32_t deviceId, int32_t lightId, int32_t brightness) { in setLightBrightness()
1322 void EventHub::setLightIntensities(int32_t deviceId, int32_t lightId, in setLightIntensities()
1377 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode()
1386 bool EventHub::hasKeyCode(int32_t deviceId, int32_t keyCode) const { in hasKeyCode()
1395 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { in hasLed()
1405 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState()
1413 void EventHub::getVirtualKeyDefinitions(int32_t deviceId, in getVirtualKeyDefinitions()
1436 bool EventHub::setKeyboardLayoutOverlay(int32_t deviceId, std::shared_ptr<KeyCharacterMap> map) { in setKeyboardLayoutOverlay()
1552 void EventHub::vibrate(int32_t deviceId, const VibrationElement& element) { in vibrate()
1587 void EventHub::cancelVibrate(int32_t deviceId) { in cancelVibrate()
1679 std::optional<int32_t> EventHub::getBatteryCapacity(int32_t deviceId, int32_t batteryId) const { in getBatteryCapacity()
1720 std::optional<int32_t> EventHub::getBatteryStatus(int32_t deviceId, int32_t batteryId) const { in getBatteryStatus()
1781 const int32_t deviceId = (device->id == mBuiltInKeyboardId) in getEvents() local
1806 const int32_t deviceId = device->id == mBuiltInKeyboardId ? 0 : device->id; in getEvents() local
1920 const int32_t deviceId = device->id == mBuiltInKeyboardId ? 0 : device->id; in getEvents() local
2019 std::vector<TouchVideoFrame> EventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames()
2244 int32_t deviceId = mNextDeviceId++; in openDeviceLocked() local
2507 status_t EventHub::enableDevice(int32_t deviceId) { in enableDevice()
2529 status_t EventHub::disableDevice(int32_t deviceId) { in disableDevice()