Home
last modified time | relevance | path

Searched refs:ledCode (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/input/
DKeyLayoutMap.cpp217 status_t KeyLayoutMap::findScanCodeForLed(int32_t ledCode, int32_t* outScanCode) const { in findScanCodeForLed() argument
220 if (mLedsByScanCode.valueAt(i).ledCode == ledCode) { in findScanCodeForLed()
223 ALOGD("findScanCodeForLed: ledCode=%d, scanCode=%d.", ledCode, *outScanCode); in findScanCodeForLed()
229 ALOGD("findScanCodeForLed: ledCode=%d ~ Not found.", ledCode); in findScanCodeForLed()
234 status_t KeyLayoutMap::findUsageCodeForLed(int32_t ledCode, int32_t* outUsageCode) const { in findUsageCodeForLed() argument
237 if (mLedsByUsageCode.valueAt(i).ledCode == ledCode) { in findUsageCodeForLed()
240 ALOGD("findUsageForLed: ledCode=%d, usage=%x.", ledCode, *outUsageCode); in findUsageCodeForLed()
246 ALOGD("findUsageForLed: ledCode=%d ~ Not found.", ledCode); in findUsageCodeForLed()
497 int32_t ledCode = InputEventLookup::getLedByLabel(ledCodeToken.string()); in parseLed() local
498 if (ledCode < 0) { in parseLed()
[all …]
/frameworks/native/include/input/
DKeyLayoutMap.h76 status_t findScanCodeForLed(int32_t ledCode, int32_t* outScanCode) const;
77 status_t findUsageCodeForLed(int32_t ledCode, int32_t* outUsageCode) const;
93 int32_t ledCode; member