Lines Matching refs:ledCode
154 status_t KeyLayoutMap::findScanCodeForLed(int32_t ledCode, int32_t* outScanCode) const { in findScanCodeForLed() argument
157 if (mLedsByScanCode.valueAt(i).ledCode == ledCode) { in findScanCodeForLed()
160 ALOGD("findScanCodeForLed: ledCode=%d, scanCode=%d.", ledCode, *outScanCode); in findScanCodeForLed()
166 ALOGD("findScanCodeForLed: ledCode=%d ~ Not found.", ledCode); in findScanCodeForLed()
171 status_t KeyLayoutMap::findUsageCodeForLed(int32_t ledCode, int32_t* outUsageCode) const { in findUsageCodeForLed() argument
174 if (mLedsByUsageCode.valueAt(i).ledCode == ledCode) { in findUsageCodeForLed()
177 ALOGD("findUsageForLed: ledCode=%d, usage=%x.", ledCode, *outUsageCode); in findUsageCodeForLed()
183 ALOGD("findUsageForLed: ledCode=%d ~ Not found.", ledCode); in findUsageCodeForLed()
430 int32_t ledCode = getLedByLabel(ledCodeToken.string()); in parseLed() local
431 if (ledCode < 0) { in parseLed()
439 mapUsage ? "usage" : "scan code", code, ledCode); in parseLed()
443 led.ledCode = ledCode; in parseLed()