Lines Matching refs:ledCode
277 std::optional<int32_t> KeyLayoutMap::findScanCodeForLed(int32_t ledCode) const { in findScanCodeForLed()
279 if (led.ledCode == ledCode) { in findScanCodeForLed()
280 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d, scanCode=%d.", __func__, ledCode, scanCode); in findScanCodeForLed()
284 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d ~ Not found.", __func__, ledCode); in findScanCodeForLed()
288 std::optional<int32_t> KeyLayoutMap::findUsageCodeForLed(int32_t ledCode) const { in findUsageCodeForLed()
290 if (led.ledCode == ledCode) { in findUsageCodeForLed()
291 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d, usage=%x.", __func__, ledCode, usageCode); in findUsageCodeForLed()
295 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d ~ Not found.", __func__, ledCode); in findUsageCodeForLed()
547 std::optional<int> ledCode = InputEventLookup::getLedByLabel(ledCodeToken.c_str()); in parseLed() local
548 if (!ledCode) { in parseLed()
555 *code, *ledCode); in parseLed()
558 led.ledCode = *ledCode; in parseLed()