Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleHalServer.cpp226 auto keyEvent = getValuePool()->obtain(VehiclePropertyType::INT32_VEC, 3); in createHwInputKeyProp() local
227 keyEvent->prop = toInt(VehicleProperty::HW_KEY_INPUT); in createHwInputKeyProp()
228 keyEvent->areaId = 0; in createHwInputKeyProp()
229 keyEvent->timestamp = elapsedRealtimeNano(); in createHwInputKeyProp()
230 keyEvent->status = VehiclePropertyStatus::AVAILABLE; in createHwInputKeyProp()
231 keyEvent->value.int32Values[0] = toInt(action); in createHwInputKeyProp()
232 keyEvent->value.int32Values[1] = keyCode; in createHwInputKeyProp()
233 keyEvent->value.int32Values[2] = targetDisplay; in createHwInputKeyProp()
234 return keyEvent; in createHwInputKeyProp()