Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.h1104 void initializeLedState(LedState& ledState, int32_t led);
1106 void updateLedStateForModifier(LedState& ledState, int32_t led,
DInputReader.cpp2233 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument
2234 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()
2235 ledState.on = false; in initializeLedState()
2247 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, in updateLedStateForModifier() argument
2249 if (ledState.avail) { in updateLedStateForModifier()
2251 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()
2253 ledState.on = desiredState; in updateLedStateForModifier()