Home
last modified time | relevance | path

Searched refs:ledState (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/
DInputReader.h916 void initializeLedState(LedState& ledState, int32_t led);
918 void updateLedStateForModifier(LedState& ledState, int32_t led,
DInputReader.cpp2498 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument
2499 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()
2500 ledState.on = false; in initializeLedState()
2512 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, in updateLedStateForModifier() argument
2514 if (ledState.avail) { in updateLedStateForModifier()
2516 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()
2518 ledState.on = desiredState; in updateLedStateForModifier()