OSDN Git Service

Add input HAL methods for getting device properties.
authorTim Kilbourn <tkilbourn@google.com>
Mon, 6 Apr 2015 20:49:40 +0000 (13:49 -0700)
committerTim Kilbourn <tkilbourn@google.com>
Thu, 16 Apr 2015 20:21:39 +0000 (13:21 -0700)
commit6fa82480aeb702ca60bc20d5c8df3c4a62904e3b
treefd192f04871fa0a8848cf4b09e181001e5948d48
parent7771e6c52188dae295524088e577b0db64869b17
Add input HAL methods for getting device properties.

A property map holds the collection of the properties for a given
device identifier. HAL modules allocate and release these property maps
to control the lifetime of the data. The host will typically open and
read the corresponding idc file on allocation, and release these
resources when it is freed.

Change-Id: Ia13ec7b7abf1a79eeed87dc744c174a37f1fb8a9
include/hardware/input.h
modules/input/evdev/InputHost.cpp
modules/input/evdev/InputHost.h