Conditionally Revert "put back the unused virtuals in Vector<>"

These symbols are needed for MR2 camera.tegra and other blobs,
but they conflict with KK blobs so define it for devices that
need it by setting COMMON_GLOBAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS

Change-Id: I59e66074526f013918a29c3afc10e52b9812778c
Fix a bunch of small system/core bugs.

Missing frees in:
  adb/file_sync_client.c
  fastboot/fastboot.c
  libsparse/output_file.c

Missing closedirs in:
  adb/file_sync_service.c
  cpio/mkbootfs.c
  libcutils/dir_hash.c

Potential buffer overrun in:
  gpttool/gpttool.c

Incorrect NULL check in:
  libsparse/backed_block.c

Bug: https://code.google.com/p/android/issues/detail?id=61564
Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
system/core: Add MSM specific formats, devices and channels.

- Add support for MSM formats, devices and channels

Change-Id: I0f613e25ae7e5bafa126ab582551807711ab9db6
(cherry picked from commit 3535a5eafaa700ae58d44c43c4491f3fbb90e060)
(cherry picked from commit d725c0473b0c7f51d157b8722131ed7b45f878d7)
(cherry picked from commit 8d43d24d91e7bcc8daef40c6e9f99fd8dcd23266)
audio: Fix submix output device check.

-AUDIO_DEVICE_IN_FM_RX is incorrectly matched
 with AUDIO_DEVICE_OUT_REMOTE_SUBMIX because
 method audio_is_remote_submix_device is not
 checking for AUDIO_DEVICE_BIT_IN.

-Fix is to add AUDIO_DEVICE_BIT_IN while doing
 the check for AUDIO_DEVICE_OUT_REMOTE_SUBMIX.

CRs-Fixed: 566837

Change-Id: I47ca3bd151da848a444d4bcf83a56e866f20d4f7
(cherry picked from commit f8573b76d6c03e1a9eff34e093056a810f898509)
(cherry picked from commit ae982a488c68e0cd06622e7ee7a31fddb1f4d131)
audio: remove QCOM_FM_ENABLED ifdefs

* CM is using a different ifdef here that enables these by default.

Change-Id: I07249d1c3555446238d846901481b13634967aab
Add back DurationTimer to fix camera.msm8960 load

cannot locate symbol "_ZN7android13DurationTimer5startEv"

Change-Id: I29d3283b644c773e6d798d17b2ef139a470048da
audio: Expose a few things previously under QCOM_HARDWARE

 * Allow everyone to use a few of these device types without
   setting QCOM_HARDWARE. Currently there is qute a mess due
   to the way QC is handling branches, when we figure out a
   good solution this can be reverted.

Change-Id: I75447a21ad1cf26e9683d2eac488a1b1238e5adb
Fix the build for devices with ICS/MR0_AUDIO_BLOB

The previous commit only exposed AUDIO_DEVICE_IN_ANC_HEADSET
and AUDIO_DEVICE_IN_PROXY if not defining this.

Change-Id: I7b644bb022f32fd978a85e003a97cbf27a17c809
sdcard: fix usage for -w and -s options

Change-Id: I0ef4299d2ccf99a18970f02d4bd4e7c28dc5335e
init: Fix queue_all_property_triggers with nonexistent properties

Don't queue actions for "on property=*" if the property does not exist.
This fixes these errors on boot:

    init: property 'sys.powerctl' doesn't exist while
    expanding '${sys.powerctl}'
    init: powerctl: cannot expand '${sys.powerctl}

Change-Id: I3bd354d73a860f856be5df2c654f940445f9efd9
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
healtd: Send messages to Android log, not the kernel log

If the system doesn't have the expected battery configuration then
healthd is quite noisy with it's log messages during boot and every
minute thereafter. Rather than have this spamming the kernels serial
console, direct this instead to Android's logging system.

This also has the effect of working around a serial port bug on
vexpress: https://bugs.launchpad.net/linaro-android/+bug/1254738
but reducing mostly spurious serial port noise is a good aim in itself.

Conflicts:

	healthd/BatteryMonitor.cpp

Change-Id: I0eff5637009cfee47891a9c2363145634cbf0ae1
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Revert "healtd: Send messages to Android log, not the kernel log"

This reverts commit c6e1f7bba8ec809f218b71c85200bfc813f119e5.

Change-Id: Id867c46988751b197ef5f94f72e19a472e87ebc8
STE Multimedia Support (3/4)

Change-Id: I7c0693517007585bc5c6f0de0ef37a9e60f27519
Log a warning on services that lack SELinux domains.

Sample output on flo:
<3>[    7.270568] init: Warning!  Service irsc_util needs a SELinux domain defined; please fix!
<3>[    8.290832] init: Warning!  Service bootanim needs a SELinux domain defined; please fix!

Change-Id: If5514b188517917d58ee81c446af563b0443be45
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Fix shutdown/reboot bug for u8500 devices

This should fix issues reported here:
http://forum.xda-developers.com/showpost.php?p=51314505&postcount=121
http://forum.xda-developers.com/showpost.php?p=51314582&postcount=122

Change-Id: Ida3089569058abb96a097a1041cbe61747c8d63a
charger: implement custom backlight path

-In venturi, the lcd driver is not regstered as a
ledclass_dev. The static path stops charger from
raising and lowering the brightness.

Change-Id: Ic305278e7fb453edfc92e7ed22a37c5d7db519d7
add gitnore and git-review

Change-Id: Iba10b0180b8eefd08bd88141b34d3d7155041d78
Merge "charger: implement custom backlight path" into pac-4.4
Fix build with gcc-4.8+ and unused-parameter error

Change-Id: I8f4fbe0d030b3292de70ea9a4f2e0a8cbe2d7359
Signed-off-by: Paul Beeler <sparksco@gmail.com>