livedisplay: Moving native API to OSS

 * This code implements the LiveDisplay native interface
   and includes support for Qualcomm's SDM as well as the
   previous MM interface. Communication with these backends
   is handled via the vendor-supplied libraries, and is
   decoupled by using dynamic loading.
 * This is useful for devices which have had a full display
   calibration performed using vendor-supplied tools such
   as QDCM.
 * This code was developed by Steve Kondik with assistance from
   Scott Mertz. Various bits of CYNGN proprietary IP have been removed.

   - Refactor CMHardwareService and LiveDisplayService to
     eliminate useless abstractions and consolidate code.
   - This is an awful lot of code which is loaded into
     system_server. It would be wise to refactor it into
     a daemon process or standalone service. The Java portion
     does need to remain memory resident in order to respond
     to sensor events and changes in ambient conditions without
     risk of being OOM killed.

Change-Id: I906a2f3aa1ba3e32881c6d49587f424e094521d6
18 files changed
tree: 7c74b942e634fc948f576f8739531c000ca5113e
  1. cmhw/
  2. lights/
  3. livedisplay/