Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyLayoutMap.cpp243 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseKey() local
245 if (codeToken == "usage") { in parseKey()
248 codeToken = mTokenizer->nextToken(WHITESPACE); in parseKey()
252 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); in parseKey()
255 mapUsage ? "usage" : "scan code", codeToken.string()); in parseKey()
261 mapUsage ? "usage" : "scan code", codeToken.string()); in parseKey()
407 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseLed() local
409 if (codeToken == "usage") { in parseLed()
412 codeToken = mTokenizer->nextToken(WHITESPACE); in parseLed()
415 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); in parseLed()
[all …]
DKeyCharacterMap.cpp858 String8 codeToken = mTokenizer->nextToken(WHITESPACE); in parseMapKey() local
860 if (codeToken == "usage") { in parseMapKey()
863 codeToken = mTokenizer->nextToken(WHITESPACE); in parseMapKey()
867 int32_t code = int32_t(strtol(codeToken.string(), &end, 0)); in parseMapKey()
870 mapUsage ? "usage" : "scan code", codeToken.string()); in parseMapKey()
877 mapUsage ? "usage" : "scan code", codeToken.string()); in parseMapKey()