Home
last modified time | relevance | path

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

/device/google/trout/hal/vehicle/2.0/
DDefaultVehicleHalServer.cpp217 auto keyEvent = getValuePool()->obtain(VehiclePropertyType::INT32_VEC, 3); in createHwInputKeyProp() local
218 keyEvent->prop = toInt(VehicleProperty::HW_KEY_INPUT); in createHwInputKeyProp()
219 keyEvent->areaId = 0; in createHwInputKeyProp()
220 keyEvent->timestamp = elapsedRealtimeNano(); in createHwInputKeyProp()
221 keyEvent->status = VehiclePropertyStatus::AVAILABLE; in createHwInputKeyProp()
222 keyEvent->value.int32Values[0] = toInt(action); in createHwInputKeyProp()
223 keyEvent->value.int32Values[1] = keyCode; in createHwInputKeyProp()
224 keyEvent->value.int32Values[2] = targetDisplay; in createHwInputKeyProp()
225 return keyEvent; in createHwInputKeyProp()