Lines Matching defs:code
251 int32_t code = int32_t(strtol(codeToken.string(), &end, 0));
254 mapUsage ? "usage" : "scan code", codeToken.string());
258 if (map.indexOfKey(code) >= 0) {
260 mapUsage ? "usage" : "scan code", codeToken.string());
268 ALOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(),
294 ALOGD("Parsed key %s: code=%d, keyCode=%d, flags=0x%08x.",
295 mapUsage ? "usage" : "scan code", code, keyCode, flags);
300 map.add(code, key);
309 ALOGE("%s: Expected axis scan code number, got '%s'.", mTokenizer->getLocation().string(),
314 ALOGE("%s: Duplicate entry for axis scan code '%s'.", mTokenizer->getLocation().string(),
414 int32_t code = int32_t(strtol(codeToken.string(), &end, 0));
417 mapUsage ? "usage" : "scan code", codeToken.string());
422 if (map.indexOfKey(code) >= 0) {
424 mapUsage ? "usage" : "scan code", codeToken.string());
432 ALOGE("%s: Expected LED code label, got '%s'.", mTokenizer->getLocation().string(),
438 ALOGD("Parsed led %s: code=%d, ledCode=%d.",
439 mapUsage ? "usage" : "scan code", code, ledCode);
444 map.add(code, led);