Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp464 std::string deviceTypeString = deviceContext.getDeviceTypeAssociation().value_or(""); in computeDeviceType() local
465 if (deviceTypeString.empty()) { in computeDeviceType()
466 deviceTypeString = in computeDeviceType()
469 if (deviceTypeString == "touchScreen") { in computeDeviceType()
471 } else if (deviceTypeString == "touchNavigation") { in computeDeviceType()
473 } else if (deviceTypeString == "pointer") { in computeDeviceType()
475 } else if (deviceTypeString != "default" && deviceTypeString != "") { in computeDeviceType()
476 ALOGW("Invalid value for touch.deviceType: '%s'", deviceTypeString.c_str()); in computeDeviceType()