Searched refs:ledCode (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/frameworks/native/libs/input/ |
H A D | KeyLayoutMap.cpp | 278 std::optional<int32_t> KeyLayoutMap::findScanCodeForLed(int32_t ledCode) const { in findScanCodeForLed() 280 if (led.ledCode == ledCode) { in findScanCodeForLed() 281 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d, scanCode=%d.", __func__, ledCode, scanCode); in findScanCodeForLed() 285 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d ~ Not found.", __func__, ledCode); in findScanCodeForLed() 289 std::optional<int32_t> KeyLayoutMap::findUsageCodeForLed(int32_t ledCode) const { in findUsageCodeForLed() 291 if (led.ledCode == ledCode) { in findUsageCodeForLed() 292 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d, usage=%x.", __func__, ledCode, usageCode); in findUsageCodeForLed() 296 ALOGD_IF(DEBUG_MAPPING, "%s: ledCode=%d ~ Not found.", __func__, ledCode); in findUsageCodeForLed() 548 std::optional<int> ledCode = InputEventLookup::getLedByLabel(ledCodeToken.c_str()); in parseLed() local 549 if (!ledCode) { in parseLed() [all …]
|
/aosp_15_r20/frameworks/native/include/input/ |
H A D | KeyLayoutMap.h | 74 std::optional<int32_t> findScanCodeForLed(int32_t ledCode) const; 76 std::optional<int32_t> findUsageCodeForLed(int32_t ledCode) const; 94 int32_t ledCode; member
|