Use project pathmap

Change-Id: Ib22d852cbb3a65a8ea0bca611d683fe2c4aec84b
omx: Add nBitsPerSample parameter for FLAC

 * Necessary to convey this information from the extractor.

Change-Id: Ic6f689df9d5f840280bf0410021f6d6ee04a48d5
Add 3GB dalvik heap and hwui memory

Should be used on devices with 3gb's of ram (Bacon, LG G3, etc)
Change-Id: I5833a19ea77b99009fc9f9c7c2a967b0dde06b77
native: Make setting the buffers size conditional to qualcomm hardware

This is a partial ifdef of CAF commit d6eecf50919312c1dd778c5742de72bb98f98f1a.

Some devices might have proprietary bits that link against libgui/libui components
and are not expecting the ABI mismatch introduced in that commit.

Change-Id: I0670990fcb903ee750d4d2925175b9588cf35f45
sensorservice: add fusion sensors if all events are supported

- Fusion sensors depend on gyro, mag field, and accelerometer
  events in order to emulate these sensors.  Don't create
  them unless ALL of the real hardware devices required exist.

Change-Id: I1bce167a52c2dfc56a07450f858b01b78c39b7fe
Merge remote-tracking branch 'cm-11.0/cm-11.0' into cm-11.0
sensorservice: Register orientation sensor if HAL doesn't provide it

 * In KitKat and on most Samsung devices, the orientation sensor is
   not getting registered, and makes the compass non-working in a lot
   of apps. This patch enables the sensor for such devices.

Change-Id: I0ebba72ec4aa2cfa02c21a6daff0c356c6793fd0
Merge branch 'cm-11.0' into stable/cm-11.0