Searched refs:deviceTypeString (Results 1 – 2 of 2) sorted by relevance
58 std::string deviceTypeString(int32_t type) { in deviceTypeString() function99 std::cout << "Type: " << deviceTypeString(type) << std::endl; in main()
475 std::string deviceTypeString = deviceContext.getDeviceTypeAssociation().value_or(""); in computeDeviceType() local476 if (deviceTypeString.empty()) { in computeDeviceType()477 deviceTypeString = in computeDeviceType()480 if (deviceTypeString == "touchScreen") { in computeDeviceType()482 } else if (deviceTypeString == "touchNavigation") { in computeDeviceType()484 } else if (deviceTypeString == "pointer") { in computeDeviceType()486 } else if (deviceTypeString != "default" && deviceTypeString != "") { in computeDeviceType()487 ALOGW("Invalid value for touch.deviceType: '%s'", deviceTypeString.c_str()); in computeDeviceType()