Searched refs:ledCode (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/input/ |
D | KeyLayoutMap.cpp | 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() [all …]
|
/frameworks/native/include/input/ |
D | KeyLayoutMap.h | 70 status_t findScanCodeForLed(int32_t ledCode, int32_t* outScanCode) const; 71 status_t findUsageCodeForLed(int32_t ledCode, int32_t* outUsageCode) const; 85 int32_t ledCode; member
|