Searched defs:ledState (Results 1 - 1 of 1) sorted by relevance

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

Completed in 206 milliseconds