Searched refs:ledCode (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/input/ |
D | KeyLayoutMap.cpp | 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() [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
|