/frameworks/base/data/keyboards/ |
D | Vendor_0b05_Product_4500.kl | 39 led 0x00 CONTROLLER_1 40 led 0x01 CONTROLLER_2 41 led 0x02 CONTROLLER_3 42 led 0x03 CONTROLLER_4
|
D | Vendor_1532_Product_0900.kl | 45 led 0x00 CONTROLLER_1 46 led 0x01 CONTROLLER_2 47 led 0x02 CONTROLLER_3 48 led 0x03 CONTROLLER_4
|
D | Vendor_18d1_Product_2c40.kl | 35 led 0x00 CONTROLLER_1 36 led 0x01 CONTROLLER_2 37 led 0x02 CONTROLLER_3 38 led 0x03 CONTROLLER_4
|
D | Vendor_046d_Product_b501.kl | 62 led 0x00 CONTROLLER_1 63 led 0x01 CONTROLLER_2 64 led 0x02 CONTROLLER_3 65 led 0x03 CONTROLLER_4
|
D | Generic.kl | 437 led 0x00 NUM_LOCK 438 led 0x01 CAPS_LOCK 439 led 0x02 SCROLL_LOCK 440 led 0x03 COMPOSE 441 led 0x04 KANA 442 led 0x05 SLEEP 443 led 0x06 SUSPEND 444 led 0x07 MUTE 445 led 0x08 MISC 446 led 0x09 MAIL [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.h | 96 void initializeLedState(LedState& ledState, int32_t led); 97 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);
|
D | KeyboardInputMapper.cpp | 416 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument 417 ledState.avail = getDeviceContext().hasLed(led); in initializeLedState() 447 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, int32_t led, in updateLedStateForModifier() argument 452 getDeviceContext().setLedState(led, desiredState); in updateLedStateForModifier()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 317 virtual bool hasLed(int32_t deviceId, int32_t led) const = 0; 318 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0; 492 bool hasLed(int32_t deviceId, int32_t led) const override final; 493 void setLedState(int32_t deviceId, int32_t led, bool on) override final; 607 status_t mapLed(int32_t led, int32_t* outScanCode) const; 608 void setLedStateLocked(int32_t led, bool on);
|
D | InputDevice.h | 326 inline bool hasLed(int32_t led) const { return mEventHub->hasLed(mId, led); } in hasLed() argument 327 inline void setLedState(int32_t led, bool on) { return mEventHub->setLedState(mId, led, on); } in setLedState() argument
|
/frameworks/native/libs/input/ |
D | InputEventLabels.cpp | 21 #define DEFINE_LED(led) { #led, ALED_##led } argument
|
D | KeyLayoutMap.cpp | 509 Led led; in parseLed() local 510 led.ledCode = ledCode; in parseLed() 511 map.add(code, led); in parseLed()
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 520 void EventHub::Device::setLedStateLocked(int32_t led, bool on) { in setLedStateLocked() argument 522 if (hasValidFd() && mapLed(led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked() 543 status_t EventHub::Device::mapLed(int32_t led, int32_t* outScanCode) const { in mapLed() argument 549 if (keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) { in mapLed() 1187 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { in hasLed() 1191 if (device != nullptr && device->mapLed(led, &sc) == NO_ERROR) { in hasLed() 1197 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState() argument 1201 device->setLedStateLocked(led, on); in setLedState()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 1955 uint8_t led = entry.data.u8[i]; in enforceRequestPermissions() local 1957 switch(led) { in enforceRequestPermissions()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 565 void addLed(int32_t deviceId, int32_t led, bool initialState) { in addLed() argument 567 device->leds.add(led, initialState); in addLed() 599 bool getLedState(int32_t deviceId, int32_t led) { in getLedState() argument 601 return device->leds.valueFor(led); in getLedState() 860 bool hasLed(int32_t deviceId, int32_t led) const override { in hasLed() 862 return device && device->leds.indexOfKey(led) >= 0; in hasLed() 865 void setLedState(int32_t deviceId, int32_t led, bool on) override { in setLedState() argument 868 ssize_t index = device->leds.indexOfKey(led); in setLedState() 870 device->leds.replaceValueAt(led, on); in setLedState() 874 "was not present. led=" << led; in setLedState()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 2101 uint8_t led = entry.data.u8[i]; in updateRequest() local 2103 switch(led) { in updateRequest()
|