Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:led

532 bool EventHub::hasLed(int32_t deviceId, int32_t led) const {
536 if (device && mapLed(device, led, &sc) == NO_ERROR) {
544 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) {
547 setLedStateLocked(device, led, on);
550 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) {
552 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) {
1587 status_t EventHub::mapLed(Device* device, int32_t led, int32_t* outScanCode) const {
1593 if(device->keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) {