Lines Matching refs:ledCode
155 status_t KeyLayoutMap::findScanCodeForLed(int32_t ledCode, int32_t* outScanCode) const { in findScanCodeForLed() argument
158 if (mLedsByScanCode.valueAt(i).ledCode == ledCode) { in findScanCodeForLed()
161 ALOGD("findScanCodeForLed: ledCode=%d, scanCode=%d.", ledCode, *outScanCode); in findScanCodeForLed()
167 ALOGD("findScanCodeForLed: ledCode=%d ~ Not found.", ledCode); in findScanCodeForLed()
172 status_t KeyLayoutMap::findUsageCodeForLed(int32_t ledCode, int32_t* outUsageCode) const { in findUsageCodeForLed() argument
175 if (mLedsByUsageCode.valueAt(i).ledCode == ledCode) { in findUsageCodeForLed()
178 ALOGD("findUsageForLed: ledCode=%d, usage=%x.", ledCode, *outUsageCode); in findUsageCodeForLed()
184 ALOGD("findUsageForLed: ledCode=%d ~ Not found.", ledCode); in findUsageCodeForLed()
431 int32_t ledCode = getLedByLabel(ledCodeToken.string()); in parseLed() local
432 if (ledCode < 0) { in parseLed()
440 mapUsage ? "usage" : "scan code", code, ledCode); in parseLed()
444 led.ledCode = ledCode; in parseLed()