Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8
bootanimation: allow preload the bootanimation

This patch implements one simple performance enhancement, which
might benefit devices. It is completely opt-in by setting
the following variable.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

Conflicts:
        cmds/bootanimation/BootAnimation.cpp

Signed-off-by: Andreas Blaesius <skate4life@gmx.de>
- picked for L, original commit only applyed partially: https://github.com/CyanogenMod/android_frameworks_base/commit/e6b54405aa70d7503a114d9c90ef7518abdd7133 >

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5
bootanimation: allow using RGB565

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Signed-off-by: Andreas Blaesius <skate4life@gmx.de>
- changes for Android 5.0

Change-Id: Icbd6754cc608693c007ac92428e4aa711c32a59c
Frameworks: slim up sounds and update (1/2)

Till now we modified always the aosp make files etc. Was complicated to maintain.
Hence we add now an own slim folder and own AllAudioSlim.mk to mainatin it completely
ourselves.

As well reduce size etc etc

Change-Id: I0d60a0abe0935f1000016bc5d69b4f4e36616941
Merge "Frameworks: slim up sounds and update (1/2)" into lp5.0
WiFi : Fix to DHCP to static IP configuration problem

WiFiStateMachine shall update the IP address configuration to
the kernel through NetworkManagementService.This notification
from the kernel is again sent to the connectivity service
through the NetLinkStateTracker and WiFiStateMachine.
Thus ,if the interface is down during this IP address
reconfiguration (for the case of DHCP to Static IP configuration),
Connectivity service shall be notified with old IP address ,NULL(0)
IP address(signifying interface down) and the latest IP address.
This notification was done by updating the IP address using a local
variable , and hence the second notification on the interface down
is over ridden by the last notification , resulting in missed
interface down notification to the connectivity service.This
resulted in failed data connection when IP address is changed from
DHCP to IP on the fly.
Hence ,this gerrit enhances the design and also pass the updated
IP address to the connectivity service.

Change-Id: I50cd0502c5f8259b1325ed68de870b592d96ae22
CRs-Fixed: 750277
Merge "WiFi : Fix to DHCP to static IP configuration problem" into lp5.0
Merge "bootanimation: allow preload the bootanimation" into lp5.0
Merge "bootanimation: allow using RGB565" into lp5.0
Merge remote-tracking branch 'slim/lp5.0' into theme