Home
last modified time | relevance | path

Searched refs:led (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/data/keyboards/
DVendor_0b05_Product_4500.kl39 led 0x00 CONTROLLER_1
40 led 0x01 CONTROLLER_2
41 led 0x02 CONTROLLER_3
42 led 0x03 CONTROLLER_4
DVendor_1532_Product_0900.kl39 led 0x00 CONTROLLER_1
40 led 0x01 CONTROLLER_2
41 led 0x02 CONTROLLER_3
42 led 0x03 CONTROLLER_4
DVendor_18d1_Product_2c40.kl35 led 0x00 CONTROLLER_1
36 led 0x01 CONTROLLER_2
37 led 0x02 CONTROLLER_3
38 led 0x03 CONTROLLER_4
DVendor_046d_Product_b501.kl62 led 0x00 CONTROLLER_1
63 led 0x01 CONTROLLER_2
64 led 0x02 CONTROLLER_3
65 led 0x03 CONTROLLER_4
DGeneric.kl434 led 0x00 NUM_LOCK
435 led 0x01 CAPS_LOCK
436 led 0x02 SCROLL_LOCK
437 led 0x03 COMPOSE
438 led 0x04 KANA
439 led 0x05 SLEEP
440 led 0x06 SUSPEND
441 led 0x07 MUTE
442 led 0x08 MISC
443 led 0x09 MAIL
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h225 virtual bool hasLed(int32_t deviceId, int32_t led) const = 0;
226 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0;
299 virtual bool hasLed(int32_t deviceId, int32_t led) const;
300 virtual void setLedState(int32_t deviceId, int32_t led, bool on);
425 status_t mapLed(Device* device, int32_t led, int32_t* outScanCode) const;
426 void setLedStateLocked(Device* device, int32_t led, bool on);
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h92 void initializeLedState(LedState& ledState, int32_t led);
94 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);
DKeyboardInputMapper.cpp390 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument
391 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()
401 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, int32_t led, in updateLedStateForModifier() argument
406 getEventHub()->setLedState(getDeviceId(), led, desiredState); in updateLedStateForModifier()
/frameworks/native/include/input/
DInputEventLabels.h25 #define DEFINE_LED(led) { #led, ALED_##led } argument
/frameworks/native/libs/input/
DKeyLayoutMap.cpp443 Led led; in parseLed() local
444 led.ledCode = ledCode; in parseLed()
445 map.add(code, led); in parseLed()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp596 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { in hasLed()
600 if (device && mapLed(device, led, &sc) == NO_ERROR) { in hasLed()
608 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState() argument
611 setLedStateLocked(device, led, on); in setLedState()
614 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { in setLedStateLocked() argument
616 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()
1706 status_t EventHub::mapLed(Device* device, int32_t led, int32_t* outScanCode) const { in mapLed() argument
1712 if (device->keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) { in mapLed()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp481 void addLed(int32_t deviceId, int32_t led, bool initialState) { in addLed() argument
483 device->leds.add(led, initialState); in addLed()
486 bool getLedState(int32_t deviceId, int32_t led) { in getLedState() argument
488 return device->leds.valueFor(led); in getLedState()
723 virtual bool hasLed(int32_t deviceId, int32_t led) const { in hasLed()
725 return device && device->leds.indexOfKey(led) >= 0; in hasLed()
728 virtual void setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState() argument
731 ssize_t index = device->leds.indexOfKey(led); in setLedState()
733 device->leds.replaceValueAt(led, on); in setLedState()
737 "was not present. led=" << led; in setLedState()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp2061 uint8_t led = entry.data.u8[i]; in enforceRequestPermissions() local
2063 switch(led) { in enforceRequestPermissions()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2077 uint8_t led = entry.data.u8[i]; in updateRequest() local
2079 switch(led) { in updateRequest()